1、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>
2、網頁設計請教,這個結構的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>
3、求一個html網頁跟CSS代碼啊!
我就是做WEB開發的 給你個前台靜態頁面吧看看能不能用的上
4、html/CSS網頁設計
在第3個td裡面添加<a href="這里連接">姓名</a>
5、什麼叫HTML,CSS代碼?是網頁設計的嗎?
從美工圖到網頁的呈現,是需要代碼去實現的。HTML、CSS以及JavaScript是網頁實現的基本組成部分,可以認為是三種語言。HTML管的是網頁的基本結構(比如不同模塊如何放置,這種布局操作),CSS處理網頁中的樣式(如文字的顏色、段落的首行縮進等等),JavaScript管的是網頁中的行為,比如你點擊了向左向右的按鈕,圖片發生了滾動等。
HTML和CSS不屬於網頁設計,更確切的說是網頁製作。如果結合JavaScript,會被稱為前端開發。另外,HTML5和CSS3的發展,為網頁添加了很多新特性新功能,涉及這方面的被稱為HTML5開發
6、急求一份html、css、JavaScript的一個個人網頁設計模板代碼
這個網上的模板也很多,如果要作為期末作品的話建議還是自己做,那些模板一看就能看出來。製作也不難的。
7、求一個html + css的網頁布局代碼
不知道你說的高度全屏什麼意思,給你寫了段代碼,自己在調試一下
<table width=100% border="1" cellspacing="1" cellpadding="1" style="text-align:center;">
<tr>
<td style="width:100%; height:30px;">第一部分</td>
</tr>
<tr>
<td><table style="width:100%;" border="1"cellspacing="1" cellpadding="1">
<tr>
<td style="width:200px;">第二部分</td>
<td>第三部分</td>
</tr>
</table>
</td>
</tr>
</table>