| 
 Line BreaksLine breaks are different than most of the tags we have seen so far.  A line break ends the line you are currently on and resumes on the next line.  Placing <br /> within the code is the same as pressing the return key in a word processor. Use the <br /> tag within the <p> (paragraph) tag. HTML Code:
<p>
Will Mateson<br />
Box 61<br />
Cleveland, Ohio<br />
</p>
Address:
Will MatesonBox 61
 Cleveland, Ohio
 We have created a possible address for a letter head. The line break tag will also come in handy toward the end of our letter. HTML Code:
<p>Sincerely,<br />
<br />
<br />
Kevin Sanders<br />
<i>Vice President</i></p>
Closing Letter:
Sincerely,
 
 Kevin Sanders
 Vice President
 
		
 
 
 Tips
The line break tag can be placed within other HTML elements such as paragraphs, tables, lists, and headings.Use the line break tag to solve minor formatting issues, save larger page layout issues for tables and the align attribute.Remember that the line break tag does not require a closing tag. 
 
 
 Found Something Wrong in this Lesson?Report a Bug or Comment on This Lesson - Your input is what keeps Tizag improving with time! |