Return to Homepage
Home : Select HTML Tags

Select HTML Tags

Below you will find a table of select HTML tags you can refer to as you build your web pages. It does not show every tag, but is a list of the most common HTML tags that I use personally. First, a basic lesson on HTML.

What is HTML?

A web page is a plain text file that has been encoded using Hypertext Markup Language (HTML) so that we can view it in a browser. Let's break it down:

  •  Hypertext --Text that you click to jump from document to document. This is a reference to the ability of web pages to link to one another.


  •  Markup --Tags that apply layout an dformatting conventions to plain text. Literally, the plain text is "marked up" with the tags.


  •  Language --A reference to the fact that HTML is considered a programming language.

Let's look at a specific example. In the phrase below, you might want to italicize the word Big. The code would look like this:

Kohl's is having a <i>Big<i> Summer Sale on July 9th.

This is an example of a two-sided tag where there is an opening tag <i> which turns the italics on and a closing tag </i> which turns the italics off. There is always a corresponding closing tag for every opening tag.

Conversely, a one-sided tag does not have a closing tag and it takes arguments. An argument is text within the tag that defines how a tag behaves. For example, when using an image tag (<img>), you have to specify a source, abbreviated src. Here's an example:

<img src="smiley-face.gif">

There is a lot more to HTML than what I have room for here, but it basically comes down to knowing when to use which select HTML tags, where to put them and what arguments or attributes they need.

Anatomy of an HTML Tag

I mentioned above that a web page is a plain text file filled with a bunch of select HTML codes. The codes are usually referred to as HTML tags. The tags indicate where elements, such as formatting, hyperlinks and graphics should be placed, and a web browser interprets those tags and displays the page in its formatted state.

Let's take a closer look at what makes up an individual HTML tag. There are 3 main parts:

Select HTML Tags
  •  Element --An HTML element indicates structure in an HTML document and a way of hierarchically arranging content. Elements may represent headings, paragraphs, hypertext links, lists, embedded media, and a variety of other structures.


  •  Attribute --An element may be followed by an HTML attribute which defines desired behavior or indicates additional element properties and further instructs the browser on how to display the page. Attributes are only contained in the opening HTML tags to the right of the element and are separated by a space and followed by an equal (=) sign.


  •  Value --The specified variable which follows the attribute and is enclosed in quotes.

Select HTML Tags Most Commonly Used

Anyone can create attractive web pages using this list of Select HTML Tags, and others, to format text and objects and to incorporate graphics and hyperlinks. You can use the codes below by simply copying and pasting them into your web pages.

If you would like to print this chart in PDF format click on the button and download the table for a handy select html tags reference guide. Note: You must have Adobe Reader in order to print this chart in PDF format.

Complete HTML Reference Guide


Latest Articles

Free Website Tutorials How To Wrap Text Around Images
Free Website Tutorials Learn to Create a Free Website Template
Free Website Tutorials Free Keyword Analyzer & Excel Macros
Free Website Tutorials How to Create a Web Page Shadow


Follow SandeeLembke on Twitter




[?] Subscribe To This Site

XML RSS
Add to Google
Add to My Yahoo!
Add to My MSN
Subscribe with Bloglines




Tag Name Code Example Browser View
<!-- Comment <!--Everything between these brackets is visible in the HTML document but not on your web page.--> Nothing will show
<a Anchor <a href="http://www.domain.com/"> Get details here.</a> Get details here.
<big> Big (text) <big>Example</big> Example
<body> Body of HTML Document <body>The contents of your HTMLpage</body> Contents of your web page
<br> Line Break Use this tag to create <br> breaks in your content. Use this tag to create
breaks in your content.
<center> Center <center>This tag will center your contents.</center>

This tag will center your contents.

<em> Emphasis This is an <em>Example</em> of using the emphasis tag. This is an Example of using the emphasis tag.
<embed>
Embed Object <embed src="yourfile.com" width="425" height="344" align="center"</embed> You will see the object that you embedded, like a YouTube video.
<font> Font <font face="Verdana" size="2">Example</font> Example
<h1>
<h2>
<h3>
<h4>
<h5>
<h6>
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
<h1>Heading 1 Example</h1>
<h2>Heading 2 Example</h2>
<h3>Heading 3 Example</h3>
<h4>Heading 4 Example</h4>
<h5>Heading 5 Example</h5>
<h6>Heading 6 Example</h6>
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
<head> Heading of HTML Document <head>Contains elements describing the document</head> Nothing will show
<hr> Horizontal Rule <hr width="50%" size="3" /> The gray line in between this content

and this content is the horizontal rule.
<html> Hypertext Markup Language <html>
<head>
<meta>
<title>Title of your web page</title>
</head>
<body>HTML web page contents
</body>
</html>
Contents of your web page
<i> Italic <i>Example</i> Example
<img> Image <img src="image-files/smiley-face.gif" width="16" height="16" border="0" alt="text describing the image" /> Free Website Tutorials
<link> Link <head>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
Nothing will show
<meta> Meta <meta name="Description" content="Description of your site">
<meta name="Keywords" content="Keywords describing your site">
Nothing will show
<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>
Numbered
  1. List item 1
  2. List item 2
  3. List item 3
  4. List item 4
<p> Paragraph <p>This is an example of using the paragraph tag.</p> <p>It creates a line break and a space in between content.</p>

This is an example of using the paragraph tag.

It creates a line break and a space in between content.

<small> Small (text) <small>Example</small> Example
<strike> Deleted Text <strike>Example</strike> Example
<strong> Strong Emphasis <strong>Example</strong> Example
<table> Table <table border="6" cellpadding="6" cellspacing="6" width="100%">
<tr>
<td>Column 1</td>
<td>Column 2 </td>
</tr>
</table>
Column 1 Column 2

Cellpadding is the distance between the text and the CELL border. Cellspacing is the distance between cells.

<td> Table Data <table border="4" cellpadding="4" cellspacing="4" width="100%">
<tr>
<td>Column 1</td>
<td>
Column 2</td>
</tr>
</table>

Column 1 Column 2

<tr> Table Row <table border="2" cellpadding="2" cellspacing="2" width="100%">
<tr>
<td>Column 1</td>
<td>Column 2</td>
</tr>
</table>

Column 1 Column 2

<th> Table Header <div align="center">
<table>
<tr>
<th>Column 1</th>
<th>Column 2</th>
<th>Column 3</th>

</tr>
<tr>
<td>Row 2</td>
<td>Row 2</td>
<td>Row 2</td>
</tr>
<tr>
<td>Row 3</td>
<td>Row 3</td>
<td>Row 3</td>
</tr>
</table>
</div>
Column 1 Column 2 Column 3
Row 2 Row 2 Row 2
Row 3 Row 3 Row 3
<title> Document Title <title>Title of your HTML page</title> Title of your web page will be viewable in Title Bar and Search Results.
<u> Underline <u>Example</u> Example
<ul> Unordered List <ul type="disc">
<li>List item 1</li>
<li>List item 2</li>
<ul type="circle">
<li>List item 3</li>
<li>List item 4</li>
</ul>
</ul>
  • List item 1
  • List item 2
    • List item 3
    • List item 4






Free-Website-Tutorials.com--Copyright© 2009 - 2010