HTML Meta Tags

Article Summary

Learn how HTML meta tags work and how to use common meta tags for SEO and responsiveness.

Meta tags provide information about a webpage to browsers and search engines.


Common Meta Tags

<meta charset="UTF-8">
<meta name="description" content="HTML meta tags example">
<meta name="keywords" content="HTML, tutorial">
<meta name="author" content="HTML Course">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

Meta Tag Attributes

  • charset → character encoding
  • name → metadata type
  • content → metadata value

Important Notes

  • Meta tags improve SEO
  • They are placed inside <head>
  • Not visible to users
Was this helpful?