img

imgタグで画像を表示する。

<img> - イメージ - とほほのWWW入門

あらかじめ画像image1.pngを用意しておいて、

こう書いて、

$ vi img.html
$ cat img.html
<html>
  <head>
    <title>img</title>
  </head>
  <body>
    <img src="image1.png" />
  </body>
</html>
$ ls
image1.png  img.html
$ cp img.html image1.png /var/www/html/
$

/var/www/htmlに配置。

表示された
表示された

表示された。

Sample/html/img/img/src/img at master · bg1bgst333/Sample · GitHub