HTML DOM Small Object

Small object

The Small object represents the HTML <small> element.

Access the Small object

You can use getElementById() to access the <small> element:

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

Try It Yourself

Create a Small object

You can use the document.createElement() method to create a <small> element:

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

Try It Yourself

Standard Properties and Events

Small Object Supports StandardsPropertiesAndEvents.

Related Pages

HTML Tutorial:HTML Text Formatting Elements

HTML Reference Manual:HTML <small> Tag