There are 80 to 100 ???tags??? in HTML that tell the browser what to do with the text on the page. For instance,
the
tag marks the beginning of a paragraph. Each tag has a closing form, which is the same as the opening
form, except that a forward slash precedes the tag. The closing tag for a paragraph is
. One can use
uppercase and lowercase interchangeably for the tags;
and
will work equally well.
CHAP. 7] NETWORKING 135
Many of the tags have attributes one can set to modify their effect. One sets the attribute value by including
the attribute name in the opening tag, following the attribute name with the equal sign, and following that with
the value of the attribute in quotation marks. For instance:
Carl Reynolds??™ Home Page
This line will cause the text to be in the size of a large heading (H1), and the text will be centered on the line.
One can add comments to a HTML file by starting with the four characters . For instance:
One of the beauties of the HTML standard is that it is pretty forgiving of errors. If a browser does not
understand the HTML on a page, the browser simply displays what it can.
Pages:
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379