WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML DOM Underline Object



Underline Object

The Underline object speaks to a HTML <u> element.

Access an Underline Object

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

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

Create an Underline Object

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

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