Home Tutorial Html Html5 HTML5 em tag, Implementation and use of em tag in HTML5.

 
 

Share on Google+Share on Google+
HTML5 em tag, Implementation and use of em tag in HTML5.
Posted on: September 4, 2010 at 12:00 AM
Advertisement
In this tutorial you will learn about the em tag in HTML5.

HTML5 em tag, Implementation and use of em tag in HTML5.

Introduction:

In this section, you will see the use of em tag in HTML5. It is uses for emphasizing on text or code. It emphasizes on text, which is present in <em> tag. HTML5 also supports <b>, <strong>, <i> for emphasizing text.

It emphasis only that text, which is available in <em> tag.

Declaration Syntax :

Declaration syntax of em tag in HTML5.

                            <em >Text for Emphaisize.</em>

Example of <em> in HTML5:

Code:
EmTag.html
<!DOCTYPE html >
<html >
<head>
<title>Title of document</title>
</head>
<body>
<p><b>Em tag Example.</b></p>
<p><b>Implementation of em in HTML5.</b></p>
RoseIndia is a<abbr title="Information Technology">
<em>IT</em> </abbr>Company.
</body>
</html>
Output:

Download this code

Difference Between HTML5 and HTML4.01:

No difference.

Advertisement

Related Tags for HTML5 em tag, Implementation and use of em tag in HTML5.:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: September 4, 2010

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com