HTML DOM S Object

The S object represents an HTML <s> element

S Object

The S object represents an HTML <s> element.

Access a S Object

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

Example

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

Create a S Object

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

Example

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

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