Typically we all using HTML numbers or names in web pages. For example, &
is &
or &
, and $
, @
&
is a character; &
is a HTML character entity for that character.
<br>
is an element. Elements don't get character entities.
In contrast to many answers here, \n
or
are not equivalent to <br>
. The former denotes a line break in text documents. The latter is intended to denote a line break in HTML documents and is doing that by virtue of its default CSS:
br:before { content: "\A"; white-space: pre-line }
A textual line break can be rendered as an HTML line break or can be treated as whitespace, depending on the CSS white-space
property.
You may be looking for the special HTML character,
.
You can use this to get a line break, and it can be inserted immediately following the last character in the current line. One place this is especially useful is if you want to include multiple lines in a list within a title or alt
label.
<br>
is an HTML element. There isn't any ASCII code for it.
But, for line break sometimes 
is used as the text code.
Or <br>
You can check the text code here.
In HTML, the <br/>
tag breaks the line. So, there's no sense to use an ASCII character for it.
In CSS we can use \A
for line break:
.selector::after{
content: '\A';
}
But if you want to display <br>
in the HTML as text then you can use:
<br> // < denotes to < sign and > denotes to > sign
No, there isn't.
<br>
is an HTML ELEMENT. It can't be replaced by a text node or part of a text node.
You can create a new-line effect using CR/LF inside a <pre>
element like below:
<pre>Line 1
Line 2</pre>
But this is not the same as a <br>
.
The answer is amp#13; — change "amp" to the ampersand sign and go.