| General | |||
| Start | End | Definition | Attributes |
| <!doctype> | html public
"name" "url" | ||
| <html> | </html> | html document | |
| <head> | </head> | heading | profile="url" |
| <title> | </title> | title | |
| <base> | base | href="url"
target=centerframename" | |
| <address> | </address> | author information | |
| <meta> | name="text"
content="text" http-equiv="text" scheme="name" | ||
| <style> | </style> | formatting styles | type="text/css"
media=[screen | print | projection | braille | speech | all] @import "url" H1 {color:blue,font:14pt Times bold} H1.name {color:teal} body {background color:teal} P {font:12 Times; text-align: justify;} |
| <basefont> | </basefont> | basefont | align=[center | left | right | justify]
link=[#rrggbb | "colorname"] alink=[#rrggbb | "colorname"] vlink=[#rrggbb | "colorname"] text=[#rrggbb | "colorname"] type="text/css" style=["color:navy" & "font-size: 18pt"] |
| <body> | </body> | body of html | align=[center | left | right | justify]
link=[#rrggbb | "colorname"] alink=[#rrggbb | "colorname"] vlink=[#rrggbb | "colorname"] text=[#rrggbb | "colorname"] type="text/css" style=["color:navy" & "font-size: 18pt"] bgcolor=[#rrggbb | "colorname"] background="url" |
| <frameset> | </frameset> | frames | rows="[n | n% | n*], ... , [n | n% | n*]"
cols="[n | n% | n*], ... , [n | n% | n*]" |
| <frame> | framed window | src="url"
name="windowname" frameborder=["yes" | "no"] marginwidth="n" marginheight="n" scrolling = ["yes" | "no" | "auto"] noresize | |
| <noframes> | </noframes> | alternative version | |
| Text | |||
| Start | End | Definition | Attributes |
| <h1> | </h1> | heading | class=name |
| <font> | </font> | font | color=[#rrggbb | "colorname"]
size="+n" face=["fontname"] |
| <face> | </face> | face | Times New Roman
size="n" |
| <abbr> | </abbr> | abbreviation | |
| <b> | </b> | bold text | |
| <big> | </big> | big text | |
| <blink> | </blink> | blinking text | |
| <blockquote > | </blockquote> | blockquote | cite="citation" |
| <center> | </center> | centered text | |
| <cite> | </cite> | citation | |
| <code> | </code> | computer code | |
| <del> | </del> | deleted text | |
| <dfn> | </dfn> | defined term | |
| <em> | </em> | emphasis | |
| <i> | </i> | italics | |
| <ins> | </ins> | inserted text | |
| <kbd> | </kbd> | keyboard text | |
| <pre> | </pre> | preformatted text | width="n" |
| <q> | </q> | quotation | cite="citation" |
| <s> | </s> | strikethrough | |
| <samp> | </samp> | sample output | |
| <small> | </small> | small text | |
| <strike> | </strike> | strikethrough | |
| <strong> | </strong> | strong emphasis | |
| <sub> | </sub> | subscript | |
| <sup> | </sup> | superscript | |
| <tt> | </tt> | teletype font | |
| <u> | </u> | underline | |
| <var> | </var> | variable text | |
| Formatting | |||
| Start | End | Definition | Attributes |
| <span> | </span> | span | |
| <div> | </div> | divisions | |
| <p> | </p> | paragraph | align=[center | left | right | justify] |
| <br> | line break | ||
| <hr> | hard line | align=[center | left | right | justify]
width=["n%" | n] size="n" noshade | |
| <img> | image | src="url"
alt="text" align=[center | left | right | justify] ismap vspace=n border="number" | |
| Addressing | |||
| Start | End | Definition | Attributes |
| <a> | </a> | addressing | href="url#label"
name="label" target="frame-name" |
| <link> | link to other pages | rel=stylesheet
type="text/css" href="url" title="name" | |
| Lists | |||
| Start | End | Definition | Attributes |
| <ul> | </ul> | unordered list | compact
type=["disc" | "square" | "circle"] |
| <ol> | </ol> | ordered list | compact
type=["1" | "I" | "i" | "A" | "a"] start="n" |
| <li> | list item | type=["disc" | "square" | "circle"]
type=["1" | "I" | "i" | "A" | "a"] value="n" | |
| <menu> | </menu> | menu list | compact |
| <dl> | </dl> | definition list | |
| <dt> | definition term | ||
| <dd> | definition description | ||
| Tables | |||
| Start | End | Definition | Attributes |
| <caption> | </caption> | table caption | align=[center | left | right | justify]
bgcolor=[#rrggbb | "colorname"] colspan=n height=n nowrap rowspan=n valign=[top | bottom | middle] width=[n | n%] |
| <col> | table column | ||
| <colgroup> | column group | ||
| <table> | </table> | table | align=[center | left | right | justify]
border=n cellpadding=n cellspacing=n |
| <tbody> | </tbody> | table body | |
| <td> | </td> | table data | align=[center | left | right | justify]
bgcolor=[#rrggbb | "colorname"] colspan=n height=n nowrap rowspan=n valign=[top | bottom | middle] width=[n | n%] |
| <tfoot> | </tfoot> | table footer | |
| <th> | </th> | table header | align=[center | left | right | justify]
nowrap valign=[top | bottom | middle] width=[n | n%] |
| <thead> | </thead> | table header | same as <th> |
| <tr> | </tr> | table row | align=[center | left | right | justify]
valign=[top | bottom | middle] |
| Forms | |||
| <form> | </form> | Form | method=["post" | "get"]
action="url" |
| <fieldset> | </fieldset> | Field Set | |
| <legend> | </legend> | Legend | |
| <select> | </select> | Select | name="text"
size="number" multiple disabled tabindex="number" |
| <option> | Option | ||
| <input> | Input | align=[center | left | right | justify | top | middle | bottom]
type=["button" | "file" | "radio" | "submit" | "reset" | "text" | "checkbox" | "hidden" | "image" | "password" ] name="text" value="value" size="number" maxlength="number" checked disabled src="url" tabindex="number" usemap="filename" | |
| <textarea> | </textarea> | Text Area | name="text"
cols="number" rows="number" disabled readonly tabindex="number" |
| <button> | </button> | Button | |
| <label> | </label> | Label | |