HTML Article Tag
Htmal Article Tag is a new Markup tag in the latest version of "HTML" which is HTML5. This can be used to contain blog "Posts", "Article" "Comment Boxes" OR It can contains the self contained content. In simple words <article> tag acts as a container for the web page or any section. Container in sense that it could stand alone.
Article examples
<article>
<figure>
<img src="HTML Tutorial/article-tag.jpg" alt="HTML Article tag" />
<figcaption>
HTML Article Tag
</figcaption>
</figure>
<hgroup>
<h2>
HTML Article Element
</h2>
<h3>
Why to use?
</h3>
</hgroup>
<p>
The HTML <article> element represents a selfcontained content in an HTML document and page. In addition Article is a block level element which occupies all entire spaces of its container and new element will display on the new line
</p>
</article>
Article vs Section
"Article Element" ( <article> ) defines a piece of self-contained content. This can be used to contain independent content and as well as a wrapper to contain blog "Posts", "Article", "Comment Boxes", "widgets" etc. Whereas A Section Element ( <section> ) defines a section to related information into a single group. Section tag is used to grouping the related information.
HTML Tags
- Comment
- A
- Abbr
- Acronym
- Address
- Applet
- Article
- Aside
- Audio
- B
- Base
- Basefont
- Bdi
- Bdo
- Big
- Blink
- Blockquote
- Body
- Br
- Button
- Canvas
- Caption
- Center
- Cite
- Code
- Col
- Colgroup
- Datalist
- Dd
- Del
- Details
- Dfn
- Dialog
- Dir
- Div
- Dl
- Dt
- em
- Embed
- Fieldset
- Figcaption
- Figure
- Font
- Footer
- Form
- Frame
- Frameset
- H1 - H6
- Head
- Header
- Hr
- Html
- I
- Iframe
- Img
- Input
- Ins
- Kbd
- Keygen
- Label
- Legend
- Li
- Link
- Main
- Map
- Mark
- Menu
- Menuitem
- Meta
- Meter
- Nav
- Noframes
- Noscript
- Object
- Ol
- Optgroup
- Option
- Output
- P
- Param
- Pre
- Progress
- Q
- Rp
- Rt
- Ruby
- S
- Samp
- Section
- Select
- Small
- Source
- Span
- Strike
- Strong
- Style
- Sub
- Summary
- Sup
- Table
- Tbody
- Td
- Tfoot
- Th
- Thead
- Time
- Title
- Tr
- Track
- Tt
- U
- Ul
- Var
- Video
- Wbr
- Script
0 Comments