Skip to content
Related Articles
Open in App
Not now

Related Articles

How to define metadata about an HTML document in HTML5 ?

Improve Article
Save Article
  • Last Updated : 17 Mar, 2021
Improve Article
Save Article

The metadata means the information about data. The <meta> tag in HTML provides information about HTML Document or in simple words, it provides important information about a document. These tags are basically used to add name/value pairs to describe properties of HTML documents, such as expiry date, author name, list of keywords, document author, etc. 

In this article, we will see how to set the metadata about an HTML document by using the HTML <Meta> Tag.


<meta attribute-name="value">



<!DOCTYPE html>
        How to define metadata about 
        an HTML document in HTML5? 
    <meta charset="utf-8">
    <meta charset="utf-8" name="viewport" 
          content="width=device-width, initial-scale=1.0">
    <h1 style="color: green;">
        How to define metadata about 
        an HTML document in HTML5? 
        Prepare for the Recruitment drive
        of product based companies like
        Microsoft, Amazon, Adobe etc with
        a free online placement preparation
        course. The course focuses on various
        MCQ's & Coding question likely
        to be asked in the interviews &
        make your upcoming placement season
        efficient and successful.


My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!