Monday, November 19, 2007

How to work with Paragraphs and Line Breaks

How to work with Paragraphs and Line Breaks

To work with Paragraphs and Line Breaks

It’s used a paragraph tag

or a line break tag
to break HTML text at a selected location. Both of these are start tags without end tags–that is, they do not need a closing tag. The paragraph tag creates an empty line break above the following text. It can include attributes, such as in

or

that control the alignment. The break tag lets the text wrap without creating subsequent white space.

Unlike word processing programs, inserting carriage return characters doesn’t cause the text to break; the browser will ignore them. Moreover, inserting multiple space characters will cause them to show up temporarily; all but one will be removed.

No comments: