What is the difference between body tag, article tag and section tag?

Can anyone clearly explain what's the difference between body tag article tag and section tag kn detail?


3 Answers
1-3 of  3
3 Answers
  • Body tag:- When writing in HTML, the tag is used to contain a web page's content, including hyperlinks, images, tables, text, etc. It is required in every HTML document, and there may only be one tag per page. The following sections contain information about this tag, including related attributes and browser compatibility Section tag:- The HTML
    element represents a standalone section — which doesn't have a more specific semantic element to represent it — contained within an HTML document. Typically, but not always, sections have a heading Article tag:- The article tag specifies independent, self-contained content. An article should make sense on its own and it should be possible to distribute it independently from the rest of the site. Potential sources for the article element: Forum post Blog post News story Comment

  • Section tag define section in a document such as chapter , header ,footer etc. It supports global attribute and event attribute.

    div tag define section or division i the HTML document. It is used to group block elements to format them.

    artical tag specifies independent, self-contained content.



     

Html5

Didn't get the answer.
Contact people of Talent-Html5 directly by clicking here