Answers for "add line html"

27

new line html

<!-- Code by Scratchy -->
<!-- Twitter: @S_cratchy-->

Line 1 of text
<br>
Line 2 of text
Posted by: Guest on February-03-2020
16

horizontal line html

<!-- code -->

<hr>

<!-- code -->
Posted by: Guest on February-18-2020
2

which is right <hr> or <hr/> in html

<hr> <!--   it represents a horizontal line break, in HTML4.0 we use <hr>, 
            in XHTML1.0 we use <hr/>,  in HTML5(which is the current version of 
            HTML) we can use both <hr> and <hr/>    
       -->
Posted by: Guest on September-10-2020
0

html new line

<p>
	Line Content
	<!--A newline in the cource code won't make a new line in the ouput/webpage
	In other languages you may be familiar with \n but in html we use the <br>
	tag-->
	<br>
	New Line Content
</p>
Posted by: Guest on February-11-2021
1

how to insert a line in html

</hr>
Posted by: Guest on February-20-2020

Browse Popular Code Answers by Language