If you want to use a style more than once on any given webpage then it must be put into a CSS class.
- Use an id to style a unique item on the page eg.page footer, main menu, search bar.
- Use a CSS Class as many times as necessary for formatting buttons, paragraphs, headings, textboxs, hyperlinks(anchors) etc.
Example of a CSS class:
.special { font-weight:bold; border:solid 1px black; }
Example of a CSS id:
#special { font-weight:bold; border:solid 1px black; }
Example use in HTML:
<span class='special'>some text</span> OR
<span id='special'>some text</span>
Your design was perfectly great and attractive. I like it very much.
ReplyDeletepakistan web development company
web design company pakistan
web development services pakistan