<em> - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:em

Introduction

em element can add Emphasis for its content.

The em Element summary

ItemValue
Element em
Local AttributesNone
ContentsPhrasing content
Tag Style Start and end tag required
New in HTML5No
Changes in HTML5 None

Style Convention

em {
   font-style: italic;
}

Using the em Element

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
   <head> 
   </head> 
   <body> 
      <em>I</em>
       like <!--   w  w  w. ja  v  a 2s  .  c  om-->
      <b>CSS</b>
       and 
      <b>HTML</b>
      .  
   </body>
</html>

Related Tutorials