shadowline
Text Formatting << Line Breaks >> HR Lines
If you have tested the examples given on previous pages, you noticed that all the text appears in a continuous paragraph. Web pages need some coding to tell it when to go to the next line or start a new paragraph.

PParagraph. Similar to "ENTER" twice in word processing.
Creates a space between two sets of text or objects vertically.
BRBReak (line). Similar to "ENTER" once in word processing.
Goes to the next available line.
BR is not a set. It does not have an ending tag.

<html>
<head>
<title> Welcome to David's web page. </title>
</head>
<body>
<p>
Hi there! Thanks for visiting my web page. There isn't much here right now, but come back soon and see the changes!
</p>
<b>This text is bold.</b>
<br>
<i>This text is italisized.</i>
<br>
<u>This text is underlined.</u>
<br>
This text is back to normal.
<p>
<b><i>This text is bold and italisized.</i></b>
<br>
<u><b>This text is underlined and bold.</b></u>
</p>
</body>
</html>

See the example in action.

Note : If you use multiple BR tags in succession, the browser will usually default to display only two of them.
Text Formatting << Line Breaks >> HR Lines
shadow

Advertise in the banner along the top, Click here!

Valid XHTML 1.0 Transitional Valid CSS! Text Link Ads
shadow
shadow