new line html
<!-- Code by Scratchy -->
<!-- Twitter: @S_cratchy-->
Line 1 of text
<br>
Line 2 of text
new line html
<!-- Code by Scratchy -->
<!-- Twitter: @S_cratchy-->
Line 1 of text
<br>
Line 2 of text
html put newline in text with \n
white-space: pre-line;
js \n
//Example:
var i = 'Hello \n World'
console.log(i)
//Would return:
Hello
World
html with new line \n
<span style="white-space: pre-line">@Model.CommentText</span>
. and # in html
<!DOCTYPE html>
<html>
<head>
<style>
.classname {
background-color: green;
color: white;
}
#idname {
background-color: pink;
color: white;
}
</style>
</head>
<body>
<div class="classname">I am green colour<div>
<div id="idname">I am pink colour</div>
</body>
</html>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us