08-24-2013, 06:34 AM | #1 |
Member
Posts: 21
Karma: 10
Join Date: Mar 2013
Device: Kindle
|
Attributed expected?????
Hi,
I have been using the html code <a name=“toc”> at the front of my table of contents which has always worked fine and never been questions. But yesterday I got an error message come up when I went to validate the epub file saying attribute expected, or expected attribute and directing me to the above code. Can anyone tell me what is wrong with the above code and what I need to do to put it right and make it validate please. Thanks Nigel |
08-24-2013, 07:23 AM | #2 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
I believe that you can not use the name attribute with <a>. You need to use id instead in epubs. <a id="toc">
|
Advert | |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Google says privacy should not be expected | fjtorres | News | 76 | 09-16-2013 07:14 AM |
Error expected td or th | jmickey | Conversion | 11 | 04-07-2011 04:14 PM |
Free books attributed to power-mad totalitarian dictator! | ardeegee | Deals and Resources (No Self-Promotion or Affiliate Links) | 5 | 08-10-2010 07:38 PM |
No. of visitors expected | Manishsb | General Discussions | 5 | 08-05-2010 11:20 AM |