1
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?

More than 1 year has passed since last update.

HTMLでmeta使ってページアイコンを作りたい話

Posted at

はじめに

最近作ったページのアイコンを付けたくなったので、
記事に書くほどではないが、書いていきたいと思います。

いつもの

今日はMaterialize使わないです。

icon.html
<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>icon</title>
</head>

<body>
  
</body>

</html>

アイコン画像の用意

僕のアイコンを使います。

アイコン書き込み

書き込みはmetaを使ってやります。

icon.html
<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>icon</title>
  <link rel="icon" href="Atsu1209.png">

</head>

<body>
  
</body>

</html>

hrefのところに画像パスか画像URLを貼り付けてください。
<link rel="icon" href="Atsu1209.png">このコードを使ってます。]

最後に

めっちゃ短い記事になったけど、意外と役に立つ。
では.

1
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
1
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?