1.画像の表示   <img src = "画像ファイル名">

HTMLの指定
画面表示


<img src="logo.gif" >

   ◇src → 画像ファイルの名称(ソース)


<img src="logo.gif" alt="文教ロゴ" height="110" width="85" >


   ◇alt → 画像を示す文字列  height,width → 高さと幅 
文教ロゴ

文教大学の 
 <img src="logo.gif" border="1" height="70" width="54"> ロゴです。

   ◇border → 枠の指定      ※border属性は廃止予定


文教大学の   ロゴです。



 2.テーブルの中に画像を入れる

HTMLの指定
画面表示
<table border="1" cellpadding="10" bgcolor="#ffccff">
 <tr>
  <td><img src="kesikiA.jpg" alt="風景A" height="71" width="100">
  </td>
  <td><img src="kesikiB.jpg" alt="風景B" height="71" width="100">
  </td>
 </tr>
 <tr align="center">
  <td>風景写真A</td>
  <td>風景写真B</td>
 </tr>
</table>
風景A 風景B
風景写真A 風景写真B




 3.アニメーションGIF

(アニメーションGIF形式のファイルを指定する)

HTMLの指定
画面表示



<img src="machine.gif">






<img src="doornext.gif">