W3C home > Mailing lists > Public > www-style@w3.org > August 2002

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

From: David Emmerson <david_emmerson@btinternet.com>
Date: Mon, 19 Aug 2002 19:42:14 +0100
Message-ID: <006b01c247b0$26b1d500$8d7001d5@gondor>
To: "Vadim Plessky" <lucy-ples@mtu-net.ru>
Cc: <www-style@w3.org>


----- 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:15 GMT