<html>
<head><title>表單示例</title>
<!-- 以下控件鏈接外部樣式表 -->
<!-- ********FOUND********* -->
<link href="1.css" ____________="stylesheet" type="text/css">
</head>
<body>
<form>
<!-- ********FOUND********* -->
username:<input type="____________" name="user"><br>
<!-- ********FOUND********* -->
password:<input type="____________" name="paword"><br>
<!-- ********FOUND********* -->
<input type="____________" value="提交">
<!-- ********FOUND********* -->
<input type="____________" value="重置">
</form>
</body>
</html>
答案
1. rel
2. text
3. password
4. submit
5. reset
是不是有點簡單,那就再來一題!
<html>
<head>
<script type="text/javascript" >
function closeWin(){
//在此處添加代碼
// **********Found**********
if(________________("確定要退出嗎?")){
// **********Found**********
________________;
}
}
function morning(){
now = new Date();
// **********Found**********
hour = _______________;
if (hour < 9){window.status="早上好!"}
else {window.status="下午好!";}}
</script>
</head>
<!-- **********Found********** -->
<body ________________="morning()">
<!-- **********Found********** -->
<input type="button" value="關閉窗口" onclick="______________"/>
</body>
</html>
答案
1. confirm
2. window.close()
3. now.getHours()
4. onload
5. closeWin();
附上一張美女圖片