HTML DOM Italic Object

Italic object

The Italic object represents the HTML <i> element.

Access the Italic object

You can use getElementById() to access the <i> element:

var x = document.getElementById("myItalic");

Try It Yourself

Create an Italic object

You can use the document.createElement() method to create an <i> element:

var x = document.createElement("I");

Try It Yourself

Standard Properties and Events

Italic Object Supports StandardsPropertiesandEvents.

Related Pages

HTML Tutorial:HTML Text Formatting Elements

HTML Reference Manual:HTML <i> Tag

JavaScript Reference Manual:HTML DOM Emphasized Object