Answers for "html insert newline"

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