課程
/前端開發
/HTML/CSS
/初識HTML(5)+CSS(3)-升級版
為什么我自己新建一個html文件,把上面的內容拷貝進去,打開html是空的,沒有顯示文本框啥的?有點沒弄懂
2018-06-13
源自:初識HTML(5)+CSS(3)-升級版 6-1
正在回答
嗯,謝謝親,我的html源碼如下(和用戶有交互的,不太懂):
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>表單標簽</title>
</head>
<body>
<form method="post" action="save.php">
? ? ? <label for="username">用戶名:</label>
? ? ? <input type="text" ?name="username" id="username" value="" />
? ? ? <label for="pass">密碼:</label>
? ? ? <input type="password" ?name="pass" id="pass" value="" /> ? ?
? ? ? <input type="submit" value="確定" ?name="submit" />
? ? ? <input type="reset" value="重置" name="reset" />
</form> ?
</body>
</html>
<meat? http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>框架</title>
<style>
div{
? ? width:300px;
? ? height:300px;
border:1px solid red;
? ? }
.box{
? ? margin-bottom:30px;
</style>
<div class="box">第一個盒子</div>
<div class="boxs">第二個盒子</div>
<!-----有可能是內容出問題了 你看看控制臺 有沒有報錯? 不有的話 就是你里面的內容為空 所以就沒有顯示 ,-->
舉報
HTML(5)+CSS(3)基礎教程8小時帶領大家步步深入學習標簽用法和意義
4 回答打開網頁,內容顯示很慢
2 回答按enter鍵之后,無顯示內容
2 回答html和css初級教學內容不是視頻是么?
3 回答關于盒模型內容居中顯示
2 回答title的內容是顯示在哪里的
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2018-06-13
嗯,謝謝親,我的html源碼如下(和用戶有交互的,不太懂):
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>表單標簽</title>
</head>
<body>
<form method="post" action="save.php">
? ? ? <label for="username">用戶名:</label>
? ? ? <input type="text" ?name="username" id="username" value="" />
? ? ? <label for="pass">密碼:</label>
? ? ? <input type="password" ?name="pass" id="pass" value="" /> ? ?
? ? ? <input type="submit" value="確定" ?name="submit" />
? ? ? <input type="reset" value="重置" name="reset" />
</form> ?
</body>
</html>
2018-06-13
<!DOCTYPE HTML>
<html>
<head>
<meat? http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>框架</title>
<style>
div{
? ? width:300px;
? ? height:300px;
border:1px solid red;
? ? }
.box{
? ? margin-bottom:30px;
? ? }
</style>
</head>
<body>
<div class="box">第一個盒子</div>
<div class="boxs">第二個盒子</div>
</body>
</html>
<!-----有可能是內容出問題了 你看看控制臺 有沒有報錯? 不有的話 就是你里面的內容為空 所以就沒有顯示 ,-->