Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
HTML Variable Formatting
Maha
10y
757
1
Reply
http://www.w3schools.com/html/html_computercode_elements.asp
Above web page is saying about HTML variable formatting.
I wish to know what is the different between following two method of formatting, because both are giving same result. Problem is highlighted.
<!DOCTYPE html>
<html>
<body style="font-size:16px">
<p>Einstein wrote:</p>
<p><
var
>E<
/
var
> = <
var
>m</
var
> <
var
>c</
var
><sup>2</sup></p>
</body>
</html>
<!DOCTYPE html>
<html>
<body style="font-size:16px">
<p>Einstein wrote:</p>
<p>
<
i
>
E<
/i
> = <
i
>m<
i/
><
i
>c<
/i
><sup>2</sup></p>
</body>
</html>
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
can i add 2 sliders in a html webpage
Add First & last name inside table in Lightswitch HTMLClient