View Single Post
Old 05-16-2009, 03:25 AM   #7
pepak
Guru
pepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura about
 
Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
Quote:
Originally Posted by rogue_ronin View Post
I'm looking for something myself that will just simplify the (X)HTML to basic <P align>, <H# align>, <BR>, <B>, <I>, <U>, <IMG>, <A>, <A HREF>, <CODE> and <BLOCKQUOTE> (is anything else necessary for most books?)
Generally, I keep to the tags you described, except that:
- I don't use attributes if I can avoid them
- I use <strong> instead of <b> and <em> instead of <i>
- I use <whatever id="..."> instead of <a name="...">
- <span> and <div> can be useful for styling
- I make sure to add class="..." to everything that can be reasonably identified, e.g. <blockquote class="poem"> or <em class="thought"> or <a class="note" href="#note-1">1</a>
pepak is offline   Reply With Quote