Even though the browser ignores any indenting you include in
your code, you will probably find it useful to indent your code so that it’s
easier to read. You’ll find that any length examples in this book are indented for that
reason, and you’ll probably want to carry that convention over to your own HTML
code.
Unlike titles, headings can be any length, spanning many
lines of text. Because headings are emphasized, however, having many lines of
emphasized text might be tiring to read.
A common practice is to use a first-level heading at the top
of your page to either duplicate the title (which usually is displayed
elsewhere), or to provide a shorter or less context-specific form of the title.
If you have a page that shows several examples of folding bed sheets for
examples, part of long presentation on how to fold bed sheets-the title might
look something like the following:
<title> how to fold sheets: some example</title>
The topmost heading, however, might just be as follows:
<h1> examples</h1>
No comments:
Post a Comment