Quote:
Originally Posted by mrmikel
This can be a concept that can be hard to grasp, but there really are two DIFFERENT kinds of tags.
One group, like i, em, b are for prettying up the text. Others like h, are for telling the reader- Attention, this is division of the book, a part, chapter, or subsection.
If it is just for you and you never you use an index, you can get away with mixing them like a mad cocktail party. If it is for publication or someone else, mixing them will give you a hangover as whatever program, publisher or e-reader tries to figure out where the chapters are.
|
Actually em is really designed for semantics just as h tags, not for prettying the text. This is why it replaced the i tag. CSS is still used to decide how it should be styled in the book display but em really says to emphasize this text.
And h2 is a perfectly acceptable starting point in a TOC. You do not need to begin with an h1. Some users have been known to use h1 for the title.
Dale