Home -
Gallery
Geology
Music
Software
Hiking
Links
Sport
What?
Projects Sources V4 Flightsim Joystick Workshop HpWiz PubWiz HV Hardw Access Ostern Crash.htm Quickref.htm Jargon.htm |
Page 369 of 401
< > |
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>
<a href="argument">
text
</a>
An HTML document is composed of a single element:
<html>
. . . </html>
that is, in turn, composed of head and body elements:
<head>
. . . </head>
and
<body>
. . . </body>
To allow older HTML documents to remain readable, <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>
<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>
<a href="URL?search_word+search_word">
. . .
</a>
Required attributes for anchors: one of name
or
href
.
Optional attributes: rel, rev, urn, title, methods
. Note that
not all methods
are valid attributes to an anchor.
The structure of a Universal Resource Locator (URL) is similar to:
where the possible resource types include: file, http, news, gopher, telnet, and wais, and the colon followed by the TCP port number is optional. A more complete description is presented in http://info.cern.ch/hypertext/WWW/Addressing/Addressing.html
<h1>
. . .
</h1>
Most prominent header
<h2>
. . .
</h2>
<h3>
. . .
</h2>
<h4>
. . .
</h4>
<h5>
. . .
</h5>
<h6>
. . .
</h6>
Least prominent header
<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>
The <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>
Items should be less than 20 characters long.
&
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:
<!-- text -->
<address>
. . .
</address>
<img src="URL" alt="Alternate Text">
Other possible attributes are : ismap, and align.
The argument for align can be one of top, middle, or bottom.
<br>
<hr>
<link rev="RELATIONSHIP" rel="RELATIONSHIP" href="URL">
rev="made".
<link rev="made" href="URL">
allows the file maker or owner to
be specified in the link "URL". The most common use of this is as follows:
For a tutorial introduction to HTML see: http://www.ncsa.uiuc.edu/demoweb/html-primer.html .
For reference information on HTML see: http://info.cern.ch/hypertext/WWW/MarkUp/MarkUp.html
Michael Grobe
.