A complete SEO and social head
Everything a public page needs in the head.
HTML · A complete SEO and social headAdvanced
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Learn PHP step by step | Example</title>
<meta name="description" content="Short, useful summary of the page in about 155 characters.">
<link rel="canonical" href="https://example.com/php">
<meta property="og:type" content="article">
<meta property="og:title" content="Learn PHP step by step">
<meta property="og:description" content="Short, useful summary.">
<meta property="og:image" content="https://example.com/og/php.jpg">
<meta property="og:url" content="https://example.com/php">
<meta name="twitter:card" content="summary_large_image">
<meta name="theme-color" content="#2563eb">
<link rel="icon" href="/icon.svg" type="image/svg+xml">
</head>
<body><h1>Learn PHP step by step</h1></body>
</html>seoopen graphtwittercanonicalhead