| 
			
			 | 
		#1 | 
| 
			
			
			
			 Hmm. 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 124 
				Karma: 2016606 
				Join Date: Oct 2015 
				
				
				
				Device: Android 4.2 Google Play Reader 
				
				
				 | 
	
	
	
		
		
			
			 
				
				List of invalid XHTML tags?
			 
			
			
			I want to validate XHTML tags in an input file for the user, and make sure they are allowed in XHTML. Does anyone have a list of HTML tags that are not allowed in XHTML for EPUB2?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Interested in the matter 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 421 
				Karma: 426094 
				Join Date: Dec 2011 
				Location: Spain, south coast 
				
				
				Device: Pocketbook InkPad 3 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | |
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470 
				Karma: 13095790 
				Join Date: Aug 2007 
				Location: Grass Valley, CA 
				
				
				Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Dale  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 629 
				Karma: 1623086 
				Join Date: Jan 2012 
				
				
				
				Device: iPad, iPhone, Nook Simple Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Here's a rough list of disallowed tags: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	applet article aside audio (HTML5) basefont bdi bdo button canvas datalist (HTML5) details (HTML5) dialog (HTML5) dir embed (HTML5) fieldset form figcaption figure font footer (HTML5) form frame frameset header (HTML5) iframe input keygen (HTML5) label legend main (HTML5) mark (HTML5) menu menuitem (HTML5) meter (HTML5) nav (HTML5) noframes noscript object optgroup option output (HTML5) param progress (HTML5) rp (HTML5) rt (HTML5) ruby (HTML5) s script section select source (HTML5) strike textarea time (HTML5) track (HTML5) video (HTML5) wbr (HTML5) And if you ever decide to move to EPUB 3, here's an additional list of disallowed tags: acronym (use abbr) big (use CSS) center (use CSS) small (use CSS) tt (use CSS)  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
| Tags | 
| epub2, html, xhtml | 
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Can I use custom xhtml tags in Sigil? | Doitsu | Sigil | 2 | 09-21-2012 08:51 AM | 
| questions on self-closing tags and legal xhtml in epubs | KevinH | ePub | 5 | 04-23-2012 11:12 PM | 
| deleting tags from available tags list | BeccaPrice | Calibre | 8 | 10-15-2011 12:39 PM | 
| Invalid entries in author dropdown list in 0.8.0 | john_doe | Calibre | 5 | 05-08-2011 06:15 AM | 
| Supported XHTML tags in EPUB | spaze | ePub | 5 | 02-27-2011 10:35 PM |