Html 如何将页面划分为多个彩色部分
我的问题是如何将背景划分为多个彩色部分。我对编码相当陌生,所以如果你能给我一个简短的解释,我将不胜感激。谢谢。看看div的 然后在CSS样式中设置背景 如果没有一个你想做的例子,这些都可以考虑一下。Html 如何将页面划分为多个彩色部分,html,colors,background,divide,Html,Colors,Background,Divide,我的问题是如何将背景划分为多个彩色部分。我对编码相当陌生,所以如果你能给我一个简短的解释,我将不胜感激。谢谢。看看div的 然后在CSS样式中设置背景 如果没有一个你想做的例子,这些都可以考虑一下。code用于丢弃页面 Code For Spiting the page <html> <div align="top" style="width:1024;height:100;border:solid;border-width:2;background:#ccc;"&g
code用于丢弃页面
Code For Spiting the page
<html>
<div align="top" style="width:1024;height:100;border:solid;border-width:2;background:#ccc;">
<img src="yourimage.jpg" height="100" width="1024"></img>
</div>
<div style="width:1024;height:200;background:#dedede;">
<div style="width:300;height:200;border:solid;border-width:2;float:left;background:#414141;"></div>
<div style="width:300;height:200;border:solid;border-width:2;float:right;background:#616161;"></div>
</div>
<div align="bottom" style="height:100;width:1024;border:solid;background:#868686;"">
<center>Hello World</center>
</div>
</html>
我将不同的部分涂成颜色的方法是通过制作不同的div部分,例如:
div style=“背景色:浅蓝色
字体颜色:“黑色”
(输入文本)
/div
/字体
br/br
div style=“背景色:黑色”
font color=“白色”
(输入文本)
/div
/字体
如果你不想在两者之间休息,你可以选择br/br你能提供更多信息吗?什么类型的背景?嗯,html?对不起,我真的不想成为一个融合者