Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 01-30-2015, 07:10 AM   #1
Alda
Zealot
Alda began at the beginning.
 
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
Alda is offline   Reply With Quote
Old 01-30-2015, 07:39 AM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
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.
DiapDealer is online now   Reply With Quote
Advert
Old 01-30-2015, 07:45 AM   #3
Alda
Zealot
Alda began at the beginning.
 
Posts: 104
Karma: 22
Join Date: Jun 2010
Device: none
Thank you for the quick reply.

So does that mean that this

Quote:
<a href="http://www.twitter.com/aldakalda" target="_blank">twitter.com/aldakalda</a>
should become this:

Quote:
<a href="http://www.twitter.com/aldakalda">twitter.com/aldakalda</a>
?
Alda is offline   Reply With Quote
Old 01-30-2015, 08:28 AM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,366
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Yep. That's it exactly.
DiapDealer is online now   Reply With Quote
Old 01-30-2015, 08:36 AM   #5
Alda
Zealot
Alda began at the beginning.
 
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.
Alda is offline   Reply With Quote
Advert
Old 01-30-2015, 08:49 AM   #6
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
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."
DiapDealer is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 08:45 AM.


MobileRead.com is a privately owned, operated and funded community.