all AI news
HTML META TAGS
DEV Community dev.to
HTML meta tags are special elements that provide metadata about an HTML document. They do not affect how the document is displayed but provide information such as character encoding, authorship, viewport settings, and other metadata to browsers and search engines.
1. Charset
Use: Specifies the character encoding for the HTML document.
Example:<meta charset="utf-8">
2. Viewport
Use: Configures the viewport properties, enabling responsive design on different devices.
Example:<meta name="viewport" content="width=device-width, initial-scale=1.0">
3. Description
Use: Provides a brief description of …
beginners browsers document encoding example html information meta metadata search webdev