HTML DOM Mark Object
Mark object
The Mark object represents the HTML <mark> element.
Note:Internet Explorer 8 and earlier versions do not support the <mark> element.
Access the Mark object
You can use getElementById() to access the <mark> element:
var x = document.getElementById("myMark");
Create a Mark object
You can use the document.createElement() method to create a <mark> element:
var x = document.createElement("MARK");
Standard Properties and Events
Mark Object Supports StandardsPropertiesAndEvents.