0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

SEO対策の具体例を忘れないための備忘録

Last updated at Posted at 2024-02-25

head内に書くべきタグ

.html
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <meta name="format-detection" content="email=no,telephone=no,address=no">
    <meta name="robots" content="max-image-preview:large">

    <title></title>
    <meta name="description" content="">

    <!-- ogp -->
    <meta property="og:url" content="https://www.■■■■.■■■">
    <meta property="og:type" content="website">
    <meta property="og:title" content="">
    <meta property="og:description" content="">
    <meta property="og:site_name" content="">
    <meta property="og:image" content="https://www.■■■■.■■■/static/image/■■■.png">
    <meta property="og:locale" content="ja_JP">

    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:title" content="">
    <meta name="twitter:description" content="">
    <meta name="twitter:site" content="@Twitterユーザー名">

    <!-- favicon/webclipicon -->
    <link rel="icon" href="画像URL" sizes="16x16" type="image/png">
    <link rel="icon" href="画像URL" sizes="32x32" type="image/png">
    <link rel="icon" href="画像URL" sizes="48x48" type="image/png">
    <link rel="icon" href="画像URL" sizes="62x62" type="image/png">
    <link rel="shortcut icon" href="画像URL(.ico)" type="image/x-icon">
    <link rel="apple-touch-icon-precomposed" href="画像のURL">
    <meta name="msapplication-TileImage" content="画像のURL">

    <link rel="stylesheet" href="CSSファイルのURL">
    <script src="JavaScriptファイルのURL"></script>
</head>

詳しい内容説明に関しては下記参考文献を読んでください
https://saruwakakun.com/html-css/basic/head
https://moshashugyo.com/media/html-head
https://developer.mozilla.org/ja/docs/Learn/HTML/Introduction_to_HTML/The_head_metadata_in_HTML

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?