Skip to content
Loading
what is meta and main tag?
+2
  • Satya Karki
    The tag defines metadata about an HTML document. Metadata is data of the data.
     
    tags always go inside the element, and are typically used to specify character set, page description, keywords, author of the document, and viewport settings.
     
    Metadata will not be displayed on the page, but is machine parsable.
     
    Metadata is used by browsers (how to display content or reload page), search engines (keywords), and other web services.
     
    The
    tag specifies the main content of a document.
     
    The content inside the
    element should be unique to the document. It should not contain any content that is repeated across documents such as sidebars, navigation links, copyright information, site logos, and search forms.
     
    Follow below links for detail
     
    https://www.w3schools.com/tags/tag_main.asp
    https://www.w3schools.com/tags/tag_meta.asp
    +2
  • Mageshwaran R
    Hi,
    Please refer the below link, it might helps you
     https://www.w3schools.com/tags/tag_main.asp
    https://www.w3schools.com/tags/tag_meta.asp 
    +1
  • Akhil Garg

    The

    tag specifies the main content of a document.
    The content inside the
    element should be unique to the document. It should not contain any content that is repeated across documents such as sidebars, navigation links, copyright information, site logos, and search forms.
    The tag provides metadata about the HTML document. Metadata will not be displayed on the page, but will be machine parsable.
    Meta elements are typically used to specify page description, keywords, author of the document, last modified, and other metadata.eg. charset=UTF-8

    The metadata can be used by browsers (how to display content or reload page), search engines (keywords), or other web services.

    +2