Ïðèãëàøàåì ïîñåòèòü
ßçûêîâ (yazykov.lit-info.ru)

Summary

Previous Page
Table of Contents
Next Page

Summary

In this hour you've been introduced to the most basic and important HTML tags. By adding these coded commands to any plain-text document, you can quickly transform it into a bona fide web page.

The first step in creating a web page is to put a few obligatory HTML tags at the beginning and end, including a title for the page. You then mark where paragraphs and lines end and add horizontal rules and headings if you want them. Table 2.1 summarizes all the tags introduced in this hour.

Table 2.1. HTML Tags Covered in Hour 2

Tag

Function

<html></html>

Encloses the entire HTML document.

<head></head>

Encloses the head of the HTML document.

<title></title>

Indicates the title of the document. Used within <head>.

<body></body>

Encloses the body of the HTML document.

<p></p>

A paragraph; skips a line between paragraphs.

<br />

A line break.

<hr />

A horizontal rule line.

<h1></h1>

A first-level heading.

<h2></h2>

A second-level heading.

<h3></h3>

A third-level heading.

<h4></h4>

A fourth-level heading (seldom used).

<h5></h5>

A fifth-level heading (seldom used).

<h6></h6>

A sixth-level heading (seldom used).



Previous Page
Table of Contents
Next Page