View Single Post
Old 12-01-2011, 06:02 PM   #13
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by Artha View Post
The same way <center> was removed from the specifications also <i> and <b> should go away.
<i> and <b> are part of XHTML (EPUB2) and they made it into HTML5 (EPUB3). Also they are not marked as deprecated in either.

Quote:
Originally Posted by Artha View Post
They mark a particular way of showing things. And that is up to the CSS.
That is entirely how you want to look at it. The fact of the matter <i> and <b> are valid tags for adding italic and bold.


Quote:
Originally Posted by Artha View Post
So far <em> defaults to <i> on all browsers I have tested and <strong> to <b>.
This is how many browsers render the tags but <i> had different meaning than <em> and <b> has different meaning than <em>. See descriptions for b, strong, i, and em to see that each of these has a distinct meaning.

<em> for example does not guarantee italic text it only says that the test should be emphasized. The meaning of emphasized is up to the renderer. Now quoting the description for <em>:

Quote:
Originally Posted by http://www.december.com/html/x1/element/em.html
Nesting an em inside of another element like b or i may or may not display bold, emphasized text.
So, again, using <em> does not guarantee that the text will be italic. Hence the use of the <i> which specifically denotes the text should be italic.
user_none is offline   Reply With Quote