Style sheets are a way to 'create' your own personal tags or versions of set tags.
This is a two step process.
Step One: You create the new tag in a portion of the head section, designated by the style tags. (See the actual code to see this in action). Step Two: You use the new tags.
This would let you use the special custom-designed tag to format the text.
This will let you alter the bold tag to also change the text to red

This is a way to do the set indentation of a paragraph. Using style sheets lets you do some of the fancier stuff on web pages. The first line will be indented, by the number of inches or centimeters defined by the tag within the style tags. This is the other way, probably the better way, to do indentation rather than use the preformatted tag.

And you can create your own version of the blockquote tag, setting the exact size of the margins at each end rather than using the set distance of the blockquote tag.


Return to HTML demo/examples page
Return to main page