Search DaTutorials:  
HOME
Html Tutorials
Basics
Forms
Frames
Hyperlinks and URLS
Images
Lists
Background
Colors
Fonts
Tables
Meta Tags
Events
Javascript Integration
Sound
Other
Search For a Tutorial
Html Reference

HTML Text Formatting Tutorial - Force Line Breaks

Description:


How to control the line breaks in an html page.

Code:

<html>
<body>

This is normal text without line breaks. <br /> 

This is normal text with <br /> some line <br /><br /> breaks .

</body>
</html>

Play with the code:

See working example:


Explanation:

To preserve the line breaks in your text, write <br /> where you want to brake the line.

See Also:

HTML: Html, Body, Br


Online Html Forum  Discuss this tutorial in our HTML forum


     Fast Loans | Personal Loans | Mortgages | MPAA | Personals
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp