① 网页的背景图片的 html 代码怎么写
推荐使用Dreamweaver网页制作工具,图形界面,所见即所得,非常方便!
② css背景图片代码
写css背景图片代码可以参考以下:
<html>
<head>
<style type="text/css">
body {background-image:url(abc.jpg);}
</style>
</head>
<body>
</body>
</html>
(2)网页背景图片源代码扩展阅读:
1、背景图片语法:{background-image: url(url)|none}
2、背景固定语法:{background-attachment:fixed|scroll}
3、背景重复语法:{background-repeat:inherit|no-repeat|repeat|repeat-x|repeat-y}
4、背景定位语法:{background-position:数值|top|bottom|left|right|center}
参考资料来源:网络-CSS语法
③ 怎么在网页中插入图片html图片代码
在网页中插入图片html图片代码方法:
步骤:
一、html图片标签语法
<imgsrc="divcss-logo-201305.gif"width="165"height="60"/>