Group P
The next paragraph, centered.
Used to indicate a new paragraph. Automatically inserts a blank line before the new paragraph.
<p> paragraph
align="left | center | right"
Left, centre or right justifies a paragraph.
A paragraph.
<p align="center">The next paragraph, centered.
A paragraph.
The most useful application of this element is for displaying extracts of programming code as the text is rendered as a fixed-width font and the
<pre> pre-formatted text
<br>
tag is not necessary to cause a line-break. It is sometimes used to display text in a tabular or column format, as all spaces typed in the HTML code are displayed by the browser. Combined with the fixed-width font, this facilitates the alignment of text.
I do not recommend the use of <pre>
for formatting a few words at a time, as unpredicable results are occasionly produced. Use <code>
or <tt>
as an alternative.
<pre>
FOR x=1 TO 10
PRINT "The square of ";x;" is ";x^2
NEXT x
</pre>
FOR x=1 TO 10 PRINT "The square of ";x;" is ";x^2 NEXT x
Group S
Group T
Group U
Click here to learn all about creating forms.
<select> form list box
A logical style used to give strong emphasis to a section of text. Usually rendered in bold.
See also:
<strong>
<em>
.
<strong>Warning: <strong>
no entry without protection.
</pre>
Warning:
no entry without protection.
A physical style for displaying subscripted text.
<sub> subscript
Sulphuric acid, H<sub>2</sub>S0<sub>4</sub>.
Sulphuric acid, H2S04.
A physical style for displaying superscripted text.
<sup> superscript
Equation of a circle: r<sup>2</sup> = x<sup>2</sup> + y<sup>2</sup>.
Equation of a circle: r2 = x2 + y2.
Click here to learn all about creating tables.
<table>
Click here to learn all about creating tables.
<td> table data
Click here to learn all about creating forms.
<textarea> form input box
Click here to learn all about creating tables.
<th> table heading
The title element should contain a complete one-line summary of the document, ie. "Introduction" is not sufficient, but "HTML Commands Guide: Introduction" would suffice.
The title of a loaded document appears at the top of a Netscape window.
When coding, the title should be placed within the
<title>
<head>
tags.
A shell document would therefore follow the following format:
<html>
<head>
<title>HTML Commands Guide: A Shell Document</title>
</head>
<body>
The document in here
</body>
</html>
Click here to learn all about creating tables.
<tr> table row
A physical style for displaying text in a fixed-width font. See also
<tt> typewriter text
<code>
and <pre>
.
Courier is an example of a <tt>fixed-width font</tt>, as is MS LineDraw.
Courier is an example of a fixed-width font, as is MS LineDraw.
Described on a separate page dedicated to lists.
<ul> unordered list