HTML DOM Footer Object


Footer Object

The Footer object represents an HTML <footer> element.

Access a Footer Object

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

Example

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

Create a Footer Object

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

Example

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

Standard Properties and Events

The Footer object also supports the standard properties and events.


Related Pages

HTML tutorial: HTML5 Semantic Elements

HTML reference: HTML <footer> tag

JavaScript reference: HTML DOM Header Object


Copyright 1999-2023 by Refsnes Data. All Rights Reserved.