Certify and Increase Opportunity.
Be
Govt. Certified HTML5 Developer
The line break tag is the <br> tag in HTML and <br /> in XHTML.
A br tag will insert a line break which means the text/image following the tag will be moved to the next line when displayed in the browser.
The following is a regular paragraph.
This is a regular paragraph. Everything between the opening and closing paragraph tags keeps flowing. The paragraph tag adds a line before and after the paragraph, unlike the br tag.
HTML coding for the above paragraph:
<p>This is a regular paragraph. Everything between the opening and closing paragraph tags keeps flowing. The paragraph tag adds a line before and after the paragraph, unlike the br tag.</p>
This paragraph uses the HTML br tag (line break tag) at the end of each sentence:
When you insert a br tag into your HTML coding it creates a line break.
The text in this sentence is after a br tag.
Here’s a new sentence with the br tag inserted before it.
HTML coding for the above paragraph:
<p>When you insert a br tag into your HTML coding it creates a line break.<br />
The text in this sentence is after a br tag.<br />
Here’s a new sentence with the br tag inserted before it.</p>
Examples
Code | Result |
---|---|
A four word line<br/>A four word line<br/>A four word line. | A four word line A four word line A four word line. |
A line<br/><br/><br/>Another line | A lineAnother line |
Apply for HTML5 Certification Now!!
http://www.vskills.in/certification/Certified-HTML5-Developer