THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML DOM S Object


S Object

The S object represents an HTML <s> element.

Access a S Object

You can access a <s> element by using getElementById():

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

Create a S Object

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

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

Standard Properties and Events

The S object also supports the standard properties and events.


Related Pages

HTML tutorial: HTML Text Formatting

HTML reference: HTML <s> tag

JavaScript reference: HTML DOM Del Object