Website Class | Registration Request | Free Website Software & Tools | Website Color Schemes | Contact Us | Home


Betabasics Small Business Website Training

HTML website training class

Basic Hypertext Markup Language (HTML Codes)


Basic Structure & Formatting


<html>...</html>

Encloses the entire HTML document.

<head>...</head>

Encloses the header of the HTML document.

<title>...</title>

Indicates the title of the document. Used within <HEAD>.

<body>...</body>

Encloses the body of the HTML document.

<p>...</p>

Paragraph. Ends the paragraph with a blank line.

<br>

Line break. Starts a new line.

<hr>

Horizontal rule line.

<h1>...</h1>

First-level heading (biggest font).

<h2>...</h2>

Second-level heading.

<h3>...</h3>

Third-level heading.

<h4>...</h4>

Fourth-level heading.

<h5>...</h5>

Fifth-level heading.

<h6>...</h6>

Sixth-level heading (smallest font).

Text Formatting


<b>...</b>

Boldface text.

<i>...<i>

Italic text.

<sub>...</sub>

Subscript.

<sup>...</sup>

Superscript.

<strike>...</strike>

Puts a strikethrough line in text.

<font>...</font>

Controls the font of the enclosed text.

size="..."

Font size. From 1 to 7. The default is 3. Can also be specified as a value relative to the current size; for example, +2 or -1. Include in tags. For example, <font size="7">.

color="..."

Changes the color of the text. Include in tags. For example, >font color="red">.

Special Characters


&amp;

Ampersand (&).

&quot;

Double quote (").

&copy;

Copyright (©).

&lt;

Less than (<).

&gt;

Greater than (>).

Other


<a>...</a>

With the HREF attribute, creates a link to another document or anchor; with the NAME attribute, creates an anchor that can be linked to.

href="..."

The address of the document and/or anchor point to link to.

Valid HTML 4.01 Transitional