HTML DOM Article Object


Article Object

The Article object represents an HTML <article> element.

Access an Article Object

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

Example

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

Create an Article Object

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

Example

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

Standard Properties and Events

The Article object supports the standard properties and events.


Related Pages

HTML reference: HTML <article> tag


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