+ 1
What is the output?
<p>7+4</p>
4 ответов
+ 8
7+4
+ 5
as HTML is not a programming language so it will not calculate it specially in a paragraph tag
+ 1
if you use it in jQuery like this:
$("body").text("<p>7+4</p>");
Output will be:
<p>7+4</p>
+ 1
7+4