1、网页代码到底怎么写啊?
先入门:打开记事本,把下面这行代码复制进去
<html><title>这里是标题</title><body>这里是正文</body></html>
然后“文件内|另存容为”,保存到桌面,文件名是"abc.htm",再到桌面上看看结果?
如果上面的成功了,再到百度搜“HTML语法”,你会学到很多东西的。
2、像这样一个简单网页制作的代码怎么写?(框内为蓝色)
写个<div>,位置自己调一下左右距离。之后div里面的属性背景选蓝色
之后打字的话 通知字号、加粗、字体
之后下面写个列表 有序列表或者无序列表都可以
3、像这样的一个简单网页制作的代码怎么写?谢谢大神
直接使用这个软件 Dreamweaver 做这个网页了呀
4、html网页设计:一个简单的登录界面代码!
是这样的效果吗?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>3</title>
<script>
function r()
{
var username=document.getElementById("username");
var pass=document.getElementById("password");
if(username.value=="")
{
alert("请输入用户名");
username.focus();
return;
}
if(pass.value=="")
{
alert("请输入密码");
return;
}
return true;
}
</script>
</head>
<body>
<form>
<table width="350" bgcolor="#ccffcc" style="border-color" border="1">
<tr align=center>
<td>用户名</td><td><input type="text" name="username" id="username"></td>
</tr>
<tr align=center><td>密 码</td><td><input type="password" name="password" id="password"></td></tr>
<tr align=center><td>验证码</td><td><input type="text" name="yanzheng"></td></tr>
<tr align=center><td colspan="2"><input type="button" value="登 录" onclick="r();"/> <input type="reset" value="重 置"/></td></tr>
</table>
</form>
</body>
</html>
5、网页设计html网站代码
6、网页设计请教,这个结构的html和css代码怎么写?如图,本人新手,请写出完整代码,颜色随意,谢谢!
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<div class="main">
<div class="a"></div>
<div class="b">
<div class="b1"></div>
<div class="b2"></div>
</div>
<div class="c"></div>
</div>
<style>
.main{
width:900px;
height:600px;
}
.a,.b,.c{
float:left;
}
.a{
width:300px;
height:600px;
background-color:yellow;
}
.b{
width:300px;
height:600px;
}
.b1{
display:block;
width:300px;
height:300px;
background-color:green;
}
.b2{
width:300px;
height:300px;
background-color:black;
}
.c{
width:300px;
height:600px;
background-color:red;
}
</style>
</body>
</html>