LIne Break Tag

Line Break Tag <br> :-
The <BR> is a singular tag used for inserting a line break. 

Syntax:-

<BR>

Example:-

<html>
<head>
<title>Index | HTML Comment </title>

<head>
<body bgcolor="lightblue" text="black">
<!-- pragraph tag-->
<p>This program is free software; you can 
redistribute it and/or modify it under the 
terms of the GNU General Public License as 
published by the Free Software Foundation; 
either version 2 of the License, or (at your 
option) any later version.
</p>
<br>
<!-- here i have missed the p tag or paragraph tag-->
This program is distributed in the hope that it
will be useful, but WITHOUT ANY WARRANTY; 
without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE.  See the GNU General Public License 
for more details. 
<!-- here i have keept two paragraph in one p tag-->
<br>
<br>
<br>
<br>
<br>
<p>
This program is free software; you can 
redistribute it and/or modify it under the 
terms of the GNU General Public License as 
published by the Free Software Foundation; 
either version 2 of the License, or (at your 
option) any later version.

<!-- here i have give enter in the eidtor but it doesnt 
appere in the html page in the oputpur-->

This program is distributed in the hope that it
will be useful, but WITHOUT ANY WARRANTY; 
without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE.  See the GNU General Public License 
for more details. </p>

<body>


</html>

The output of the example:-




To download HTML File:-  ClickHere




Comments

Popular posts from this blog

Body tag < body > < / body>

Heading Tag ( h1 to h6)