1 / 4

HTML Line Breaks and HTML Horizontal Rules (Lines)

HTML Line Breaks and HTML Horizontal Rules (Lines). HTML Line Breaks. Use the <br /> tag if you want a line break (a new line) without starting a new paragraph:. The <br /> element is an empty HTML element. It has no end tag. <br> or <br />

rumer
Download Presentation

HTML Line Breaks and HTML Horizontal Rules (Lines)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. HTML Line Breaks and HTML Horizontal Rules (Lines)

  2. HTML Line Breaks Use the <br /> tag if you want a line break (a new line) without starting a new paragraph: The <br /> element is an empty HTML element. It has no end tag.

  3. <br> or <br /> • In XHTML, XML, and future versions of HTML, HTML elements with no end tag (closing tag) are not allowed. • Even if <br> works in all browsers, writing <br /> instead is more future proof. Example Code Result <html> <body> <p>This is<br />a para<br />graph with line breaks</p> </body> </html> This isa paragraph with line breaks

  4. Activity Design a webpage using the content and format below.

More Related