+ 1

What is the output?

<p>7+4</p>

27th Jun 2017, 10:29 AM
Sunil
Sunil - avatar
4 Réponses
+ 8
7+4
27th Jun 2017, 10:35 AM
Vivek
Vivek - avatar
+ 5
as HTML is not a programming language so it will not calculate it specially in a paragraph tag
27th Jun 2017, 10:36 AM
Hetbo.net
Hetbo.net - avatar
+ 1
if you use it in jQuery like this: $("body").text("<p>7+4</p>"); Output will be: <p>7+4</p>
27th Jun 2017, 10:52 AM
Harm Zeinstra
Harm Zeinstra - avatar
+ 1
7+4
27th Jun 2017, 1:43 PM
Suman Shrestha
Suman Shrestha - avatar