HTML DOM Article Object


Article Object

The Article Object is new in HTML5.

The Article object represents an HTML <article> element.

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

Access an Article Object

You can access an <article> element by using getElementById():

var x = document.getElementById("myArticle"); Try it

Create an Article Object

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

var x = document.createElement("ARTICLE"); Try it

Standard Properties and Events

The Article object supports the standard properties and events.


Related Pages

HTML reference: HTML <article> tag



Color Picker

colorpicker