HTML 3.2(ish) Sampler
The purpose of this document is to have a source of correctly written HTML bits and pieces that can be copied when writing a new page if required. Parts of the document are not valid HTML 3.2, these are indicated in red, they are there to check different browsers' performance on off-beat code. It is also to have a standard sheet of all the things in HTML 3.2 to see how they come out on other browsers. The trick of showing the page centred on a wide screen with a brown background ain't valid either, but it makes it much more readable.
If you could make use of Lorum Ipsum, then you can download text files here for inclusion in whatever DTP projects you've got on. Just download, cut to size and paste in place.
1 kbyte-155 Words, 5 kbytes-753 Words, 10 kbytes-1512 Words, 50 kbytes-7585 Words.
This whole document should have a grey speckled background in a 256 colour screen mode, and this writing only should be dark green.
This is the table's caption
This is a manipulated table
|
The side columns have "pixel fixed" width of 50, and an to force the cell's border to show on the left of the Lorem Ipsum only (in theory).
|
Here is some writing written to fill up this little box
|
This is 1k of justified Lorem Ipsum for size.(Justification is not valid HTML 3.2)
|
|
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In hac habitasse platea dictumst. Suspendisse condimentum. Ut fermentum eros nec justo. Ut mi est, tristique quis, convallis et, accumsan vel, mauris. In placerat. Nunc blandit luctus nibh. Sed rutrum, felis nec lacinia vulputate, purus risus hendrerit mi, vel dictum dui sapien vel tellus. Etiam vestibulum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Suspendisse purus justo, gravida sed, ultricies eget, convallis nec, wisi. Mauris purus. Duis pulvinar tortor ac ante. Quisque tempor, turpis non porttitor semper, ipsum est rhoncus erat, quis consequat eros sem non sapien. Etiam blandit, quam sit amet porta iaculis, wisi dolor semper ipsum, quis lobortis nulla velit sed pede. Sed semper, enim sed rutrum pretium, nibh ipsum condimentum ante, vitae sagittis nunc augue id lorem. Pellentesque facilisis nulla ut magna. Ut vel massa. Integer malesuada scelerisque est. Quisque nunc. In sapien. Donec vestibulum. Ut lacinia ante vel ante.
. . Back |
|
This is a table too, with this caption aligned to the bottom
This is highlight No.1
This is highlight No.2
This is highlight No.3
This is highlight No.4
This is highlight No.5
This is highlight No.6
|
This is me
|
There should be a coloured button here:
followed by this text, all on the same line.
Here is some text in <font size=7>.
This is in size 6 for comparison.
This is in size 5 for comparison.
This is in size 4 for comparison.
This is in size 3 for comparison.
This is in size 2 for comparison.
This is in size 1 for comparison.
A rather solid line
- Here is an unordered list with no markers defined (ie default)
- Here is an unordered list with disc markers
- First item in the list.
- Second item on the list
with some qualification after a line break.
- Third item on the list.
- Here is an unordered list with square markers
- First item in the list.
- Second item on the list
with some qualification after a line break.
- Third item on the list.
- Here is an unordered list with circle markers
- First item in the list.
- Second item on the list
with some qualification after a line break.
- Third item on the list.
- Here is an ordered list
- First item in the list.
- Second item on the list
with some qualification after a line break.
- Third item on the list,
consisting of the description followed by a paragraph describing what the third item on the list consists of after a paragraph break.
- Fourth item on the list.
- Some very short lists with different effects, firstly <COMPACT> :-
- First item in the list.
- Second item on the list.
- Now <TYPE="a"> :-
- First item in the list.
- Second item on the list.
- Now <TYPE="A"> :-
- First item in the list.
- Second item on the list.
- Now <TYPE="i"> :-
- First item in the list.
- Second item on the list.
- Now <TYPE="I"> :-
- First item in the list.
- Second item on the list.
- And finally, one which starts at seven using <OL START=7> then <LI VALUE=3> :-
- First item in the list.
- Second item on the list.
- Third item in the list.
- Fourth item in the list.
- Here is a definition list
- Item one
- First item in the list.
- Item two
- Second item on the list
with some qualification after a line break.
- Item three
- Third item on the list,
consisting of the description followed by a paragraph describing what the third item on the list consists of after a paragraph break.
- Item four
- Fourth item on the list.
Ranging and Justification
This sentence is ranged left
This sentence is ranged centre
This sentence is ranged right
If you're lucky this will be justified to fill the complete line so that the right hand margin is not ragged, but beautifully smooth and straight. Not all browsers can handle this, and it's definately not in the HTML 3.2 specification, so use it for finesse, not as an essential part of a page's layout. However it can add that final touch of beauty to an already very nice page. The next trick is to fit in the images using < . . hspace=8 vspace=4 . . > to clear some room round them. The one on the left is called after the word "finesse" above, the one on the right is called after the full stop at the end of this sentence. Using < align=top/middle/bottom > can not be done when embedded like this. Unfortunately you can not embed a picture into the middle of some text and have the text flow round both sides of it - - what do you want, a DTP package? Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In hac habitasse platea dictumst. Suspendisse condimentum. Ut fermentum eros nec justo. Ut mi est, tristique quis, convallis et, accumsan vel, mauris. In placerat. Nunc blandit luctus nibh. Sed rutrum, felis nec lacinia vulputate, purus risus hendrerit mi, vel dictum dui sapien vel tellus. Etiam vestibulum.
<pre>Pre-formatted text looks like this</pre>
Blockquotes like this : -
<blockquote>
Omit needless words.
Vigorous writing is concise. A sentence should contain no unnecessary words, a paragraph no unnecessary sentences, for the same reason that a drawing should have no unnecessary lines and a machine no unnecessary parts.
- - William Strunk, Jr, 1918
</blockquote>
Addresses look like this : -
Bits of useful HTML/Dan Everard/Dan@DanEverard.co.uk/last revision July 2013
Logical Styles : -
Here is a definition in the <DFN> style.
Here is some emphasised text in <EM> style.
Here is a title shown in <CITE> style.
Here is some code shown in <CODE> style.
Here is a keyboard entry shown in <KBD> style.
Here is a sequence of characters shown in <SAMP> style.
Here is somthing strongly emphasised in <STRONG> style.
And this is a variable done with <VAR> style.
Physical Styles : -
Here is some bold text done in <B> style.
Here is some italic text done in <I> style.
Here is some Typewriter text in <TT> style.
Here is some underlined text in <U> style.
Here is some subscripted text in <SUB> style.
Here is some superscripted text in <SUP> style.
Here is some struck out text in <STRIKE> style.
Both <BIG> and <SMALL> have already been used.
Combinations : -
This is bold-italic and this is italic-bold.
This is <font size=1> with additional super and sub script to check what happens.
This is typewriter text size one and size five.
Character Entities (These are of necessity case sensitive). The red ones do not validate but are useful to check browsers. Changing the background colour within a table cell is also not valid.
& .... &
< ..... <
> ..... >
Æ .. Æ
Á . Á
 .. Â
À . À
Å .. Å
à . Ã
Ä ... Ä
Ç . Ç
Ð .... Ð
É . É
Ê .. Ê
È . È
Ë ... Ë
Í . Í
Î .. Î
Ì . Ì
Ï ... Ï
Ñ . Ñ
Ó . Ó
Ô .. Ô
Ò . Ò
Ø . Ø
Õ . Õ
Ö ... Ö
Þ .. Þ
Ú . Ú
Û .. Û
Ù . Ù
Ü ... Ü
Ý . Ý
|
& .... &
< ..... <
> ..... >
æ .. æ
á . á
â .. â
à .. à
å .. å
ã . ã
ä ... ä
ç . ç
ð .... ð
é . é
ê .. ê
è . è
ë ... ë
í . í
î ... î
ì . ì
ï ... ï
ñ . ñ
ó . ó
ô .. ô
ò . ò
ø . ø
õ . õ
ö ... ö
þ .. þ
ú . ú
û .. û
ù . ù
ü ... ü
ý . ý
ÿ ... ÿ
|
ß .. ß
" ... "
– .. –
— .. —
  ... (Short hard space)
  ... (Long hard space)
... (Non-breakable space)
© ... ©
™ .. ™
® .... ®
¡ .. ¡
£ .. £
¥ .... ¥
¦ . ¦
§ ... §
« .. «
» .. »
¬ .... ¬
° .... °
± . ±
¹ ... ¹
² ... ²
³ ... ³
µ .. µ
¶ ... ¶
· . ·
¼ . ¼
½ . ½
¿ . ¿
¾ . ¾
|
Form Bits :
(The form script is disabled at the moment)
The trick to open a new window for the colours is not in the spec. It uses a property of FRAMES to achieve this.
Link to HTML 3.2 Reference Specification (124k).
The W3C Validation Service (This document validates, except where marked in red!).
|
Originally created on Acorn Archimedes 440/1 (Updated on Acorn Kinetic RiscPC and VirtualAcorn) |
This document © DanE latest update and validation 29th June 1999 then updated again in July 2013
| |
|