WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML DOM Italic Object


Italic Object

The Italic item speaks to a HTML <i> element.

Access an Italic Object

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

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

Create an Italic Object

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

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