html5 Site Icon CSS3 Site Icon CSS Site Icon

CSS 1/2 Basics

HTML Tag Reference In Function Order

Click on a Tag Name to see the reference for that HTML Tag.

Click on an Associated Lesson to see how the HTML Tag is used.

Other HTML4 Reference Tables


HTML Tags in Alphabetic Order

HTML Tags in Lesson Order

DTD: indicates the DTD in which the tag is allowed. F=Frameset, T=Transitional and S=Strict.

Tag Reference In Function Order
Function Tag Name Description Associated Lesson DTD
Basic <!--...--> Allows us to put explanatory comments into our code. HTML4 Intermediate Lesson 1 - What is XHTML? FTS
<!DOCTYPE> Tells browser which version of HTML/XHTML we're using in our HTML. HTML4 Intermediate Lesson 1 - What is XHTML? FTS
<br /> Used to define a line break in our HTML code. HTML Basic Lesson 4 - Paragraphs and Line breaks FTS
<hr /> Used to define a horizontal rule in our HTML code. HTML4 Advanced Lesson 9 - Tags To Avoid FTS
<p> Used for creating a paragraph of the enclosed content. HTML Basic Lesson 4 - Paragraphs and Line breaks FTS
Form <button> Defines a clickable button in our HTML code. HTML4 Advanced Lesson 6 - Advanced Forms FTS
<fieldset> Used for grouping form elements together. HTML4 Advanced Lesson 6 - Advanced Forms FTS
<form> Used to define an anchor for links and hyperlinks HTML4 Intermediate Lesson 7 - Getting To Grips With Forms FTS
<input /> Used to define an area of a form for user input. HTML4 Intermediate Lesson 7 - Getting To Grips With Forms FTS
<isindex /> Deprecated. Used for making a single line input control prompt. HTML4 Advanced Lesson 9 - Tags To Avoid FT
<label> Label for an input, select or textarea element of a form. HTML4 Intermediate Lesson 7 - Getting To Grips With Forms FTS
<legend> Used for defining a title for a fieldset element. HTML4 Advanced Lesson 6 - Advanced Forms FTS
<optgroup> used to define a group of related options within a select element. HTML4 Advanced Lesson 6 - Advanced Forms FTS
<option> Used to define a selectable option within a select element. HTML4 Advanced Lesson 6 - Advanced Forms FTS
<select> Used to define a drop-down list for selection. HTML4 Advanced Lesson 6 - Advanced Forms FTS
<textarea> Used to define used to define a multiple line area for text input. HTML4 Intermediate Lesson 7 - Getting To Grips With Forms FTS
Formatting <abbr> Used to define an abbreviation in our HTML code. HTML4 Advanced Lesson 2 - A Final Tour Of Text Tags FTS
<acronym> Used to define an acronym in our HTML code. HTML4 Advanced Lesson 2 - A Final Tour Of Text Tags FTS
<address> Used to define an address in our HTML code. HTML4 Advanced Lesson 2 - A Final Tour Of Text Tags FTS
<b> Presentational. Used for making bold text. HTML4 Advanced Lesson 9 - Tags To Avoid FTS
<bdo> Defines a birectional override for some text. HTML4 Advanced Lesson 2 - A Final Tour Of Text Tags FTS
<big> Presentational. Used for defining a large text style. HTML4 Advanced Lesson 9 - Tags To Avoid FTS
<blockquote> Used to define long quotations in our HTML code. HTML4 Advanced Lesson 2 - A Final Tour Of Text Tags FTS
<center> Deprecated. Used for centring text in HTML code. HTML4 Advanced Lesson 9 - Tags To Avoid FT
<cite> Used to define a citation in our HTML code. HTML4 Intermediate Lesson 3 - Formatting Text FTS
<code> Used to define text that looks like computer code. HTML4 Intermediate Lesson 3 - Formatting Text FTS
<del> Used to define editorial deletions in some text. HTML4 Intermediate Lesson 3 - Formatting Text FTS
<dfn> Used to define a definition term in our HTML code. HTML4 Intermediate Lesson 3 - Formatting Text FTS
<em> Used to define text to be emphasised in our HTML code. HTML Basic Lesson 5 - Emphasising Text FTS
<font> Deprecated. Used for specifying font, font size and font colour. HTML4 Advanced Lesson 9 - Tags To Avoid FT
<h1> - <h6> Used to define the six HTML headings for use in our HTML code. HTML Basic Lesson 3 - Headings FTS
<i> Presentational. Used to define italic text in our HTML code. HTML4 Advanced Lesson 9 - Tags To Avoid FTS
<ins> Used to define editorial insertions in our text. HTML4 Intermediate Lesson 3 - Formatting Text FTS
<kbd> Used to define keyboard text in our HTML code. HTML4 Intermediate Lesson 3 - Formatting Text FTS
<pre> Used to define preformatted text in our HTML code. HTML4 Advanced Lesson 2 - A Final Tour Of Text Tags FTS
<q> Used to define a short inline quotation in our HTML code. HTML4 Advanced Lesson 2 - A Final Tour Of Text Tags FTS
<s> Deprecated. Used for making a strike through text style. HTML4 Advanced Lesson 9 - Tags To Avoid FT
<samp> Used to define text that looks like sample computer code. HTML4 Intermediate Lesson 3 - Formatting Text FTS
<small> Presentational. Used for defining a small text style. HTML4 Advanced Lesson 9 - Tags To Avoid FTS
<strike> Deprecated. Used for making strike through text. HTML4 Advanced Lesson 9 - Tags To Avoid FT
<strong> Used to define text to be strongly emphasised in our HTML code. HTML Basic Lesson 5 - Emphasising Text FTS
<sub> Presentational. Used for defining subscript text. HTML4 Advanced Lesson 9 - Tags To Avoid FTS
<sup> Presentational. Used for defining superscript text. HTML4 Advanced Lesson 9 - Tags To Avoid FTS
<tt> Presentational. Used for defining teletype or monospaced style text. HTML4 Advanced Lesson 9 - Tags To Avoid FTS
<u> Deprecated. Used to underline text in our HTML code. HTML4 Advanced Lesson 9 - Tags To Avoid FT
<var> Used to define text that looks like a computer variable. HTML4 Intermediate Lesson 3 - Formatting Text FTS
Image <area /> Defines clickable areas of a client-side image. HTML4 Advanced Lesson 3 - Interactive Images FTS
<img /> Create an area on the page to hold the referenced image. HTML Basic Lesson 7 - Images FTS
<map> Define a client-side image map that has clickable areas. HTML4 Advanced Lesson 3 - Interactive Images FTS
Import <link /> Link to external resource such as an image or stylesheet from a HTML file. HTML4 Advanced Lesson 1 - Importing CSS and JavaScript FTS
Inline Frame <iframe> Define an inline window that holds another document. HTML4 Advanced Lesson 7 - Inline Frames FT
Link <a> Used to define an anchor for links and hyperlinks. HTML Basic Lesson 8 - Links FTS
<base /> Used to define a base URL for the links on a page. HTML4 Intermediate Lesson 5 - More About Links FTS
Lists <dir> Deprecated. Used to define a directory list. HTML4 Advanced Lesson 9 - Tags To Avoid FT
<dd> Define a definition description, of the definition term, in a definition list. HTML4 Intermediate Lesson 4 - Definition Lists FTS
<dl> Used to define a definition list in our HTML code. HTML4 Intermediate Lesson 4 - Definition Lists FTS
<dt> Used to define a definition term within a definition list HTML4 Intermediate Lesson 4 - Definition Lists FTS
<li> used to define a list item in an an ordered or unordered list. HTML Basic Lesson 6 - Ordered and Unordered Lists FTS
<menu> Deprecated. Used for defining a menu list. HTML4 Advanced Tutorials - Lesson 9 - Tags To Avoid FT
<ol> Used to define an ordered list in our HTML code. HTML Basic Lesson 6 - Ordered and Unordered Lists FTS
<ul> Defines an unordered list in our HTML code. HTML Basic Lesson 6 - Ordered and Unordered Lists FTS
Meta <basefont /> Deprecated. Specifies font values for the entire HTML document. HTML4 Advanced Lesson 9 - Tags To Avoid FT
<meta /> Allows us to send metadata about the data within our HTML file. HTML4 Advanced Lesson 1 - Importing CSS and JavaScript FTS
<title> Defines the document title element of a HTML file. HTML Basic Lesson 2 - Basic HTML Structure FTS
Programming <applet> Deprecated. Defines an embedded Java applet. HTML4 Advanced Lesson 9 - Tags To Avoid FT
<noscript> Allows us to do non script based rendering when JavaScript is turned off. HTML4 Advanced Lesson 1 - Importing CSS and JavaScript FTS
<object> Used to define an embedded object in our HTML. HTML4 Advanced Lesson 4 - Embedded Objects FTS
<param /> Used within object element to define parameters for the embedded object. HTML4 Advanced Lesson 4 - Embedded Objects FTS
<script> Define a scripting language within the HTML document. HTML4 Advanced Lesson 1 - Importing CSS and JavaScript FTS
Structure <body> Specifies the document body element of a HTML document. HTML Basic Lesson 2 - Basic HTML Structure FTS
<div> Used to group blocks of HTML together for styling with CSS. HTML4 Intermediate Lesson 2 - More HTML Structure FTS
<head> Specifies the document head element of a HTML document. HTML Basic Lesson 2 - Basic HTML Structure FTS
<html> Specifies the document root element of a HTML document. HTML Basic Lesson 2 - Basic HTML Structure FTS
<span> Used to group some inline HTML together for styling with CSS. HTML4 Intermediate Lesson 2 - More HTML Structure FTS
Style <style> Allows us to put style information into our HTML documents. HTML4 Advanced Lesson 1 - Importing CSS and JavaScript FTS
Tables <caption> Specifies a name for the table element in question. HTML4 Advanced Lesson 5 - A Final Trip to Tablesville FTS
<col /> Used to specify criteria for a table column. HTML4 Advanced Lesson 5 - A Final Trip to Tablesville FTS
<colgroup> Used to specify criteria for a group of columns. HTML4 Advanced Lesson 5 - A Final Trip to Tablesville FTS
<table> Used to define a table for displaying tabular data. HTML4 Intermediate Lesson 6 - An Introduction To Tables FTS
<tbody> Used to define group body information within a table. HTML4 Advanced Lesson 5 - A Final Trip to Tablesville FTS
<td> Used to define a table cell within a table element. HTML4 Intermediate Lesson 6 - An Introduction To Tables FTS
<tfoot> Used to define group footer information within a table. HTML4 Advanced Lesson 5 - A Final Trip to Tablesville FTS
<th> Used to define a heading within a table element. HTML4 Intermediate Lesson 6 - An Introduction To Tables FTS
<thead> Used to define group header information within a table. HTML4 Advanced Lesson 5 - A Final Trip to Tablesville FTS
<tr> Used to define a row within a table element. HTML4 Intermediate Lesson 6 - An Introduction To Tables FTS
Frames <frame /> Frames. Defines a subwindow that holds another document. HTML4 Advanced Lesson 9 - Tags To Avoid F
<frameset> Frames. Define a frameset that holds two or more documents. HTML4 Advanced Lesson 9 - Tags To Avoid F
<noframes> Frames. Used to define content to render when frames are unavailable. HTML4 Advanced Lesson 9 - Tags To Avoid F


HTML Tags Alphabetically    <<Prev         Next>>    HTML Tags In Lesson Order


go to home page Homepage go to top of page Top