Line break in html
In html if we hit more enter, its not consider the blank line space, so we can use <br> tag instead of hit enter button. This is the empty tag this don't have end tag but you can use it <BR /> like this too. we can't sure to how display the html output on the screen (larger or small screen), depend on the screen will display different result. In the run time the browser will remove all extra space like more than one enter space or more than one blank space.
BR - > Break
syntax : -
Example Program:- (Editor)
Output:-
Advertisement
Screen Shots:-
BR - > Break
syntax : -
<BR> or <BR />
Example Program:- (Editor)
Output:-
Advertisement
Screen Shots:-
Post a Comment for "Line break in html"