<html> <head> <title>Document name goes here</title> </head> <body> Visible text goes here </body> </html>
Text Elements
1 2 3 4
<p>This is a paragraph</p> <br> (line break) <hr> (horizontal rule) <pre>This text is preformatted</pre>
Logical Styles
1 2 3
<em>This text is emphasized</em> <strong>This text is strong</strong> <code>This is some computer code</code>
Physical Styles
1 2
<b>This text is bold</b> <i>This text is italic</i>
Links, Anchors, and Image Elements
1 2 3 4 5
<ahref="http://www.example.com/">This is a Link</a> <ahref="http://www.example.com/"><imgsrc="URL"alt="Alternate Text"></a> <ahref="mailto:webmaster@example.com">Send e-mail</a>A named anchor: <aname="tips">Useful Tips Section</a> <ahref="#tips">Jump to the Useful Tips Section</a>