HTML (meta tags and meta description)

 

META TAGS

     Meta tags are HTML elements located within the <head> section of a web document that provide metadata about the page. Metadata is data that describes other data about the page. It helps search engines and browsers to understand hoe to handle or display a content. These <meta>  tags are not directly displayed to the user but it plays a vital role for browsers as well as search engines, and other web services to understand and process the content.
Common Attributes of Meta Tags:
  • charset: It specifies the character encoding for the HTML document, such as UTF-8.
  • content: It contains the value associated with the http-equiv or name attribute. 
  • http-equivProvides an HTTP header for the information in the content attribute, mimicking HTTP response headers (e.g., refresh for page redirection).
  • nameSpecifies a name for the metadata, used in conjunction with the content attribute to provide name-value pairs (e.g., descriptionkeywordsauthorviewportrobots).
Meta Description:
The meta description is a specific type of meta tag defined using the name="description" attribute. It provides a concise summary of the webpage's content. Search engines may use this description in search results snippets, influencing user click-through rates.

<!DOCTYPE html>
  <html>
  <head>
    <meta charset="utf-8">
    <meta name="description" content="This is a page briefing us about (HTML)meta tags used for SEO rankings. ">
    <meta name="keywords" content="HTML meta tags, meta descriptions, meta attributes,meta tags for SEO rankings">
  </head>
 </html>

Comments

Popular posts from this blog

White hat SEO Rules : Point to Point