Thursday, January 12, 2017

HTML Paragraph and New Line Tag

Tags

For paragraph HTML has a paragraph tag which is as per given below

<p>any description.....</p>

Following will help you Understand :
<h1>Programming</h1>
<p>"We want every kid in the world to be excited about the many possibilities coding can unlock-for themselves,for their communities and for society.Everyone should have the opportunity to learn computer science at school and beyond".</p>


Output:

Programming

"We want every kid in the world to be excited about the many possibilites coding can unlock-for themselves,for their communities and for society.Everyone should have the opportunity to learn computer science at school and beyond".

For new line HTML has a tag <br>

<br>

This tag has no closing tag.

Following will help you understand:

Gndec Programming<br>
Gndec Programming<br>
Gndec Programming

Output:

Gndec Programming
Gndec Programming
Gndec Programming