The major thing to consider in
HTML (and thus all
web pages) is that
it is important for the
browser to do the
rendering - not the
writer.
Accessibility is a key point for web pages. It is quite possible that there are individuals who are visually impaired and use a browser that reads the text out-loud rather than displaying on the screen. In such a browser, the <P> tag is 'rendered' as a full pause.
If an individual wants a paragraph indented (as in the old style of print media), it is up to that individual to do so on his or her browser - not in the pages that he or she writes. Many browsers that are being developed now have a 'user style sheet'. This is most obvious in the browser named 'Opera'.
Within Opera (the example used is 4.0 for linux. YMMV)
- File menu - preferences
- Left hand icon bar - Document
- Appearance tab - User CSS
- /u/m_turner/.opera/styles/user.css
This file allows you to override the browser defaults (and even web page defaults if you wish to do so). Inserting the text below will cause it to
indent all paragraphs by half an inch.
P
{
TEXT-INDENT: 0.5in
}
The fact that your browser may not have the capability to allow customization
of the style sheet is no excuse to violate HTML standards.
Section 9.3 Lines and Paragraphs - HTML 4.01 Specification
Authors traditionally divide their thoughts and arguments into sequences
of paragraphs. The organization of information into paragraphs is not
affected by how the paragraphs are presented: paragraphs that are
double-justified contain the same thoughts as those that are left-justified.
The HTML markup for defining a paragraph is straightforward: the P
element defines a paragraph.
The visual presentation of paragraphs is not so simple. A number of
issues, both stylistic and technical, must be addressed:
- Treatment of white space
- Line breaking and word wrapping
- Justification
- Hyphenation
- Written language conventions and text directionality
- Formatting of paragraphs with respect to surrounding content
9.3.5 Visual rendering of paragraphs
How paragraphs are rendered visually depends on the user agent. Paragraphs
are usually rendered flush left with a ragged right margin. Other
defaults are appropriate for right-to-left scripts.
HTML user agents have traditionally rendered paragraphs with white space
before and after, e.g.,
At the same time, there began to take form a system of numbering,
the calendar, hieroglyphic writing, and a technically advanced
art, all of which later influenced other peoples.
Within the framework of this gradual evolution or cultural
progress the Preclassic horizon has been divided into Lower,
Middle and Upper periods, to which can be added a transitional
or Protoclassic period with several features that would later
distinguish the emerging civilizations of Mesoamerica.
This contrasts with the style used in novels which indents the first line of the paragraph and uses the regular line spacing between the final line of the current paragraph and the first line of the next, e.g.,
At the same time, there began to take form a system of
numbering, the calendar, hieroglyphic writing, and a technically
advanced art, all of which later influenced other peoples.
Within the framework of this gradual evolution or cultural
progress the Preclassic horizon has been divided into Lower,
Middle and Upper periods, to which can be added a transitional
or Protoclassic period with several features that would later
distinguish the emerging civilizations of Mesoamerica.
Following the precedent set by the NCSA Mosaic browser in 1993, user
agents generally don't justify both margins, in part because it's hard to
do this effectively without sophisticated hyphenation routines. The advent
of style sheets, and anti-aliased fonts with subpixel positioning
promises to offer richer choices to HTML authors than previously possible.
Style sheets provide rich control over the size and style of a font, the margins, space before and after a paragraph, the first line indent, justification and many other details. The user agent's default style sheet renders P elements in a familiar form, as illustrated above. One could, in principle, override this to render paragraphs without the breaks that conventionally distinguish successive paragraphs. In general, since this may confuse readers, we discourage this practice.
http://www.w3.org/TR/html4/struct/text.html