Reply to Re: Using id or name?

Your name:

Reply:


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 |

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация