These words are displayed in big letters in the window itself.

Pairs of tags

Surround each tag with "less than" and "greater than" signs. Do not write these characters for any other purpose. If you really must say "less than" and "greater than", say < and > and don't forget the semicolons. Write an ampersand as &.

This is the start of a new paragraph. The words within the tags are case-insensitive, except if they're in quotes. Most tags come in pairs. The second tag of the pair always starts with a slash. For example, surround the entire page with a pair of HTML tags (lines 1 and 148). Every page consists of a head and a body, each enclosed by its own pair of tags.

One tag that does not come in pairs is the HR tag that draws a horizontal rule (line).


Headers

The H1 tags make a big header; the H2 and H3 tags make smaller headers. The TITLE tags enclose the title of the window that displays the page. The TITLE should be shorter than the H1. Put the TITLE tags in the head, and the H1 tags in the body.

Special fonts

You can apply emphasis, strong emphasis, or size.

Spacing

To make the file easier to edit, put each phrase on a line by itself and skip lines for legibility. The browser will pack the text together in civilized paragraphs when displaying it on the screen.

Use the "break" tag between lines of a poem:

Two households, both alike in dignity,
In fair Verona, where we lay our scene,
From ancient grudge break to new mutiny,
Where civil blood makes civil hands unclean.

"Preformat" text to preserve its indentation and relative position:

From forth the fatal loins of these two foes
   A pair of star-cross'd lovers take their life;
Whose misadventured piteous overthrows
   Do with their death bury their parents' strife.

Lists

Tables

Surround the entire table with a pair of TABLE tags (lines 105 and 123). Within the table, surround each row with a pair of TR tags. Within each row, surround each item of data with a pair of TD tags. Before the first row and/or at the start of each row, surround each table header with a pair of TH tags.

Column 1 Column 2
Row 1 row 1, col 1 row 1, col 2
Row 2 row 2, col 1 row 2, col 2

Special Characters

  1. ümlaut, çedilla
  2. Arabic: "Haza modhish!" ("It's amazing!", from the Berlitz Phrasebook) هزا مدهش
  3. Hebrew: "Kosher" כָּשֵׁר
  4. Russian: "winter forest" зимний лес
  5. Chinese characters for "up", "down", "stream": 上 下 川