Re: standards and <div> / <span> elelements

----- Original Message ----- 
From: "Vadim Plessky" <lucy-ples@mtu-net.ru>
To: "Ian Hickson" <ian@hixie.ch>
Cc: <www-style@w3.org>
Sent: Monday, August 19, 2002 2:57 PM
Subject: standards and <div> / <span> elelements


> |
> |     <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
> |     <html lang="english">
> 
> <head> is missing
> 
> |     <title>Written by Ian Hickson</title>
> 
> </head> and <body> are missing here.
> 
> |     <h1>Current weather in <cite>Berlin, Germany</cite></h1>
> |     <p>There are thunderstorms in Berlin at the moment. The air is very
> |     humid. The temperature is a warm 24&deg;C.
> |     <img src="icons/low-wind" alt="low wind icon">
> |
> 
> closing tags for <body> and <html> are missing


All of those are optional. The document is 'valid' in your
sense of the word, however the usage of some of the elements
is not correct.

I believe the mistakes are lang="english" instead of
lang="en", a misuse of <title>, a misuse of <cite>
and the alt attribute not being an adequate replacement
for its image.


 David Emmerson.

Received on Monday, 19 August 2002 14:43:37 UTC