THE INDIA LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML DOM Italic Object


Italic Object

The Italic object represents an HTML <i> element.

Access an Italic Object

You can access an <i> element by using getElementById():

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

Create an Italic Object

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

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

Standard Properties and Events

The Italic object supports the standard properties and events.


Related Pages

HTML tutorial: HTML Text Formatting Elements

HTML reference: HTML <i> tag

JavaScript reference: HTML DOM Emphasized Object