HTML DOM Underline Object
Underline object
The Underline object represents the HTML <u> element.
Access the Underline object
You can use getElementById() to access the <u> element:
var x = document.getElementById("myU");
Create an Underline object
You can use the document.createElement() method to create a <u> element:
var x = document.createElement("U");
Standard Properties and Events
Underline Object Supports StandardsPropertiesandEvents.