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 of em tag in HTML5.
| <em >Text for Emphaisize.</em> |
|
<!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> |
No difference.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.