HTML DOM Emphasized Object

Emphasized Object

The Emphasized article speaks to a HTML <em> element.

Access an Emphasized Object

You can get to a <em> component by utilizing getElementById():

var x = document.getElementById("myEm"); Try it

Create an Emphasized Object

You can make a <em> component by utilizing the document.createElement() method:

var x = document.createElement("EM"); Try it

Standard Properties and Events

The Emphasized item bolsters the standard properties and events.

Related Pages

HTML instructional exercise: HTML Text Formatting Elements

HTML reference: HTML <em> tag

JavaScript reference: HTML DOM Italic Object