HTML DOM S Object

S object

The S object represents the HTML <s> element.

Access S object

You can use getElementById() to access <s> elements:

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

Try It Yourself

Create S object

You can use the document.createElement() method to create <s> elements:

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

Try It Yourself

Standard Properties and Events

S Object Supports StandardsPropertiesandEvents.

Related Pages

HTML Tutorial:HTML Text Formatting

HTML Reference Manual:HTML <s> Tag

JavaScript Reference Manual:HTML DOM Del Object