8
2

More than 3 years have passed since last update.

【Github】画像のサイズを指定する方法

Last updated at Posted at 2020-04-03

通常,画像をドラッグ&ドロップしてそのままコピー&ペーストするとこのようになります.

![代替テキスト](画像のURL)

しかし、これを <img> タグを使った方法に変更することで,画像のサイズを指定するwidth要素が使えるようになります.

<img src="画像のURL" width="画像のサイズ">

参考資料

GitHubの画像貼り付けでサイズを指定する方法

8
2
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
8
2