HTML meta tag

HTML meta tag is used to declare metadata inside web document.

A metadata can play a major role in the Search Engine Optimization of a website. Meta tag should include inside <head> tag of the HTML document.


Syntax


List of HTML meta tag attributes

Sr. No.Attribute optionsDescription
1nameThis option used to specify the name of the property of the html document. The value for this are
author
description
keywords
generator
revised
others
2contentThis attribute is used to specify the content for the property of the html document.
3http-equivThis is used to specify on what device the linked document will be displayed.
4relThis is used specify the relationship between the current document and the linked document.
alternate
author
dns-prefetch
help
icon
license
next
pingback
preconnect
prefetch
preload
prerender
prev
search
stylesheet
5typeThis is used to specifies The type of the document.

Resources and References

1. W3C Specification.
2. HTML living standard
3. W3C project using Github

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.