Latest web development tutorials
 

HTML DOM Small Object


Small Object

The Small object represents an HTML <small> element.

Access a Small Object

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

Example

var x = document.getElementById("mySmall");
Try it Yourself »

Create a Small Object

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

Example

var x = document.createElement("SMALL");
Try it Yourself »

Standard Properties and Events

The Small object supports the standard properties and events.


Related Pages

HTML tutorial: HTML Text Formatting Elements

HTML reference: HTML <small> tag