Html:-br tag

<!DOCTYPE html>
<html>

<head>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <title>BR Tag</title>
</head>

<body>

 <!--Without BR Tag-->
 Line 1
 Line 2
 Line 3
 Line 4
 Line 5

 <!--With using BR Tag-->
 <br> Line 1
 <br> Line 2
 <br> Line 3
 <br> Line 4
 <br> Line 5

</body>

</html> .  Output:- Line 1 Line 2 Line 3 Line 4 Line 5 
Line 1 
Line 2 
Line 3 
Line 4 
Line 5.            Used of:-

Br Tag


Uses of <br> tag
  • This tag inserts a single line break.
  • This tag is an empty tag which means that it has no end tag, but we can enter <br />.
Html:-br tag Html:-br tag Reviewed by Network security on April 29, 2019 Rating: 5

No comments:

Useful Information

Powered by Blogger.