HTML DOM S Object







googletag.cmd.push(function() { googletag.display('div-gpt-ad-1422003450156-2'); });



HTML DOM S Object



❮ Previous
Next ❯



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");

Try it Yourself »

Create a S Object


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



Example



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

Try it Yourself »

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





❮ Previous
Next ❯

Popular posts from this blog

Greedy Best First Search implementation in Rust

Function to Return a JSON Like Objects Using VBA Collections and Arrays

C++11 CLH Lock Implementation