![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Maybe it's just me, but this seems a little silly.... At the top of my page, I have a list of topics and they link to "bookmarks" later down the page. My id tags were flagged because they have to be a single token (I assume that means a single word ....not a phrase). So I change all of the id's and make sure to update all of the href="# . The next time I go to validate, I get slammed because the id and name tag have to be the same. I don't understand the logic here and I'm also wondering whether, with certain browsers (or screen readers), this is going to cause a lot of repetition. Any comments ? What's the logic here ? (I haven't tried just coding one or the other...just id or just name...wonder whether that would have been a timesaver.) Fred |
#3
| |||
| |||
|
|
Fred <freddielives (AT) hotmail (DOT) com> wrote: On Thu, 17 Jul 2003 11:11:42 -0400, Fred <freddielives (AT) hotmail (DOT) com wrote: Maybe it's just me, but this seems a little silly.... At the top of my page, I have a list of topics and they link to "bookmarks" later down the page. My id tags were flagged because they have to be a single token (I assume that means a single word ....not a phrase). So I change all of the id's and make sure to update all of the href="# . The next time I go to validate, I get slammed because the id and name tag have to be the same. I don't understand the logic here and I'm also wondering whether, with certain browsers (or screen readers), this is going to cause a lot of repetition. Any comments ? What's the logic here ? (I haven't tried just coding one or the other...just id or just name...wonder whether that would have been a timesaver.) Fred Sorry...maybe this is a moot point...but I failed to mention that name= validates when coded with multiple words. Fred URL? |
#4
| |||
| |||
|
|
I thought this was something that could be addressed simply from the description I've provided and someone else's practical experience. |
#5
| |||
| |||
|
|
Come now, while for most problems a real URL is needed, the basic question is simple enough to be answered without needing one. |
|
The simple answer is that when the id attribute and the name attribute are both used on the same anchor element they must have the same value. |
|
As for why this is so, here is the explanation. |
![]() |
| Thread Tools | |
| Display Modes | |
| |