Документация
HTML CSS PHP PERL другое
Adding Paragraphs
 
Previous Page
Table of Contents
Next Page

Adding Paragraphs

Paragraphs are managed using the paragraph element, represented by an opening and closing tag <p>. . .</p>, with text content in between (see Example 2-2).

Example 2-2. Marking up paragraphs with an opening and closing tag
<p>Mentally, too, they were almost moribund. They stared vacantly, straight out to sea.
 They stared with the unwinking fixedness of those whose gaze is caught in hypnotic trance.</p>

<p>It was Frank Merrill who broke the silence finally. Merrill still looked like a man of
 marble and his voice still kept its unnatural tone, level, monotonous, metallic.</p>

Figure 2-2 shows how the paragraphs will appear within a web browser. You'll note that all the necessary carriage returns are handled when the browser interprets the paragraph tags.

Figure 2-2. Paragraph formatting in the web browser.


NOTE

no matter which approach you use.


plus a line before the ensuing content.

    Previous Page
    Table of Contents
    Next Page


     Приглашаем посетить сайты 
    Мода Чехов Крылов Автомобили Брюсов Горький Грибоедов Хлебников Ходасевич CSS