Ai
2 Star 0 Fork 1

QTYResources/HTML5AndCSS3

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
scaling-image-after.html 754 Bytes
一键复制 编辑 原始数据 按行查看 历史
xiaotuan 提交于 2020-06-17 19:23 +08:00 . 添加原始源代码
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Stupas</title>
<style>
/*
This CSS doesn't affect the size of the image; it's solely for styling the figure a little bit. Remove these styles to see the difference.
Also, of course, normally I'd put this in an external style sheet. I've placed it here to simplify the example.
*/
body {
line-height: 1.3;
}
figure {
margin: 20px;
width: 220px;
}
figure img {
margin-bottom: 5px;
}
</style>
</head>
<body>
<figure>
<img src="stupas.jpg" alt="Two Stupas" width="220" height="170" alt="" />
<figcaption>These stupas in Yunnan, China, are Buddhist monuments used as a place for worship.</figcaption>
</figure>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/qtyresources/html5-and-css3.git
git@gitee.com:qtyresources/html5-and-css3.git
qtyresources
html5-and-css3
HTML5AndCSS3
master

搜索帮助