![]() |
2.2 Paragraphs and Line Breaks |
![]() ![]() ![]() ![]() ![]() |
In this lesson...
|
Automatic Line Wrap
When a Web browser displays HTML pages, it pays no attention to line endings. The <BR> and <P>TagsTo control where line and paragraph breaks actually appear, you must use HTML tags. The <BR> tag forces a line break, and the <P> tag creates a paragraph break. The only practical difference between these two tags is that <P> inserts an extra blank line between paragraphs, and <BR> does not. Neither the <BR> line break tag nor the <HR> horizontal rule tag needs a closing </BR> or </HR> tag.the <HR> horizontal rule tag<HR> tag in the HTML code causes a horizontal "rule" line to appear in the Web page as seen on the browser. Inserting a horizontal rule with the <HR> tag also causes a line break, even if you don't include a <BR> tag along with it. For a little extra blank space above or below a horizontal rule, you can put a <P> tag before or after the <HR> tag. |
Placing HTML Paragraphs and Line Breaks tags in Your Document open the HTML file you created in the previous lesson.under the <h3> Introduction to Cosmology </h3> heading.we want to add some more text
|
|
Check Your Work Compare your document with a sample of how this document should appear. After viewing the sample, use the back button on your web browser to return to this page. Practice
|
|
©
1999- 2000 hayayoo e-mail:
hayayoo@yahoo.com
© 1999, 2000 hayayoo
Reserved