22.06.2015 Views

o_19octlt3v29m1ul81r9513q81i4ra.pdf

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Creating Paragraphs and Line Breaks 17<br />

Creating Paragraphs and Line Breaks<br />

Within the section of the document, you type the text that will appear on the<br />

Web page. Each paragraph of text should be enclosed in a two-sided tag that indicates<br />

its type.<br />

The most basic paragraph type is the body paragraph, indicated by the tag. It is a<br />

two-sided tag, so the paragraph text is placed between a and a .<br />

Note In HTML, the code will still work even if the is omitted; in XHTML, it won’t. However,<br />

even if you never plan on coding in XHTML, it is a good practice to include the tag. This<br />

way, you won’t fall into any sloppy habits.<br />

When a browser displays a Web page, it inserts vertical white space between paragraphs:<br />

That spacing is usually convenient, but it can be a problem when the extra space<br />

between lines is unwanted, such as with an address.<br />

To create a line break without officially starting a new paragraph (and thereby adding<br />

that extra white space), use the tag. This is a one-sided tag placed within a paragraph,<br />

at the end of each line, like this:<br />

David Jaffe<br />

317-555-8882

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!