Understanding the Basics

Web Page Construction

Paragraph Breaks <P> and Line Breaks <BR>
In your text editor, enter the text below and save it as "sample2.html" on your floppy disk. Then return to Netscape and load the file.

sample2.html [VIEW]


This is my first paragraph.<P>
This is my second paragraph, a bit longer than the
first paragraph was and will likely continue on
another line when displayed.<BR>
And this is following a break, notice the difference?

What am I suppose to see?

The Paragraph Tag, <P>, tells the browser to put in a line break and a blank line. The Break Tag, <BR>, tells the browser puts in a line break but no blank line. These are two ways we tell the browser to end paragraphs. Within the paragraph, the browser wraps the text to the width appropriate for the screen.

Using multiple <P> tags does not give multiple spaces. However using multiple <BR> tags does give one blank line per tag. But good style says that more than two blank lines is unneccessary.

HTML Lessons | Web Basics | Farming the Net


ohioline.gif (3321 bytes)


http://www.ag.ohio-state.edu/~farmnet/
Ohio State University Extension©1999
disclaimer