Answers for "how to get on new line in 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
1

html with new line \n

<span style="white-space: pre-line">@Model.CommentText</span>
Posted by: Guest on July-09-2021
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

Browse Popular Code Answers by Language