|
Tutorials | The <br> Break Tag
HTML: The <br> Break Tag
Your web browser does not recognize extra spaces or hard returns so it relies on the <br> tag for instructions to begin a new line. The <br> tag is an empty tag, which simply means that it does not have a closing tag.
If you want to format your address or a poem, you would use the <br> tag.
Example:
Mary had a little lamb<br>
Its fleece was white a snow<br>
And every where that Mary went<br>
The lamb was sure to go<br>
Displays as follows:
Mary had a little lamb Its fleece was white a snow And every where that Mary went The lamb was sure to go
« Previous ¦ Next »
|