Click here to get back home

Replacing name with id

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Replacing name with id Eric Lindsay 01-05-2008
Posted by Eric Lindsay on January 5, 2008, 11:45 pm
Please log in for more thread options
I have a bunch of old web pages now in HTML 4.01 Strict I update every
now and then with revised material. They were written back when using <a
name=" was the normal method of including an anchor. Most of the
internal anchors follow a very standard layout, and are associated with
an h3 heading.

I was wondering whether there was any reason not to change these <a
name=" anchors to <h3 id=" anchors? I gather that all recent browsers
work fine with id on any element as an anchor. I also gather that name
is deprecated in one or another of the XHTML versions I am not yet using
due to IE. I did think it might be handy in future to be a little closer
to XHTML, if I do decide I am tired of catering to IE.

I would be making other global changes to all the pages, so this change
simply adds another few sets of global replacements to my work.

--
http://www.ericlindsay.com

Similar ThreadsPosted
css replacing tables August 23, 2004, 11:16 am
Replacing outdated tag attributes June 15, 2006, 6:23 pm
About charset setting and replacing July 14, 2006, 6:29 am
replacing innerHTML in xhtml July 28, 2008, 4:49 am
Replacing links en masse on an ftp accessible server only March 10, 2008, 3:35 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap