The text above consists of the following:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <LINK REV="made" HREF="mailto:af380@chebucto.ns.ca"> <TITLE>Norman De Forest's HTML Sampler</TITLE> </HEAD> <BODY> <img src="flasher8.gif" HSPACE=20 VSPACE=20 alt="[=||=]> <H1><A NAME="part1">What's up front?</A></H1>
What's up front?
Headings.
Paragraphs.
Character Styles.
-- Logical Styles.
-- Physical Styles.
Graphics.
Preformatted text.
Forced line breaks and horizontal lines.
Lists.
-- Unordered Lists.
-- Ordered Lists.
-- Definition Lists.
-- Nested Lists.
Special Characters.
-- Errors caused by '&' in URLs.
Image-Maps and Adding Images to Make a Website Text-Friendly
(on separate page).
Other HTML Resources.
-- Some starting points.
-- Tutorials.
-- References.
-- Validating Your HTML.
-- Resources and Tools.
-- The "Any Browser" Campaign.
Accessibility.
-- Designing an Accessible Web Site.
-- Validation and Accessibility Checking.
Miscellaneous Rants and Raves on Web Design.
Legal Information.
Miscellaneous Links on Web design and Resources
That I Have Not Yet Sorted.
Exit.
<H1>Heading, Type One.</H1> <H2>Heading, Type Two.</H2> <H3>Heading, Type Three.</H3> <H4>Heading, Type Four.</H4> <H5>Heading, Type Five.</H5> <H6>Heading, Type Six.</H6>
<P>This is a paragraph of text typed in with the words squeezed close together as much as possible. The browser will format the text as it sees fit with no regard for multiple spaces or line breaks.</P> <P> This is a paragraph of text typed in with the words spaced far apart as much as is practical for this demo. The browser will format the text as it sees fit with no regard for multiple spaces or line breaks. </P> <P> Notice how the paragraphs are separated BUT any physical separation that you put in your text is ignored. Especially note that this sentence and the one above are in the same paragraph even though they appear to be separate paragraphs in the source text. </P>
This is a paragraph of text typed in with the words squeezed close together as much as possible. The browser will format the text as it sees fit with no regard for multiple spaces or line breaks.
This is a paragraph of text typed in with the words spaced far apart as much as is practical for this demo. The browser will format the text as it sees fit with no regard for multiple spaces or line breaks.
Notice how the paragraphs are separated BUT any physical separation that you put in your text is ignored. Especially note that this sentence and the one above are in the same paragraph even though they appear to be separate paragraphs in the source text.
<P>The use of the text, not the look, is important for Logical Styles. <EM> This is Emphasized. </EM> <STRONG> This is Stronger Emphasis! </STRONG> <CODE> This is used for examples of computer code. </CODE> <SAMP> Sample text is similar to code and MAY be shown the same way.</SAMP> <KBD> Text showing keyboard input may also look like code. </KBD> <VAR> Variable text to be replaced with actual values may look like code with some browsers and be shown in italics with others. </VAR> <DFN> Words that have just been defined or are about to are often shown in bold with some browsers. </DFN> <CITE> Citations are sometimes shown in italics. </CITE> </P>
The use of the text, not the look, is important for Logical Styles.
This is Emphasized.
This is Stronger Emphasis!
This is used for examples of computer code.
Sample text is similar to code and MAY be shown the same
way.
Text showing keyboard input may also look like code.
Variable text to be replaced with actual values may look like
code with some browsers and be shown in italics with others.
Words that have just been defined or are about to are often shown
in bold with some browsers.
Citations are sometimes shown in italics.
<P>The physical styles dictate the appearance BUT may not be supported by all browsers or substitutions in style may be made: <B>This is nominally Boldface but may be underlined with some browsers.</B> <I>This is nominally Italics but may be underlined with some browsers.</I> <TT>This is nominally a typewriter (TeleType) font but may not show up with all browsers</TT> </P>
The physical styles dictate the appearance BUT may not be supported by all browsers or substitutions in style may be made: This is nominally Boldface but may be underlined with some browsers. This is nominally Italics but may be underlined with some browsers. This is nominally a typewriter (TeleType) font but may not show up with all browsers
<IMG SRC="flasher1.gif" ALT=" || "> <P>Aligned... <IMG SRC="flasher1.gif" ALIGN=TOP ALT=" || "> Top.</P > <P>Aligned... <IMG SRC="flasher2.gif" ALIGN=MIDDLE ALT=" [=||=] "> Middle</P> <P>Aligned... <IMG SRC="flasher7.gif" ALIGN=BOTTOM ALT=" || "> Bottom</P>
Aligned... Top.
Aligned... Middle
Aligned... Bottom
<p>Although rarely seen and not supported by all browsers (Firefox and Opera on my computer do support it, Internet Explorer version 6 doesn't), images and other data (see <a href="http://www.faqs.org/rfcs/rfc2397.html">RFC 2397</a>) can be included directly on a web page without any additional image file:</p> <p> <img src="data:image/gif;base64,R0lGODlhYABGAIAAAAAAAP%2F%2F%2FywAAAAAYABGAEAC%2FoSP qcvtD6OcNBirMKa8V7CBHhJa4YhGJ7OKUJvGC5wE9mHTpMzH%2Bf3T9YbEovGITEo2TJzTdXlCm1BlM vizaqOvy63aEG4fYjCXPEaVTc51eoSNM78gefA9bFFr%2BElWunNWV%2FInyEZFh7e3KMV4ttcXKTlJ OaZX2WOXI%2FikmYiZkXiZMUPyCYojWkrK6lU26dbq8AqrsoqGymLbFJsrqxsFCezbwQtIXMQWjMwMO kpa0ghI%2BHiM9Bw4JW0YSCfcDJ7yPPe5uT1IG66%2Bzt4eie3OkcVrHu9XzZWO7GbcFX4yzhoYfYqq 2JkhZwfBNMpcYUEYR%2BE%2FPr84cVr4ple2hFnqNAqsSMyjxVvN%2BM2zNbFLP1zgxNy5w7Lki3mFw nT0J%2BIbSHsrMfJs89HeLqBC%2FbxsA7MoxIcOkyp9OrMejRX1tLk6N8gSyXMBp2kIem1r01uQotXB emWpo6tcvXn1CTVX1UVVs5oidIpSV6tm%2BOqUtLdhK0Zwr5VTZeiw2b5xGystAAA7" alt="Flashing [=||=] Cursor"> </p>
Although rarely seen and not supported by all browsers (Firefox and Opera on my computer do support it, Internet Explorer version 6 doesn't), images and other data (see RFC 2397) can be included directly on a web page without any additional image file:
This is some text that was typed in four columns of text. <PRE> This is some text that was typed in four columns of text. </PRE> This is some text that was typed in four columns of text.
This is some text that was typed in four columns of text.This is some text that was typed in four columns of text.
This is one line of text. This is another line of text. This is a third line of text. <HR> This is one line of text.<BR> This is another line of text.<BR> This is a third line of text.
<UL> <LI>First Item. <LI>Second Item. <LI>Third Item. <LI>You guessed it, Fourth Item. <LI>and Fifth and Last Item. </UL>
<OL> <LI>First Item. <LI>Second Item. <LI>Third Item. <LI>You guessed it, Fourth Item. <LI>and Fifth and Last Item. </OL>
<OL start="7"> <LI>First Item. <LI>Second Item. <LI>Third Item. <LI>You guessed it, Fourth Item. <LI>and Fifth and Last Item. </OL>
<OL type="1"> <LI>First Item. <LI>Second Item. <LI>Third Item. <LI>You guessed it, Fourth Item. <LI>and Fifth and Last Item. </OL>
<OL type="A"> <LI>First Item. <LI>Second Item. <LI>Third Item. <LI>You guessed it, Fourth Item. <LI>and Fifth and Last Item. </OL>
<OL type="a"> <LI>First Item. <LI>Second Item. <LI>Third Item. <LI>You guessed it, Fourth Item. <LI>and Fifth and Last Item. </OL>
<OL type="I"> <LI>First Item. <LI>Second Item. <LI>Third Item. <LI>You guessed it, Fourth Item. <LI>and Fifth and Last Item. </OL>
<OL type="i"> <LI>First Item. <LI>Second Item. <LI>Third Item. <LI>You guessed it, Fourth Item. <LI>and Fifth and Last Item. </OL>
<DL> <DT>Coffee. <DD>One of the four major food groups. <DT>Toilet paper. <DD>Remember, the job's not over until the paper-work is finished. <DT>Light bulbs. <DD>The subject of dozens of "How many ... ?" jokes on the Internet. </DL>
<DL compact> <DT>Coffee. <DD>One of the four major food groups. <DT>Toilet paper. <DD>Remember, the job's not over until the paper-work is finished. <DT>Light bulbs. <DD>The subject of dozens of "How many ... ?" jokes on the Internet. </DL>
<UL> <LI>First item <LI>Second item <UL> <LI>First subsection of item two <LI>Second subsection of item two </UL> <LI>Item three </UL>
<OL> <LI>First item <LI>Second item <OL> <LI>First subsection of item two <LI>Second subsection of item two </OL> <LI>Item three </OL>
<UL> <LI>First item <LI>Second item <OL> <LI>First subsection of item two <OL> <LI>Part one <LI>Part two </OL> <LI>Second subsection of item two </OL> <LI>Item three </UL>
<DL> <DT>Animal: <DD>Mammals: <OL> <LI>Giraffes. <LI>Bears. <LI>Skunks. </OL> <DD>Birds: </OL> <LI>Storks. <LI>Robins. </OL> <DD>Fish: <OL> <LI>Trout. <LI>Cod. <LI>Salmon. </OL> <DT>Vegetable: <DD>Trees. <DD>Moss. <DT>Mineral: <DD>Quartz. <DD>Feldspar. </DL>
<P>Normal, <B>Bold</B>, <CODE>Code</CODE></P> <P>Normal, <B>Bold</B>, <CODE>Code</CODE></P> <P>Quote: ", Less-Than: <, Greater-Than: >, Ampersand: &</P>
Normal, Bold, Code
Normal, <B>Bold</B>, <CODE>Code</CODE>
Quote: ", Less-Than: <, Greater-Than: >, Ampersand: &
Other special characters may not be displayable with all browsers or all terminals or terminal emulators so I have another page for the extended characters outside of the printable ASCII range, a new and improved version with entity names as well as numbers, and a chart of new entity names for some Unicode characters and a table of suggested Unicode replacements for Windows characters that are not as operating system specific as the Windows characters.
You may be surprised to know how many character entity names are supported by the lynx text-only browser. There are two sets of entity names that can be compiled into lynx. One includes the standard entity names and the other includes all of the standard names plus entity names from other sources as well as those in the HTML standard.
A consolidated list of character entity names used by a variety of
SGML-type applications (including standard and non-standard HTML) can be
found on the Unicode web site at:
http://www.unicode.org/Public/MAPPINGS/VENDORS/MISC/SGML.TXT
Any script that generates URLs with parameters in the form:
http://domain/path/script-name?var1=param1&var2=param2&...
should always use "&" instead of "&" because the variable name could be an entity currently recognised by lynx or one that will be recognised in the future and lynx would recognise "&var=" as an entity followed by "=" and misinterpret the parameter as the wrong character. (Remember that the trailing ';' in an HTML character entity is optional if the following character is not a letter or digit.) While Netscape and Internet Explorer are behind lynx in this regard, they could recognise more entity names in the future as well.
I have already seen this problem with:
"&image=" (to select an image)
being interpreted as "ℑ"
(imaginary 'i') + "=",
"&lang=" (language)
being interpreted as "〈"
(left angle bracket) + "=",
"&prod=" (product -- as in commercial product such as toilet paper)
being interpreted as "∏"
(mathematical product sign -- result of a
series of multiplications) + "=",
"&bull=" (bulletin)
being interpreted as "•"
(bullet) + "=".
(I am tempted to say that the page was just a lot of bull -- but I won't)
and
"&part=" (part -- of a multi-part thread or set of web pages)
being interpreted as "∂"
(mathematical partial differential) + "=".
Google (at the time of this writing, Oct 21, 2003) uses "&num=" to
specify the number of entries to display and lynx recognises "#"
as the non-standard entity for '#' so the "&num=" is interpreted as
"#=", preventing lynx users from
following the links that use this unless they edit the URL.
Microsoft's Links and contacts "a-d" page in the "typography" section of their site has a problem with "&part=" with the links to the "e-i", "j-n", "o-s", and "t-z" sections of the site with the lynx browser interpreting the links as:
See RFC 1866 - Hypertext Markup Language - 2.0, section 8.2.1 at one of these locations for more on this:
The latest offender I have encountered is Elections Canada. A multitude of hyperlinks on their site use "...&lang=..." instead of "...&lang=..." and lynx (correctly) interprets the "&lang" as a left angle bracket. A snapshot of their page taken on June 9, 2004 before editing it. Note: When lynx here is used to "print" the page source, it adds the following two lines at the top of the file:
<!-- X-URL: http://www.elections.ca/home.asp?textonly=false --> <BASE HREF="http://www.elections.ca/home.asp?textonly=false">
and the "references" at the bottom:
References 0. http://www.elections.ca/home.asp?textonly=false
Another snapshot of their page after editing it to correct that error.
The Science Fiction Writers of America have a page on their Web Site with information on writing HTML. You might find THAT helpful.
You may wish to consider how your page can be accessed by the visually impaired. (Note that anything you do to make your site more accessable for the blind will probably make your site rank higher in search-engines. Search-engines such as AltaVista don't index on images but on text. A web page full of nothing but pictures and links using images as labels with no ALT text is not only a problem for the blind but will also have no text content for search-engines to index.) Design considerations for accessible Web pages are provided by these sites:
There is now a newsgroup dedicated to the topic of accessable web design, alt.html.web-accessibility that may be worth checking out as a good place to ask (or answer) questions about designing accessable web sites. Other newsgroups that may be of interest are:
Another thing to consider is the legality of what you put on your web site or download from others' web sites. The Oppedahl & Larson Patent Law Web Server is host to the Web Law FAQ, which covers such subjects as "May I freely link to the Web sites of others?" and the propriety of using others' images on your site.
Webmaster: Norman De Forest, <af380@chebucto.ns.ca>