Web Design

(Nancy Kaufman) #1

30


Add Paragraphs


2 Type

.


3 Type text.


1 Open the page to which you
want to add text.


Add Paragraphs


A


ny logical block of text not already defined as a heading is likely going to be a paragraph. XHTML
designates paragraphs using the <p> tag. You should wrap each logical block of text within this

tag. When displayed within the browser, paragraphs appear with a blank line both above and below,


rather than indenting the first line. Keep in mind that XHTML ignores whitespace in your code, so


simply adding line breaks between blocks of text does not create that space in the browser; you need


to use the

tag.


3


1


2

Free download pdf