HTML Cheat Sheet
HTML Cheat Sheet
Text Tags
<h1></h1> The largest headline
<h6></h6> The smallest headline
<font size="5"></font>
Se t size - Ranges from 1-7 with 7 being the largest.
<font color="blue"></font> Sets color. Blue in this case.
<blockquote></blockquote> Enclose larger quotations from other text on the site
<body></body> The body of your website document
<title></title> Specify the title of the document
Formatting
<p></p> New paragraph
<br></br> Single line break
<ul></ul> Bulleted list
<ol></ol> Numbered list
<dl></dl> Definition list
<dir></dir> Directory list
<li></li> Number/Symbol before list item
<samp></samp> Sample format
<button></button> Creates a button that the visitor can click
<center></center> Centers everything inside the element
<col></col> Sets the attribute values for one or more columns
<iframe></iframe> Create an inline or floating frame
<kbd></kbd> Identify text a user is supposed to enter
<applet></applet> Embed a Java applet to your website
<object></object> Embed an object. Replaces the applet element
<area></area> Implement a client-side image map
<menu></menu> Container for a list of menu items
<option></option> Option in a listbox
<select></select> Create listbox as an input field on a form
<wbr></wbr> Word break
<tr></tr> Classify row inside a table
HTML Tags
<font>
<dir>
<menu>
<i>
<u>
<b>
<center>
<basefont>
<strike>
HTML Attributes
bgcolor
background
align
border
vspace
hspace
width
height
Important To Notice
Please note that this is not a complete list of all the deprecated HTML tags and attributes, but only the ones that are most
commonly used.