Where a tag shows ... this indicates that additional attributes and values are usually required.
| HTML Tag |
Type |
Description |
<!-- ... --> |
Comment |
Anything typed in this tag is not displayed |
top
A |
<a href ...> </a> |
Hyperlink |
Link to another page or site |
<abbr> </abbr> |
Text format |
Denotes an abbreviation |
<acronym> </acronym> |
Text format |
Denotes an acronym |
<address> </address> |
Text format |
Address, built in text style (italic) |
<area ...> |
Map element |
Defines a hot spot on an image map |
top
B |
<b> </b> |
Text format |
Makes text bold |
<bgsound ...> |
Media |
Add background sound to a page |
<big> </big> |
Text format |
Makes text one size larger (relative) |
<blink> </blink> |
Text format |
Makes text flash on and off |
<body> </body> |
Page element |
Contains code to be displayed |
<br> |
Text format |
Breaks text without starting a new paragraph |
top
D |
<div> ... </div> |
Layout element |
Creates a division in the page |
top
E |
|
<em> </em> |
Text format |
Emphasis, built in text style (italic) |
top
F |
<font ...> </font> |
Text format |
Specifies colour, size etc. of text |
<form ...> </form> |
Form |
Contains elements of a form |
top
H |
<head> </head> |
Page element |
Contains hidden page information |
<h1> </h1> to
<h6> </h6> |
Text format |
Headings, built in text styles |
<hr> |
|
Horizontal rule |
<html> </html> |
Page element |
Contains all html code in page |
top
I |
<i> </i> |
Text format |
Makes text italic |
<img ...> |
Media |
Embeds an image in the page |
<input ...> |
Form element |
Specifies a form input element |
top
L |
<li> </li> |
List format |
An item in an ordered or unordered list |
top
M |
<map ...> |
Map element |
Defines an image map |
<marquee ...> </marquee> |
Text format |
Creates a moving text effect |
<meta ...> |
Page element |
Provides hidden page information |
top
O |
<ol> </ol> |
List format |
Specifies an ordered (numbered) list |
<option> </option> |
Form element |
Denotes an item in a <select> tag |
top
P |
<p> </p> |
Text format |
Denotes a paragraph |
top
S |
<select> </select> |
Form element |
Specifies a multiple choice list of options |
<small> </small> |
Text format |
Makes text one size smaller (relative) |
<span> </span> |
Layout element |
Defines an area for CSS formatting |
<strong> </strong> |
Text format |
Built in text style (bold) |
<style> </style> |
Formatting |
Contains style sheet information within a page |
top
T |
<table> </table> |
Table element |
Contains elements of a table |
<td> </td> |
Table element |
Creates a cell |
<textarea> </textarea> |
Form element |
Specifies a multi-line input field |
<title> </title> |
Page element |
Contains the page title |
<tr> </tr> |
Table element |
Creates a row |
top
U |
<u> </u> |
Text format |
Makes text underlined |
<ul> </ul> |
List format |
Creates an unordered (bullet) list |