![]() |
![]() |
Dick Roose |
![]()
Post
#1
|
Newbie ![]() Group: Members Posts: 11 Joined: 11-April 09 Member No.: 8,289 ![]() |
Hi All,
I have got my first problem solved but had to learn a lot more than I wanted to. Although the attached code looks correct to me, it doesn't work. Can anyone tell me why? Thanks The single most important criteria for all human decisions is ... "Is it good for Earth's children?" Dick Roose This post has been edited by Dick Roose: Aug 16 2010, 12:21 AM Attached File(s) ![]() |
![]() ![]() |
pandy |
![]()
Post
#2
|
🌟Computer says no🌟 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 20,732 Joined: 9-August 06 Member No.: 6 ![]() |
Hi
![]() It's because NAME doesn't exist as an element. It's an attribute for A. Like this: HTML <h2><a name="chp1">Introduction</a></h2> There's no need to use named anchors anymore though. The browsers that need them are so old now, that you can safely ignore them. You can give the H2 an id and link to it in the way you already do. HTML <h2 id="chp1">Introduction</h2> |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 27th April 2024 - 02:39 AM |