Created
February 28, 2021 15:54
-
-
Save chrisryana/9ae8771fc61a5a303491426cc8905040 to your computer and use it in GitHub Desktop.
Мета тэги для html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- https://developers.facebook.com/tools/debug – для отладки карточек Facebook --> | |
<!-- https://cards-dev.twitter.com/validator – для отладки карточек Twitter --> | |
<!-- https://ogp.me – полная информация --> | |
<head> | |
<title>Заголовок</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width,initial-scale=1"> | |
<meta name="description" content="Описание"> | |
<meta property="og:type" content="website"> | |
<meta property="og:title" content="Заголовок для ссылки ВКонтакте, Facebook, Pinterest, Одноклассники, Telegram, Skype"> | |
<meta property="og:site_name" content="Описание для ссылки ВКонтакте, Facebook, Pinterest, Одноклассники, Telegram, Skype"> | |
<meta property="og:url" content="https://web-site.ru/"> | |
<meta property="og:image" content="https://web-site.ru/image.png"> | |
<!-- Если собираемся использовать Facebook Analytics --> | |
<meta property="fb:app_id" content="your_app_id" /> | |
<meta name="twitter:card" content="summary_large_image"> | |
<meta name="twitter:title" content="Заголовок для ссылки Twitter"> | |
<meta name="twitter:description" content="Описание для ссылки Twitter"> | |
<meta name="twitter:site" content="https://web-site.ru/"> | |
<meta name="twitter:image" content="https://web-site.ru/image.png"> | |
<meta name="twitter:image:alt" content="Альтернативный текст" /> | |
<meta name="twitter:creator" content="@username"> | |
<!-- Если собираемся использовать Twitter Card Analytics --> | |
<meta name="twitter:site" content="@username" /> | |
<link rel="icon" type="image/png" sizes="160x160" href="/icons/160.png"> | |
<link rel="icon" type="image/png" sizes="32x32" href="/icons/32.png"> | |
<link rel="icon" type="image/png" sizes="16x16" href="/icons/16.png"> | |
<link rel="icon" type="image/svg+xml" sizes="any" href="/icons/any.svg"> | |
<link rel="apple-touch-icon" href="/icons/160.png"> | |
<!-- Если есть альтернативный сайт для другого языка или региона --> | |
<link rel="alternate" hreflang="en-GB" href="https://web-site.com" title="Site Title"> | |
<link rel="manifest" href="/manifest.json"> | |
<link rel="stylesheet" href="/main.css"> | |
<link rel="stylesheet" href="/print.css" media="print"> | |
</head> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment