Tag |
Code
Example |
Browser
View |
| <tt>...</tt> |
<tt>type-written.</tt> |
type-written. |
| <Q>...</Q> |
According to the W3C, <Q>BLOCKQUOTE is for long quotations and Q is intended for short quotations that don't require paragraph breaks.</Q> |
According to the W3C, BLOCKQUOTE is for long quotations and Q is intended for short quotations that don't require paragraph breaks. |
<ACRONYM>
</ACRONYM> |
Working with the World Wide Web requires a good head for acronyms. <ACRONYM>HTML</ACRONYM>, <ACRONYM>WWW</ACRONYM>, and <ACRONYM>HTTP</ACRONYM> are but a few of the acronyms found around the Web. |
Working with the World Wide Web requires a good head for acronyms. HTML, WWW, and HTTP are but a few of the acronyms found around the Web. |
<INS>...</INS>
<DEL>...</DEL>
|
Welcome to our online personnel policy guide. <INS>In the spirit of relaxed living, our dress code now requires only that you meet TV's decency standard.</INS> <DEL>In the spirit of conservative virtues, we require every employee to wear a suit to work every day.</DEL> |
Welcome to our online personnel policy guide. In the spirit of relaxed living, our dress code now requires only that you meet TV's decency standard. In the spirit of conservative virtues, we require every employee to wear a suit to work every day. |
<COLGROUP>
</COLGROUP> |
If you wanted to create a table that had a single, wide description column followed by a series of small check boxes, you would code:
<TABLE> <COLGROUP span="10" width="30"> <COLGROUP span="1" width="0*"> <THREAD> <TR>... </TABLE>
This way, the first <COLGROUP> tag formats all ten check boxes, much nicer than typing in ten identical specifications--for each row! |
Allows you finer control over the formatting of tables by specifying groups of columns that share width and alignment properties. Every table must have at least one <COLGROUP>; without any specific <COLGROUP> definition, HTML 4.0 assumes the table consists of a single column group that contains all the columns of the table. |
<FIELDSET>
</FIELDSET> |
With the <FIELDSET>...</FIELDSET> tag, you can group related form fields, making your form easier to read and use. Human brains like to be able to classify information, and <FIELDSET> helps do just that. When you enclose a group of form elements in the <FIELDSET> tags, the browser will group the elements so you can easily tell they belong together. |
<LABEL>
</LABEL> |
Use <LABEL> with <FIELDSET> to attach a label to the form grouping. |
<BUTTON>
</BUTTON> |
Another addition to forms, allows you to have push buttons on forms that more closely resemble push buttons available in Windows and other applications. Many aspects of <BUTTON> are similar to those of <INPUT> elements of types submit and reset, but <BUTTON>, in the words of the W3C, "allows richer presentational possibilities." One example of a "richer presentational possibility" is the fact that a <BUTTON> has beveled, shadowed edges, looking 3-D rather than flat, and "moves" when clicked, giving the impression of being pushed in, then released. |
<SPAN>
</SPAN> |
Click here for lots of code examples |