<body>
<header>
<section>
<label for="title">ToDoList</label>
<input type="text" id="title" name="title" required="required" autocomplete="off"
placeholder="添加ToDo">
</input>
<input type="submit">
<!--
type="text" 类型规定文字
required="required" 必须要输入字段
placeholder 字体虚化,用value是实体
-->
</section>
</header>
<section>
</section>
<footer>
</footer>
</body>
.body{
background: #cdcdcd;
}
.header{
background: #91282852;
background-color: #91282852;
height: 50px;
}
.section{
width: 600px;
padding: 0px 10px;
}