html5 Site Icon CSS3 Site Icon CSS Site Icon

CSS 1/2 Basics

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


References    <<Prev         Next >>   HTML Tags In Function Order


go to home page Homepage go to top of page Top