HTML Basic
Open up notepad! (Start --> All Program --> Accessories --> Notepad)

<html>
<head>
<title>Document name goes here</title>
</head>

<body>
Visible text goes here
</body>
</html>

Heading Elements
<h1>Largest Heading</h1>
<h2> . . . </h2>
<h3> . . . </h3>
<h4> . . . </h4>
<h5> . . . </h5>

<h6>Smallest Heading</h6>

Text Elements


This is a paragraph</p>

(line break)
<hr> (horizontal rule)
<pre>This text is preformatted</pre>

Logical Styles
This text is emphasized
This text is strong
<code>This is some computer code</code>

Physical Styles
This text is bold
This text is italic
This text is underline

Links, Anchors, and Image Elements
This is a Link
[img]URL[/img]
Send e-mail
A named anchor:
<a name="tips">Useful Tips Section</a>
Jump to the Useful Tips Section

Unordered list
  • First item
  • Next item

Ordered list
  1. First item
  2. Next item


Definition list
<dl>
<dt>First term</dt>
<dd>Definition</dd>
<dt>Next term</dt>
<dd>Definition</dd>
</dl>
Tables
<table border="1">
<tr>
<th>someheader</th>
<th>someheader</th>
</tr>
<tr>
<td>sometext</td>
<td>sometext</td>
</tr>
</table>

Frames
<frameset cols="25%,75%">
<frame src="page1.htm">
<frame src="page2.htm">
</frameset>

Forms
<form action="http://forums.gfxvoid.com/index.php?" method="post/get">
<input type="text" name="lastname" value="Nixon" size="30" maxlength="50">
<input type="password">
<input type="checkbox" checked="checked">
<input type="radio" checked="checked">
<input type="submit">
<input type="reset">
<input type="hidden">

<select>
<option>Apples
<option selected>Bananas
<option>Cherries
</select>

<textarea name="Comment" rows="60" cols="20"></textarea>

</form>

Entities
&lt; is the same as <
&gt; is the same as >
© is the same as ©

Other Elements
&#60;&#33;-- This is a comment --&#62;

<blockquote>
Text quoted from some source.
</blockquote>

<address>
Address 1

Address 2

City

</address>

Click File --&#62; Save As... (index.html)