Posted by Barbara de Zoete on 02/06/06 01:35
On Mon, 06 Feb 2006 00:23:33 +0100, John Salerno
<johnjsal@NOSPAMgmail.com> wrote:
> Jukka K. Korpela wrote:
>
>> compare <h2 id="foo">...</h2>
>
> You can do that?
Yes, you can do that. How else would you use the id attribute with an
element?
<URL:http://www.w3.org/TR/html401/struct/global.html#adef-id>
> The book I just read did it this way:
>
> <h2><a id="foo">...</a></h2>
Throw away that book. Use
<URL:http://www.w3.org/TR/html401/index/elements.html>
<URL:http://www.w3.org/TR/html401/index/attributes.html>
for quick reference to the correct use of elements and attributes with
HTML4.01 (preferrably Strict).
--
______PretLetters:
| weblog | http://www.pretletters.net/weblog/weblog.html |
| webontwerp | http://www.pretletters.net/html/webontwerp.html |
|zweefvliegen | http://www.pretletters.net/html/vliegen.html |
Navigation:
[Reply to this message]
|