T
Tim Streater
thedarkman said:That decision is absolutely ludicrous. What next, a paraplegic suing
for discrimination for being refused a job as a night club bouncer?
As far as I can see, it is not necessary at all to declare a file type
from HTML 5; having said that, leaving aside CSS, what alterations
would you make to the code of the following file? It has 10 errors
and 4 warnings, which I find strange for such a short file.
<HTML>
<HEAD><TITLE>OYSTERS: a poem by Alexander Baron</TITLE></HEAD>
<FONT COLOR="#FF0000">
<h1><i>Oysters</i></h1>
<FONT COLOR="#000000">
<b>
<p>Life was like an oyster without the pearl;
<br>I found it washed up on rocks by the tide.
<br>I prized it open, then stared like a churl
<br>Expectantly - what did I find inside?
<p>Sweet **** all!
<p>[The above was first published in <A
HREF="scat_poem.html"><i>Scatoligicus Eroticum</i></a>, February
1993].
<p>
<A HREF="poetry.html">Back To Poetry Index</A>
<p>
</HTML>
1) <body> and </body> around the body might help.
2) You really want to close your paragraphs with </p>.
3) You don't need the <p> at the end, get rid of it.
4) For HTML5, you should put <!DOCTYPE HTML> as the first line of your
file.
5) HTML reads nicer if you don't put the tags in caps (personal
preference). Like your <h1>.
6) <FONT> is *so* last millennium. And you don't need those blasted <i>,
either. Use a CSS style, in-line if you must, like:
<h1 style="color: red; font-style:italic;">