主頁
CSS
CSS 樣式圖片
Tryit:建立縮圖
執行 ❯
建立您
自己的
網站
×
改變方向
儲存程式碼
更改主題,深色/淺色
前往 Spaces
<!DOCTYPE html> <html> <head> <style> img { border: 1px solid #ddd; border-radius: 4px; padding: 5px; width: 150px; } </style> </head> <body> <h2>Thumbnail Image</h2> <p>Use the border property to create thumbnail images:</p> <img src="paris.jpg" alt="Paris" style="width:150px"> </body> </html>