HTML 5 <article> Tag
Example
<article>
<a href="http://blog.netscape.com/2007/12/28/
end-of-support-for-netscape-web-browsers">
Netscape is dead</a><br />
AOL has a long history on the internet, being one of
the first companies to really get people online.....
</article>
|
Try it yourself » |
Definition and Usage
The <article> tag defines external content.
The external content could be a news-article
from an external provider, or a text from a web log (blog), or a text from a
forum, or any other content from an external source.
Differences Between HTML 4.01 and HTML 5
The <article> tag is new in HTML 5.
Tips and Notes
Note: The <article> content is independent from the rest of the
document.
Attributes
| Attribute |
Value |
Description |
| cite |
URL |
URL of the article, if it is taken from the web |
| pubdate |
date |
Defines the time and date that the article was first published. |
Standard Attributes
| class, contenteditable, contextmenu, dir, draggable, id, irrelevant, lang, ref, registrationmark, tabindex, template, title |
For a full description, go to Standard Attributes in HTML 5.
Event Attributes
| onabort, onbeforeunload, onblur, onchange, onclick,
oncontextmenu, ondblclick, ondrag, ondragend, ondragenter, ondragleave,
ondragover, ondragstart, ondrop, onerror, onfocus, onkeydown, onkeypress,
onkeyup, onload, onmessage, onmousedown, onmousemove,
onmouseover, onmouseout, onmouseup, onmousewheel, onresize, onscroll, onselect,
onsubmit, onunload |
For a full description, go to Event Attributes in HTML 5.
The Creators of XMLSpy are Pleased to Announce
|