Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 12-22-2015, 11:28 AM   #1
crankypants
Hmm.
crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.
 
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?
crankypants is offline   Reply With Quote
Old 12-22-2015, 12:29 PM   #2
jbacelar
Interested in the matter
jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.
 
jbacelar's Avatar
 
Posts: 421
Karma: 426094
Join Date: Dec 2011
Location: Spain, south coast
Device: Pocketbook InkPad 3
http://www.idpf.org/epub/20/spec/OPS...htm#Section2.0
jbacelar is offline   Reply With Quote
Old 12-22-2015, 04:31 PM   #3
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
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:
Originally Posted by crankypants View Post
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?
The allowed entries are in our wiki ePub.

Dale
DaleDe is offline   Reply With Quote
Old 12-22-2015, 04:33 PM   #4
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
dgatwood's Avatar
 
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)
dgatwood is offline   Reply With Quote
Reply

Tags
epub2, html, xhtml

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I use custom xhtml tags in Sigil? Doitsu Sigil 2 09-21-2012 07:51 AM
questions on self-closing tags and legal xhtml in epubs KevinH ePub 5 04-23-2012 10:12 PM
deleting tags from available tags list BeccaPrice Calibre 8 10-15-2011 11:39 AM
Invalid entries in author dropdown list in 0.8.0 john_doe Calibre 5 05-08-2011 05:15 AM
Supported XHTML tags in EPUB spaze ePub 5 02-27-2011 09:35 PM


All times are GMT -4. The time now is 08:48 PM.


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