Meta 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">
<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="name@hotmail.com"> |
Defines author |
<meta name="url" content="http://url.com"> |
Define URL |
<meta name="rating" content="General"> |
Manage Ratings |
<meta name="keywords" content="your, tags"/> |
Web Keywords |
Example:)
<html>
<head>
<meta charset="UTF-8">
<meta name="description" content="Meta tag details information here">
<meta name="robots" content="Robotics"/>
<meta name="hotmail:card" content="summary"/>
</head>
</html>
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)
<meta charset="UTF-8">
is actually for character encoding and<html lang="en">
is for language@bisb Thanks for your contribution. It has been updated.