DEV Community


Posted on

Meta Tag in HTML | SEO Important

Meta Tag in HTMLMeta Tag in HTML | SEO Important. A meta tag in HTML is used to represent data about your webpage. With the help of a meta tag, we can specify the description of the document, its author information when it was last updated, it uses to give detailed properties of the HTML document. The meta tag is enclosed within the HTML tag, which was added in part. It is most helpful to the web designers to show the actual display part of the web page. The whole viewport control will be done by them using meta tags.

Meta Tag in HTML

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Enter fullscreen mode Exit fullscreen mode

<html lang="en">:) is the best support for displaying any kind of language.
<meta name="viewport" content.........>:) used to manage the size of the viewport with all its page dimension value and page scrolling to fit our webpage perfectly in any kind of device.

Meta Tag List

Tags Description
<meta charset="UTF-8"> Defines Character Encoding
<meta name="description" content="150 words"> Defines Description
<meta name="copyright" content="company name"> Preserve Copyrights
<meta name="abstract" content=""> Abstract a Web Page
<meta name="author" content=""> Defines author
<meta name="url" content=""> Define URL
<meta name="rating" content="General"> Manage Ratings
<meta name="keywords" content="your, tags"/> Web Keywords


<meta charset="UTF-8">
<meta name="description" content="Meta tag details information here">
<meta name="robots" content="Robotics"/>
<meta name="hotmail:card" content="summary"/>
Enter fullscreen mode Exit fullscreen mode

So, a Meta tag in Html is used to represent metadata about HTML documents. The code included in it is a machine-readable format that works well with a webpage but doesnโ€™t show any content on the page to the visitors.

I shared this post from Meta Tag in HTML | SEO Important you can read in detail from there.

If you have any question please discuss below help to improve. Thank you.

Top comments (2)

bisb profile image
Guillaume Adam • Edited

<meta charset="UTF-8"> is actually for character encoding and <html lang="en"> is for language

elinabey profile image

@bisb Thanks for your contribution. It has been updated.