HTML Tag & Attribute Reference

A list of HTML tags for reference.

 

<!--...--> Specifies a comment  
<!DOCTYPE> Specifies the document type  
<a> Specifies an anchor  
<abbr> Specifies an abbreviation  
<acronym> Specifies an acronym  
<address> Specifies an address element  
<applet> Deprecated. Specifies an applet  
<area> Specifies an area inside an image map  
<b> Specifies bold text  
<base> Specifies a base URL for all the links in a page  
<basefont> Deprecated. Specifies a base font  
<bdo> Specifies the direction of text display  
<bgsound> Specifies the background music IE
<big> Specifies big text  
<blink> Specifies a text which blinks NS
<blockquote> Specifies a long quotation  
<body> Specifies the body element  
<br> Inserts a single line break  
<button> Specifies a push button  
<caption> Specifies a table caption  
<center> Deprecated. Specifies centered text  
<cite> Specifies a citation  
<code> Specifies computer code text  
<col> Specifies attributes for table columns  
<colgroup> Specifies groups of table columns  
<comment> Puts a comment in the document IE
<dd> Specifies a definition description  
<del> Specifies deleted text  
<dfn> Specifies a definition term  
<dir> Deprecated. Specifies a directory list  
<div> Specifies a section in a document  
<dl> Specifies a definition list  
<dt> Specifies a definition term  
<em> Specifies emphasized text  
<embed> Deprecated. Embeds an application in a document IE & NS
<fieldset> Specifies a fieldset  
<font> Deprecated. Specifies text font, size, and color  
<form> Specifies a form  
<frame> Specifies a sub window (a frame)  
<frameset> Specifies a set of frames  
<h1> to <h6> Specifies header 1 to header 6  
<head> Specifies information about the document  
<hr> Specifies a horizontal rule  
<html> Specifies an html document  
<i> Specifies italic text  
<iframe> Specifies an inline sub window (frame)  
<ilayer> Specifies an inline layer NS
<img> Specifies an image  
<input> Specifies an input field  
<ins> Specifies inserted text  
<isindex> Deprecated. Specifies a single-line input field  
<kbd> Specifies keyboard text  
<keygen> Generate key information in a form  
<label> Specifies a label for a form control  
<layer> Specifies a layer NS
<legend> Specifies a title in a fieldset  
<li> Specifies a list item  
<link> Specifies a resource reference  
<map> Specifies an image map  
<marquee> Create a scrolling-text marquee IE
<menu> Deprecated. Specifies a menu list  
<meta> Specifies meta information  
<multicol> Specifies a multicolumn text flow NS
<nobr> No breaks allowed in the enclosed text  
<noembed> Specifies content to be presented by browsers that do not support the <embed> tag NS
<noframes> Specifies a noframe section  
<noscript> Specifies a noscript section  
<object> Specifies an embedded object  
<ol> Specifies an ordered list  
<optgroup> Specifies an option group  
<option> Specifies an option in a drop-down list  
<p> Specifies a paragraph  
<param> Specifies a parameter for an object  
<plaintext> Deprecated. Render the raminder of the document as preformatted plain text  
<pre> Specifies preformatted text  
<q> Specifies a short quotation  
<s> Deprecated. Specifies strikethrough text  
<samp> Specifies sample computer code  
<script> Specifies a script  
<select> Specifies a selectable list  
<spacer> Specifies a white space NS
<small> Specifies small text  
<span> Specifies a section in a document  
<strike> Deprecated. Specifies strikethrough text  
<strong> Specifies strong text  
<style> Specifies a style definition  
<sub> Specifies subscripted text  
<sup> Specifies superscripted text  
<table> Specifies a table  
<tbody> Specifies a table body  
<td> Specifies a table cell  
<textarea> Specifies a text area  
<tfoot> Specifies a table footer  
<th> Specifies a table header  
<thead> Specifies a table header  
<title> Specifies the document title  
<tr> Specifies a table row  
<tt> Specifies teletype text  
<u> Deprecated. Specifies underlined text  
<ul> Specifies an unordered list  
<var> Specifies a variable  
<wbr> Indicate a potential word break point within a <nobr> section IE & NS
<xmp> Deprecated. Specifies preformatted text  

Deprecated Tags

<applet> Deprecated. Specifies an applet <object>
<basefont> Deprecated. Specifies a base font  
<center> Deprecated. Specifies centered text text-align
<dir> Deprecated. Specifies a directory list  
<embed> Deprecated. Embeds an application in a document <object>
<font> Deprecated. Specifies text font, size, and color font-family, font-size
<isindex> Deprecated. Specifies a single-line input field  
<listing> Deprecated. Specifies listing of items <pre>
<menu> Deprecated. Specifies a menu list  
<plaintext> Deprecated. Specifies plaintext <pre>
<s> Deprecated. Specifies strikethrough text text-decoration
<strike> Deprecated. Specifies strikethrough text text-decoration
<u> Deprecated. Specifies underlined text text-decoration
<xmp> Deprecated. Specifies preformatted text <pre>

HTML Deprecated Attributes

     
align Specifies positioning of an element text-align , float & vertical-align
alink Specify the color of an active link or selected link active
background Specifies background image background-image
bgcolor Specifies background color background-color
border Specifies a border width of any element border-width
clear Indicates how the browser should display the line after the <br /> element clear
height Specifies height of body and other elements height
hspace Specifies the amount of whitespace or padding that should appear left or right an element padding
language Specifies scripting language being used type
link Specifies the default color of all links in the document link
nowrap Prevents the text from wrapping within that table cell white-space
start Indicate at what number a browser should start numbering a list counter-reset
text Specifies color of body text color
type Specifies the type of list in <li> tag list-style-type
vlink Specify the color of visited links visited
vspace Specifies the amount of whitespace or padding that should appear above or below an element padding
width Specifies width of body and other elements width

HTML 4 Tags

   
<abbr> Specifies an abbreviation
<acronym> Specifies an acronym
<bdo> Specifies the direction of text display
<button> Specifies a push button
<col> Specifies attributes for table columns
<colgroup> Specifies groups of table columns
<del> Specifies deleted text
<fieldset> Specifies a fieldset
<frame> Specifies a sub window (a frame)
<frameset> Specifies a set of frames
<ins> Specifies inserted text
<label> Specifies a label for a form control
<legend> Specifies a title in a fieldset
<noframes> Specifies a noframe section
<noscript> Specifies a noscript section
<object> Specifies an embedded object
<optgroup> Specifies an option group
<q> Specifies a short quotation
<s> Deprecated. Specifies strikethrough text
<span> Specifies a section in a document
<tbody> Specifies a table body
<tfoot> Specifies a table footer
<thead> Specifies a table header

Reference: Tutorials Point

Want to get more in depth with HTML? Check out this HTML tutorial, Learn HTML: Learn the Foundations of HTML by Udemy! It is text-and image based, easy to search for quick answers, and is super helpful for anyone as a base for learning or as a reference guide.

Add comment


Security code
Refresh

Search

Visit fbetting.co.uk Betfair Review