By William Harrel

Part of HTML, CSS, and JavaScript Mobile Development For Dummies Cheat Sheet

The following table lists some of the most common HTML tags that you’ll use to build your website. After you’ve worked in HTML for a little while, these tags will become second nature to you.

Tag Name Code Example
<a> anchor <a href=http://www.yourdomain.com/>Click Here</a>
<b> bold <b>Bold Type</b>
<body> body of document <body>All of the contents of your Web page.</body>
<br> line break Soft line break<br />Soft line
break
<center> center <center>Center your content</center>
<font> font <font face=Times New Roman>Example</font>
<form> form <form action=mailto:you@yourdomain.com>
Name: <input name=Name value= size=10 />
</form>
<h1> heading 1 <h1>Heading 1 Example</h1>
<h2> heading 2 <h2>Heading 2 Example</h2>
<h3> heading 3 <h3>Heading 3 Example</h3>
<head> heading of document <head>Contains elements describing the document</head>
<html> hypertext markup language <html><head><meta><title>Title of your
webpage</title></head><body>Webpage
contents</body>
</html>
<i> italic <i>Italic
Type
</i>
<li> list item <ol type=i>
<li>List item 1</li>
<li>List item 2</li>
<li>List item 3</li>
<li>List item 4</li>
</ol>
<meta> meta <meta name=Description content=Description of your site />
<meta name=keywords content=keywords describing your site />
<ol> ordered list <ol>
<li>List item
1</li>

<li>List item
2</li>

<li>List item
3</li>

<li>List item
4</li>

</ol>
<p> paragraph <p> This creates a line break and a space between lines.</p>
<title> document title <title>Title of your webpage</title>
<ul> unordered list <ul>
<li>List item
1</li>

<li>List item
2</li>

</ul>