Site icon DW Faisalabad

HTML DOM Footer Object

Footer Object 

The Footer Object is new in HTML5.

The Footer object represents an HTML <footer> element.

Note: The <footer> element is not supported in Internet Explorer 8 and earlier versions.

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 Anchor object also supports the standard properties and events.

Exit mobile version