For a tutorial introduction to HTML see:
For a reference information on HTML see:
HTML is composed of a set of elements that define a document and guide its display. An HTML element may include a name, some attributes and some text or hypertext, and will appear in an HTML document as
<tag_name> text </tag_name>
<tag_name attribute_name=argument> text
</tag_name>, or just
<tag_name>
<title> My Useful Document </title>
<pre width=60> A lot of text here.
</pre>
<html> . . . </html>
<head> . . . </head>
<body> . . . </body>
<html>, <head>, and
<body> are actually optional within HTML documents.
<isindex>
<title> . . . </title>
<nextid>
<link>
<base>
The following sections describe elements that can be used in the body of the document.
<p>
<pre> . . . </pre>
width
<listing> . . . </listing>
<plaintext>
<blockquote> . . . </blockquote>
<a name="target_anchor_name"> . . .
</a>
<a href="#anchor_name"> . . . </a>
<a href="URL"> . . . </a>
<a href="URL#target_string"> . . .
</a>
name or href.
Optional attributes: rel, rev, urn, title, methods.
The structure of a Universal Resource Location (URL) is similar to:
<h1> . . . </h1>
<h2> . . . </h2>
<h3> . . . </h2>
<h4> . . . </h4>
<h5> . . . </h5>
<h6> . . . </h6>
<em> . . . </em>
<strong> . . . </strong>
<code> . . . </code>
<samp> . . . </samp>
<kbd> . . . </kbd>
<var> . . . </var>
<dfn> . . . </dfn>
<cite> . . . </cite>
<b> . . . </b>
<i> . . . </i>
<u> . . . </u>
<tt> . . . </tt>
<dl>
<dt> First term to be defined
<dd> Definition of first term
<dt> Next term to be defined
<dd> Next definition
</dl> <dl> attribute
compact can be used to generate a definition list requiring
less space.
<ul>
<li> First item in the list
<li> Next item in the list
</ul>
<ol>
<li> First item in the list
<li> Next item in the list
</ol>
<menu>
<li> First item in the menu
<li> Next item
</menu>
<dir>
<li> First item in the list
<li> Second item in the list
<li> Next item in the list
</dir>
& specifies the ampersand ( &
), and the entity < specifies the less than ( < )
character. Note that the semicolon following the keyword is required, and
the keyword must be one from the list presented in http://info.cern.ch/hypertext/WWW/MarkUp/Entities.html
<!-- text >
<address> . . . </address>
<img src="URL"> . . . </img>