10 Most Commonly Used HTML Tags

<div></div> Division - this is the "box" in the box model of website design
<h1-6></h1-6> Heading (largest)
<p></p> Paragraph
<a></a> Anchor (links, to other web pages, images, etc.)
<a href=”web address”></a>
<ul></ul> Unordered List
<ol></ol> Ordered List
<li><li> List Item
<span></span> Marks the beginning and end of a selected section of code.
<img> Image
<script></script> Defines javascript, can either be in the head, or in the body (Chapter 7)

When working with tables:

<table> Container for a table
<tr> Table row
<th> Table header
<td> Table data

When working with forms:

<form></form> Contains the form
<input> Input field
<label> Label for the input field

Structural tags:

<html></html> Creates an HTML document
<head></head> Sets off the title and other information that isn’t displayed on the web page itself
<body></body> Sets off the visible portion of the document


<br> Line Break, in Dreamweaver, press “shift+enter” (or “shift+return”)
<hr> Horizontal Rule
&nbsp; - Special code that creates and empty space (non-breaking space)

HTML Formatting Rules (replaced by CSS)

<font color=”name of color”></font> Change Font Color
<b></b> Change style to bold
<i></i> Change style to italic

Wayne Joness
West Los Angeles College, cs952