Line Break, Poem problems


 
 Control of Paragraph use Line Break
<html>
<body>
<p> My <br> name is Sahil<br> This is the <br>example of line break.
</body>
</html>

OUTPUT:-

My
name is Sahil
This is the
example of line break
Note:- br tag define line break. 

Poem Problems with Lines

<html>

<body>

Twinkle, twinkle, little star,
How I wonder what you are!
Up above the world so high,
Like a diamond in the sky. 
</body>
</html> 

 OUTPUT



Twinkle, twinkle, little star,How I wonder what you are! Up above the world so high,like a diamond in the sky. 

 Note:- Browser Ignore the layout. Means in poem you write browser do not accept paragraphs of your choice.
It used be paragraph tag must be needed to use more paragraphs e.g. <p>

Previous Page                                Next page

No comments:

Post a Comment