Quote:
Originally Posted by hobnail
Can we broaden the question and ask, what about p instead of h?, or my favorite, div instead of p? And I've seen these in recently released books. For too many people who are formatting books the only thing that matters is if it looks good in an ereader.
|
But it doesn't look good in a lot of cases. And if the code is not good, that makes it more difficult to fix the formatting.
I do not like <div> when <p> should be used. I do not like it when extra useless <div> is used when all that needs to be done is fix the chapter header class. Why do we need a <div> to define the top margin of a chapter when the net like is a <p>? The rule is to keep it simple and I've seen way too many eBooks that do not keep it simple. Remove all unused classes and hundreds of classes are removed. I agree that an <h2> should be used for chapter headers, but I'm not all that bothered enough to swap the <p>. Another thing I dislike is <span> for bold or italic.
But then, I like simple. It's not hard to make an eBook look good and have good code.