站点工具

用户工具


<markdown>
 
[\<\< 返回HTML教程](:document/html)
 
# 图像
 
```html
<!-- 显示 Vue.js logo -->
<img src="https://vuejs.org/images/logo.png" alt="Vue.js logo" width="200">
```
## 带说明的图像
```html
<figure>
  <img src="https://imgsa.baidu.com/baike/c0%3Dbaike180%2C5%2C5%2C180%2C60/sign=cbcb7644c811728b24208470a995a8ab/43a7d933c895d143b7801df676f082025baf0774.jpg"
       alt="傍晚的珠海渔女雕像,旁边还有一群游客"
       width="400"
       height="300">
  <figcaption>傍晚的珠海渔女</figcaption>
</figure>
```
 
## 参考链接
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
* https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Images_in_HTML
 
</markdown>
admin · 2021/09/15 14:34 · 前端基础_html_image.md.1631687675.txt.gz