怎麼把圖片放在網頁上呢?
其實很簡單,不過先得找到一張圖!
如下圖,《》旁邊就有一張圖《》,或者是說,放在同一個目錄下!
若《index.htm》的內容如表左,則網頁就會像右邊那樣!
<html> <title></title> <body> <img src="bigeye.gif"> </body> </html> |
當然,<img>還有其他設定可以設,例如,border表設定邊框大小!
<html> <title></title> <body> <img src="bigeye.gif" border=1 > <img src="bigeye.gif" border=3 > </body> </html> |
和文字一樣,使用<center></center>就可以使圖置中了!
<html> <title></title> <body> <center> </body> </html> |