ASIDE TAG ASIDE tag is new tag in HTML5. It represents a part of a document whose content is only indirectly related to the document's main content..] Aside tag used for pull quotes,comments,editorial sidebars etc. NOTE: Behaviour of div and aside are same but meaning is different. Div is used for create a section or a division. Aside is also used for create a section or division but related to content of the main page. SYNTAX <!DOCTYPE html> <html> <head> <title> HTML Aside Tag </title> </head> <body> <aside> <h2>HTML</h2> <p>HyperText markup Language</p> </aside> </body> </html> OUTPUT HTML Hypertext markup Language --------------------------------------------------------------------------------------------------------------------------------------------
ARTICLE TAG Article tag is new tag in HTML5. It is used to represent the article. It is used for blog post,forms,newspapers,magazines etc. Article tag specifies self-contained composition in a site, document, page or application. It supports all global attributes. SYNTAX <!DOCTYPE html> <html> <head> <title> HTML Article Tag </title> </head> <body> <article> <h2>HTML</h2> <p>HyperText markup Language</p> </article> </body> </html> OUTPUT HTML Hypertext markup Language --------------------------------------------------------------------------------------------------------------------------