img:图片
<img src=“ 图片路径” alt=“加载失败提示” title=“图片名”>! 插入图片
img{
vertical-align: middle;
图片与行内文字对齐
(middle居中对齐
text-top上对齐
text- bottom下对齐)
默认值下对齐;
注意:不能设置给block元素
*/
}
html{
background-image:url(图片路径);!背景图片
background-repeat:no-repeat(repeat-x space round); !不平铺(水平平铺 完整水平铺垫距离相等 完整平铺)
background-size:cover; !铺全屏
}