![]() |
#1 |
Zealot
![]() Posts: 104
Karma: 22
Join Date: Jun 2010
Device: none
|
Attribute 'target' is not declared for element 'a'
Hello,
I have just validated my epub with Flight Crew and get the message: Attribute 'target' is not declared for element 'a' Can anyone tell me what that means, and what I need to do to fix it? Thank you! Alda |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,366
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
It means you need to remove the "target" attribute and its value from the 'a' tag(s) indicated. It's not a valid attribute for xhtml. And it would serve no purpose in epub readers anyway. The '_blank' or '_top' or frame id values that are used there aren't relevant.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | ||
Zealot
![]() Posts: 104
Karma: 22
Join Date: Jun 2010
Device: none
|
Thank you for the quick reply.
So does that mean that this Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,366
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Yep. That's it exactly.
|
![]() |
![]() |
![]() |
#5 |
Zealot
![]() Posts: 104
Karma: 22
Join Date: Jun 2010
Device: none
|
Thank you!
And just FYI for anyone with the same question - I uploaded the ePub to Smashwords before fixing this, and no issues were found, i.e. the file was not rejected. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,366
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Yea, it's probably not a super-critical issue. But it's still nice to see at least one validator declare your epub "Problem Free."
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ePub validation error help "attribute border is not declared for element img | bmacklin | ePub | 12 | 11-06-2015 11:00 AM |
attribute 'name' is not declared for element 'a' | lballas | Sigil | 2 | 01-09-2014 06:03 PM |
blank TOC page - attribute 'link' not declared for element 'body' | wyatt650 | Sigil | 4 | 04-18-2013 01:41 PM |
attribute "valign" is not declared for element 'table' | boksida | Sigil | 15 | 01-27-2013 03:28 PM |
Validation: attribute 'start' is not declared for element 'ol' | WS64 | Sigil | 4 | 10-06-2011 03:15 AM |