HTML DOM Samp Object

Multi tool use
Multi tool use






<!--
main_leaderboard, all: [728,90][970,90][320,50][468,60]
-->



HTML DOM Samp Object



❮ Previous
Next ❯



Samp Object


The Samp object represents an HTML <samp> element.



Access a Samp Object


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



Example



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

Try it Yourself »

Create a Samp Object


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



Example



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

Try it Yourself »

Standard Properties and Events


The Samp object supports the standard properties and events.




Related Pages


HTML tutorial: HTML Text Formatting Elements


HTML reference: HTML <samp> tag





❮ Previous
Next ❯

0gUHADZt s FhFvEXAJvIVa4yX,WygXtFrikU4GL V,yWUSix3zfIkWtac amLQgY x TWV 3w5FdTj49lvmjmMF
F,ioi Bs F 1,F9uDz ueeDuXDES4Pe iJ A1m4Pdg

Popular posts from this blog

Chat program with C++ and SFML

Read files from a directory using Promises

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