Valid Tags
From this
You get this
Denotes an abbreviation, use the title attribute to give the full meaning.
[html4] — not yet fully supported
From this
You get this
Much the same as the one above, really. The difference is between abbreviations and acronyms. And you can look that up yourself.
[html4] — not yet fully supported
From this
You get this
You're supposed to put this around your name, address or email address on your pages. Pff.
From this
You get this
The simple bold tag.
From this
You get this
If your text is meant to be read right-to-left (like Hebrew, or something), using this tag and the attribute dir="rtl" tells the browser this.
[html4] — not yet fully supported
From this
You get this
A quick way to increase the font size by one.
From this
You get this
Indents the whole block of text in from both sides and adds line-breaks top and bottom. Use for long quotations.
From this
You get this
Shows a citation (the title of a work that you're quoting or referencing).
From this
You get this
Sets text off as code, used for examples of source code. Usually rendered as mono-spaced text.
You get this
Stands for deleted text, and visually appears with a strike-through.
[html4]
From this
You get this
Denotes a definition.
[html4] — not yet fully supported
From this
You get this
Sets a block of your page off on its own. Mainly used with stylesheet commands and to create layers.
[html4]
From this
You get this
Creates emphasis on the selected text.
From this
You get this
Creates headings. There are 6 levels of heading, from h1 to h6.
From this
You get this
The basic italic tag.
From this
You get this
Stands for inserted text. You are meant to use this in conjunction with the del tag.
[html4]
From this
You get this
Surrounds text that is supposed to be entered by the reader on their keyboard.
From this
You get this
Stands for Preformatted text. If you wrap this around some text, it will follow the form of the text in your code — i.e. no extra formatting needs to be put in. If you have spaced it out in your code, it will appear spaced out on your page.
[html4]
From this
You get this
Used for smaller, inline quotations (as opposed to a blockquote). Adds quotation marks around the text. Cool.
[html4] — not yet fully supported
From this
You get this
Stands for sample, and is used when you're using an example, usually of an output from a program.
From this
You get this
Simple tag to drop the font size by one.
From this
You get this
New tag to be used in conjunction with stylesheets. Similar to the div tag, but span only affects the text it is wrapped around, div affects the entire horizontal section.
[html4]
From this
You get this
Makes the text bold.
From this
You get this
Renders the text in sub-script, below the normal line.
From this
You get this
Renders the text in super-script, above the normal line.
From this
You get this
Makes the text 'typewriter text', and sets it in a mono-spaced font.
From this
You get this
Used to denote variables in equations.
Deprecated and Dead Tags
Here for completeness, since you may have heard of them, are the troupe of tags that have been deprecated or been rendered defunct by more modern specifications. Don't use any of these tags, there are better ways.
Putting one of these in the of your documents would change the base colour and size that all further font tags are based on. It's been superseded by stylesheets, with their greater text formatting abilities, so don't use it.
[html4] — deprecated


No comments:
Post a Comment