|  01-30-2015, 07:10 AM | #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 | 
|   |   | 
|  01-30-2015, 07:39 AM | #2 | 
| Grand Sorcerer            Posts: 28,880 Karma: 207000000 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 | |
|  | 
|  01-30-2015, 07:45 AM | #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: 
 | ||
|   |   | 
|  01-30-2015, 08:28 AM | #4 | 
| Grand Sorcerer            Posts: 28,880 Karma: 207000000 Join Date: Jan 2010 Device: Nexus 7, Kindle Fire HD | 
			
			Yep. That's it exactly.
		 | 
|   |   | 
|  01-30-2015, 08:36 AM | #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 | |
|  | 
|  01-30-2015, 08:49 AM | #6 | 
| Grand Sorcerer            Posts: 28,880 Karma: 207000000 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."    | 
|   |   | 
|  | 
| 
 | 
|  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 |