Demonstration HTML 1.0 Document
(There's an invisible link called "top" here; it'll be used later in the page.)
- Pages don't have <HTML> or <HEAD> or <BODY> tags. Just a title made using <TITLE></TITLE>. Then the page contents begin.
- Tags are always in uppercase.
- Within the text, "lt;" "gt;" and "amp;" (preceded by an ampersand) are used for "<", ">" and "&".
- Paragraph tags go at the end of each paragraph, rather than the beginning. There is no closing tag.
There are two kinds of lists: Dictionary and Unordered. (Technically, there are also Menu and Directory lists in HTML 1.0, but they render exactly the same as an Unordered list.) Lists can be nested within each other. First a <UL> inside a <DL>:
Now, let's do a <DL> within a <UL>:
- Here's a term to define
- Here's the definition
- Here's another term to define
- The second term's definition
- First Item
- Second Item
- Just a term
- Just a definition
- Just a second term
- Which is what every President wants...
- Third Item
~Links and anchors~
Links within documents were expected to be just as common as links between documents. Here's how internal links were set up in HTML 1.0:
Create an anchor within the document at the desired destination: <A NAME=[Link name]></A>
The link is then called the usual way, using <A HREF=#[Link name]>. Like this. Links to other documents use the standard <A HREF=[document.txt]> or <A HREF=[http://www.xxx.com]> address formula. But unlike the "modern" <A> tag, there are no quotes around the file/anchor names.
Fixed-width characters embedded in a document go between <LISTING></LISTING> tags.
The <PLAINTEXT> tag, does the same thing as the <LISTING> tag for all text between it and the end of the document.
The <ADDRESS></ADDRESS> tags mark out the page author's name and address. Most browsers render this as italics.
The <LISTING> and <ADDRESS> tags can be nested, like so:
Prof. Johann Johannson
123 University Way
State College, London, UK
However, the <ADDRESS> and the <H4> tags can't be used as ersatz <em> or <strong> tags for italics and bolding, as they create empty lines above and below the text they enclose.
~For more information~