Meta tags live inside the head section of your HTML and provide metadata about the web page. They do not appear visually but affect SEO, social sharing, responsiveness, and browser behavior.
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Web Page Title<>
<meta name="description" content="Summary of the webpage...">
<meta name="author" content="Author name or company name">
*Make certain to always include charset, title, description, and viewport meta tags.
<meta name="robots" content="index,follow">
<meta name="theme-color" content="#f2f3f1">
A valid color value, such as hexadecimal, named color, RGB, etc. can be used
<meta name="apple-mobile-web-app-capable" content="yes">
Used by social platforms such as Facebook and LinkedIn to generate generate preview links of your content.
<meta property="og:title" content="Content Title">
<meta property="og:description" content="Content summary">
<meta property="og:image" content="https://linkto.com/image.png"><meta property="og:url" content="https://yourcontent.com/url">
<meta property="og:type" content="website">
Twitter (X) are meta tags used to display text, images and media such as video and audio.
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Content Title">
<meta name="twitter:description" content="Content summary">
<meta name="twitter:image" content="https://linkto.com/image.png">
<meta name="twitter:site" content="@yourHandle">
twitter:card will determine the type of card to use such as:
summary_large_image: provides a summary card with a large image.
summary: provides summary card with a small square image.
app: provides app card for mobile apps.
player: provides a player card with embedded video and audio streams.
Refreshes the page every 30 seconds
<meta http-equiv="refresh" content="30">
Redirects to another page immediately after loading page
<meta http-equiv="refresh" content="0; https://another.site">
Controls how Internet Explorer renders the page. It ensures that IE uses the latest rendering engine to allow your webpage function properly improving performance and design
<meta http-equiv="X-UA-Compatible" content="IE=edge">