Old 30-07-2004, 06:47   #1 (permalink)
Brown
volkswagen yellow & gold
 
Brown's Avatar
 
Join Date: Apr 2003
Location: london, england.
Posts: 6,214
name attr.

Quote:
Originally Posted by w3c
Note that in XHTML 1.0, the name attribute of these elements is formally deprecated, and will be removed in a subsequent version of XHTML.
so, what's the score with creating a list of faq's - load of questions at the top, jumping to the answers down below.

cheers,.
  Reply With Quote
Old 30-07-2004, 07:07   #2 (permalink)
smallbeer
I Ain't Losing Any Sleep™
 
Join Date: Apr 2003
Posts: 5,236
AFAIR, you have to use id instead of name.

Problem is it's not very backwards-compatible as old versions of IE and Netscape still use name.

If you want backwards compatibility you might have to go for a transitional DTD. That way you can still use both.
Code:
<a name="faq1" id="faq1">FAQ 1</a>
__________________
That's fuckin' ingenious, if I understand it correctly. It's a Swiss fuckin' watch.
  Reply With Quote
Old 02-08-2004, 05:29   #3 (permalink)
dan
Iris Folder
 
dan's Avatar
 
Join Date: Apr 2003
Location: smokey
Posts: 2,672
and you target them using...

<a href="#test1">test 1</a>
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8