Title Tag Description

BASIC ELEMENTS
Document
<html> </html>
Document root element type beginning and end of file
Title <title> </title>
Document title, must in header.
Header
<head> </head>
Descriptive info, such as title.
Body
<body> </body>
Bulk of the page, body of document.

FORMATTING
----------------------------------------------------------------------------------------------Bold <b> </b> Bold text style.
----------------------------------------------------------------------------------------------Italic <i> </i> Italic text style.

----------------------------------------------------------------------------------------------Subscript <sub> </sub> Subscript numbers like footnotes. -----------------------------------------------------------------------------------------------Pre formatted <pre> </pre> Display text spacing as is. -----------------------------------------------------------------------------------------------Typewriter <tt> </tt> Teletype or mono spaced.----------------------------------------------------------------------------------------------Underline <u> </u> Underlines text. ----------------------------------------------------------------------------------------------Strikeout <strike> </strike> Strikes through text. -----------------------------------------------------------------------------------------------Blinking <blink> </blink> Blinking text (netscape only). -----------------------------------------------------------------------------------------------Center <center> </center> Centers text and images. ------------------------------------------------------------------------------------------------ . ----------------------------------------------------------------------------------------------Superscript <sup> </sup> Superscript numbers like cross reference numbers. -----------------------------------------------------------------------------------------------Width <pre width="#"> Width in characters. ----------------------------------------------------------------------------------------------Strikeout <s> </s> Strikes through text.

------------------------------------------------------------------------------------------------Select font <font face="???> </font> Style of text. such asTimes New Roman. ------------------------------------------------------------------------------------------------Base font <basefont size="?"> </font> Size of font 1 . ------------------------------------------------------------------------------------------------Weight <font weight="?"> </font> Thickness of text.Font size <font size="?"> </font> Local font size.7.7 ) ------------------------------------------------------------------------------------------------Change font <font size="+1-?"> </font> Controls font size size rendered. -------------------------------------------------------------------------------------------------Link to <a href="url#???"> </a> Links text or graphics location to an anchor in another document. Point size <font point size="?"> </font> Size of text. --------------------------------------------------------------------------------------------------Link to <a href="url#???> </a> Links text or graphics . ( range 1 . size -------------------------------------------------------------------------------------------------LINKING -------------------------------------------------------------------------------------------------Link <a href="url"> </a> Links text or graphics something to another url. ------------------------------------------------------------------------------------------------Font color <font color="#?????" </font> Controls font color.

-------------------------------------------------------------------------------------------------- . --------------------------------------------------------------------------------------------------GRAPHICS AND SOUND --------------------------------------------------------------------------------------------------Display image <img src="url"> Displays image from the indicated url. --------------------------------------------------------------------------------------------------Link to <a href="mailto:@"> </a> Creates blank email to email indicate address with visitors default email client. --------------------------------------------------------------------------------------------------Action <a href="url" onclick="?"> </a> Takes effect when user on clicks on the item. --------------------------------------------------------------------------------------------------define <a name="???"> </a> Indicates an anchor's location name and location in a document. click --------------------------------------------------------------------------------------------------Mouse <a href="url" onmouseover="?"> </a> Takes effect when over user moves pointer over action item.location in to an anchor in current current page document. --------------------------------------------------------------------------------------------------Target <a href="url" target="?"> </a> Links text or graphics window to a url in a new browser window.

-------------------------------------------------------------------------------------------------Movie <img dynsrc="?" start="?" Insert movie clip. -------------------------------------------------------------------------------------------------Image <img src="url" ismap> Linking of a portion of an map image. sound loop="?" infinite> -------------------------------------------------------------------------------------------------embed <embed src="url"> Insert object into page. object -------------------------------------------------------------------------------------------------- . top/middle/left/right/bottom"> -------------------------------------------------------------------------------------------------Alternate <img src="url" alt="?"> displays the name or description of image if image not displayed. of the image. -------------------------------------------------------------------------------------------------Border <img src="url" border="?"> Border in pixels around image. -------------------------------------------------------------------------------------------------Dimensions <img src="url" width="?" The dimensions. in height="?"> pixels. <img src="url" width="%" Dimensions as a percent height="%"> of page width/height. clip loop="?"> -------------------------------------------------------------------------------------------------Background <bgsound src="?" Insert sound clip.Alignment < img src="url" align=" Aligns the image. -------------------------------------------------------------------------------------------------Dimen.

rule ------------------------------------------------------------------------------------------------Alignment <hr align="left/ Aligns horizontal line. -------------------------------------------------------------------------------------------------Parameters <param> Named property value. . text right> </p> ------------------------------------------------------------------------------------------------Line break <br> A single carriage return. ------------------------------------------------------------------------------------------------Align <p align="left/center/ Aligns paragraph. -----------------------------------------------------------------------------------------------Width % <hr width="%"> Width as a percentage of page. Horizontal <hr> Horizontal line. -----------------------------------------------------------------------------------------------Width <hr width="?"> Width in pixels of line. -------------------------------------------------------------------------------------------------DIVIDERS ------------------------------------------------------------------------------------------------Paragraph <p> </p> Starts and stops paragraph.Object <embed src="url" width="?" Size in pixels of embed size hight="?"> object. right/center"> -----------------------------------------------------------------------------------------------Thickness <hr size="?"> Thickness in pixels of line. -------------------------------------------------------------------------------------------------Object <object> </object> Embedded object.

-----------------------------------------------------------------------------------------------STRUCTURAL ELEMENTS -----------------------------------------------------------------------------------------------Heading <h?> </h?> Document header levels 1 .-----------------------------------------------------------------------------------------------Solid line <hr noshade> Line without 3D cutout look. -----------------------------------------------------------------------------------------------Emphasis <em> </em> Ephasized text usually as italic. quote quote <q> </q> Short quotation. emphasis ------------------------------------------------------------------------------------------------ . -----------------------------------------------------------------------------------------------Defined <span> </span> Generic container. -----------------------------------------------------------------------------------------------Division <div> </div> Generic container. content -----------------------------------------------------------------------------------------------Block <blockquote> </blockquote> Long quotation block. -----------------------------------------------------------------------------------------------No break <nobr> </nobr> Prevents line breaks. -----------------------------------------------------------------------------------------------Strong <strong> </strong> Ephasized text strongly as bold. -----------------------------------------------------------------------------------------------Word break <wbr> Where to break a line if needed.6.

-----------------------------------------------------------------------------------------------Large font <big> </big> Uses a large text size. input -----------------------------------------------------------------------------------------------Variable <var> </var> Program variable or output. size -----------------------------------------------------------------------------------------------Small font <small> </small> Uses small text size. output -----------------------------------------------------------------------------------------------keyborad <kbd> </kbd> Text that should be entered by user.Citation <cite> </cite> Citation usually italics. -----------------------------------------------------------------------------------------------Sample <samp> </samp> Sample program output. -----------------------------------------------------------------------------------------------Definition <dfn> </dfn> Defintion -----------------------------------------------------------------------------------------------Address <address> </address> Author information. -----------------------------------------------------------------------------------------------Code <code> </code> For source code listings. ------------------------------------------------------------------------------------------------ . size -----------------------------------------------------------------------------------------------Insert <ins> </ins> Marks inserted text in a new version. Comments <ins cite="url"> </ins> Comments on the addition in a new version.

color --------------------------------------------------------------------------------------------------Link <body link="#?????"> Color of all links thoughout page. -----------------------------------------------------------------------------------------------Abbreviation <abbr> </abbr> Abbreviations. -----------------------------------------------------------------------------------------------BACKGROUNDS -----------------------------------------------------------------------------------------------Tiled <body background="url"> Causes image to tile as background background of page. color --------------------------------------------------------------------------------------------------Visited <body vlink="#?????"> Color of all visited links link color throughout page. -----------------------------------------------------------------------------------------------Acroynm <acroynm> </acroynm> Acroynms. ------------------------------------------------------------------------------------------------<body bgproperties="fixed"> Static image which remains in the same Watermark location as visitors scroll. .Delete <del> </del> Marks deletions in a new version. -------------------------------------------------------------------------------------------------Background <body bgcolor="#?????"> Solid background color. color -------------------------------------------------------------------------------------------------Text <body text="#?????"> Color of text throughout page.

link --------------------------------------------------------------------------------------------------LISTS --------------------------------------------------------------------------------------------------Unordered <ul> <li> </ul> Lists with bulleted items. ----------------------------------------------------------------------------------------------------Starting <ol start="?"> Starting number for list. type ---------------------------------------------------------------------------------------------------Numb. ---------------------------------------------------------------------------------------------------Bullet <ul type="disc/circle/square"> Shape of bullet for list. <li type="same as above"> Type of numbering for specific type 2 list item. ---------------------------------------------------------------------------------------------------Ordered <ol> <li> </ol> Numbered list.--------------------------------------------------------------------------------------------------Active <body alink="#?????"> Color of link when selected. type ---------------------------------------------------------------------------------------------------Bullet <li type="same as above"> Shape of bullet for specific type 2 item. list ---------------------------------------------------------------------------------------------------Numbering <ol type="A|a|I|i|1> Type of numbering for the list. lists ---------------------------------------------------------------------------------------------------List item <li> </li> Indicates an item on the list. .

table ----------------------------------------------------------------------------------------------------Table <table align="left|right|center"> Aligns table within browser. ----------------------------------------------------------------------------------------------------Definition <dl> </dl> A list of definitions. number 2 item. ----------------------------------------------------------------------------------------------------Definition <dd> </dd> Definition of a term. list ----------------------------------------------------------------------------------------------------TABLES ----------------------------------------------------------------------------------------------------Define <table> </table> Signals the start of a table.number ----------------------------------------------------------------------------------------------------Starting <li value="?"> Starting number for this & subsequent. list ----------------------------------------------------------------------------------------------------Def. alignment ----------------------------------------------------------------------------------------------------- . term <dt> </dt> Definition term. ----------------------------------------------------------------------------------------------------Menu <menu> </menu> Display menu type list. list ----------------------------------------------------------------------------------------------------Directory <dir> </dir> Directory link.

.Table <table border> </table> Table border either on or off. border 2 ----------------------------------------------------------------------------------------------------Cell <table cellspacing="?"> Places specific amount of space spacing between cells within table. ----------------------------------------------------------------------------------------------------Desired <table width="?"> Width of table in pixels. ----------------------------------------------------------------------------------------------------Cell <table cellpadding="?"> Places specific amount of space padding between cells border and contents. width ----------------------------------------------------------------------------------------------------Width <table width="%"> Width of table in percentage of page. ----------------------------------------------------------------------------------------------------Table <table rules="none|groups| Controls vertical & horizontal rules rows|cols|all"> </table> lines displayed. percentage ----------------------------------------------------------------------------------------------------Table <table bgcolor="#?????"> </table> Overall background color color of table. ----------------------------------------------------------------------------------------------------Table <table frame="void|above|below Controls how the border frame hsides|lhs|rhs|vsides|box|border"> around outer edge of </table> table is displayed. border ----------------------------------------------------------------------------------------------------Table <table border="?"> </table> Set width of table border.

----------------------------------------------------------------------------------------------------Border <table bordercolor="#???"> color of the table border. ----------------------------------------------------------------------------------------------------Rows to <td rowspan="?"> The number of rows the cell should span span. ----------------------------------------------------------------------------------------------------- . ----------------------------------------------------------------------------------------------------Width <td width="?"> Width of cell in pixels. valign="top|middle|bottom"> ----------------------------------------------------------------------------------------------------No line <td nowrap> No line breaks within the table cell. must appear within table rows. middle|bottom"> ----------------------------------------------------------------------------------------------------Table cell <td> </td> Specific table cell. ----------------------------------------------------------------------------------------------------Alignment <td align="left|right|center Alignment of table cell. ----------------------------------------------------------------------------------------------------Alignment <tr align="left|right|center Alignment of the table row. breaks ----------------------------------------------------------------------------------------------------Columns <td colospan="?"> The number of columns the cell to span should span. color </table> ----------------------------------------------------------------------------------------------------Table row <tr> </tr> table row.

----------------------------------------------------------------------------------------------------Alignment <th align="left|right|center| Alignment of the header middle|bottom"> cell. ----------------------------------------------------------------------------------------------------Table <tbody> Identifies the specific body section of table. ----------------------------------------------------------------------------------------------------No line <th nowrap> No line breaks with the header cell. ----------------------------------------------------------------------------------------------------Cell color <th bgcolor="#???"> Background color of cell. body . breaks ----------------------------------------------------------------------------------------------------Coumn to <th colspan="?"> Number of columns the header cell span should span. ----------------------------------------------------------------------------------------------------Width <th width="?"> Width of header cell in pixels. ----------------------------------------------------------------------------------------------------Width as <th width="%"> Width of header cell as percentage percentage table.width in <td width="%"> Width as a percentage of table. ----------------------------------------------------------------------------------------------------Header cell <th> </th> Table cell header info (bold & centered). Rows to <th rowspan="?"> Number of rows the header cell span should span. percentage ----------------------------------------------------------------------------------------------------Cell Color <td bgcolor="#???"> Background color of cell.

----------------------------------------------------------------------------------------------------Column <col> </col> Groups column attributes. caption ----------------------------------------------------------------------------------------------------Alignment <caption align="top|bottom| Alignment for the caption left|right"> of a table.----------------------------------------------------------------------------------------------------Table <tfoot> </tfoot> Seperates group of cells to serve as footer footer material for the table (must come before <thead>). columns ----------------------------------------------------------------------------------------------------Group <colgroup width="?"> </colgroup> Width of group in pixels. ----------------------------------------------------------------------------------------------------Table <caption> </caption> Caption for a table. ----------------------------------------------------------------------------------------------------Column <col width="?"> </col> Column width in pixels. width Width as % <col width="%"> </col> Column width as % of table. ----------------------------------------------------------------------------------------------------Group <colgroup> </colgroup> Groups column structure. width ----------------------------------------------------------------------------------------------------- . ----------------------------------------------------------------------------------------------------Table <thead> </thead> Seprates group of cells to serve as header header material for table.

."> </frameset> Comma seperated list width of size of each column in frameset (pixels or %) ----------------------------------------------------------------------------------------------------Borders <frameset framesetborder="yes|no"> If frame has a </frameset> visible border or not."> </frameset> Comma seperated list heights of size of each column in frameset (pixels or %) ----------------------------------------------------------------------------------------------------Column <frameset cols=". ----------------------------------------------------------------------------------------------------Row <frameset rows=".Group width <colgroup width="%"> </colgroup> as percent ----------------------------------------------------------------------------------------------------FRAMES ----------------------------------------------------------------------------------------------------Frame <frameset> </frameset> Creates layouts of frames document instead of <body>. width </frameset> Border <frameset bordercolor="#???"> Color of frame border... ----------------------------------------------------------------------------------------------------Border <frameset border="?"> Width of frame border if visible. ----------------------------------------------------------------------------------------------------Define <frame> Specific contents of an individual frame. color </frameset> ----------------------------------------------------------------------------------------------------Frame <frameset framespacing="?"> Number of pixels space spacing </frameset> between frames.. .

Content ----------------------------------------------------------------------------------------------------Inline <iframe> </iframe> Inline subwindow. ----------------------------------------------------------------------------------------------------Border <frame bordercolor="#???"> Color of border of frame. ----------------------------------------------------------------------------------------------------Scroll <frame scrolling="yes|no|auto"> Controls how window is or bar isn't scrolled. takes same attribute frame as frame. ----------------------------------------------------------------------------------------------------Borders <frame frameborder="yes|no"> Border either on or off. color ----------------------------------------------------------------------------------------------------Unframed <noframes> </noframes> For non-frames browsers. .frame ----------------------------------------------------------------------------------------------------Display <frame src="url"> Identifies initial contents of the frame. ----------------------------------------------------------------------------------------------------Margin <frame marginwidth="?"> Distance between content and width frame's left & right margin. document ----------------------------------------------------------------------------------------------------Frame <frame name="?"_blank|_self| Assigns a name to current name _parent|_top> frame. ----------------------------------------------------------------------------------------------------Margin <frame marginheight="?"> Distance between content & height frame's top & bottom margin.

----------------------------------------------------------------------------------------------------Dimensions <iframe width="?" height="?"> Width & height of sub </iframe> window in pixels. ----------------------------------------------------------------------------------------------------Size <spacer size="?"> Size of spaces inserted. ----------------------------------------------------------------------------------------------------Dimensions <spacer width="?" or height="?"> . ----------------------------------------------------------------------------------------------------Spacer <spacer> Insertion of space. gutter ----------------------------------------------------------------------------------------------------Width <multicol width="?"> </multicol> Width of the column. ----------------------------------------------------------------------------------------------------Spacer <spacer type="horizontal|vertical|block"> Type of space type inserted. column ----------------------------------------------------------------------------------------------------Column <multicol gutter="?"> </multicol> Gutter of the column. ----------------------------------------------------------------------------------------------------Dimensions <same as above with % added> Subwindow as % as percentage ----------------------------------------------------------------------------------------------------POSITIONING (netscape only) ----------------------------------------------------------------------------------------------------Multi <multicol cols="?"> </multicol> More than one column.

</layer> ----------------------------------------------------------------------------------------------------visible <layer visibility="show|hidden|inherit"> Visibility of layer. ----------------------------------------------------------------------------------------------------Location <layer left="?" or top="?"> Location of layer. ----------------------------------------------------------------------------------------------------name <layer id="?"> </layer> Specifies name of layer. layer as layer). ----------------------------------------------------------------------------------------------------Inline <ilayer> </ilayer> A layer within a layer (take same attrib. . </layer> ----------------------------------------------------------------------------------------------------color <layer bgcolor="#???"> </layer> Background color of layer.----------------------------------------------------------------------------------------------------Alignment <spacer align="right|left|center"> ----------------------------------------------------------------------------------------------------Layer <layer> </layer> Ability to view pages using precisely positioned overlapping layers.

Sign up to vote on this title
UsefulNot useful