HTML CSS examples for HTML Tag:em
em element can add Emphasis for its content.
The em Element summary
Item | Value |
---|---|
Element | em |
Local Attributes | None |
Contents | Phrasing content |
Tag Style | Start and end tag required |
New in HTML5 | No |
Changes in HTML5 | None |
Style Convention
em { font-style: italic; }
Using the em Element
<!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>