简单页面

第一次做页面,参考别人代码,编辑自己需要的标签,经过尝试,体会到不同标签的作用,还是有收获的。

 <!DOCTYPE html>

 <html>

 <head>

<meta charset="UTF-8">

<tittle>Second Web Page</tittle>

</head>

<body>

<form>

<h1>Second Web Page</h1>

<label for="userName">ID:  </label>

<input type="text" name="名字">

<p><label for="userName">passsword:</label>

<input type="password" name="password"></p>

<label for="phone">Phone:</label>

<input type="tel" name="phone">

<p>

<input type="checkbox" name="feature" value="tel">

<label for="tel">Tel</label>

<input type="checkbox" 名字="feature" value="email">

<label for="email">Email</label>

<input type="checkbox" 名字="feature" value="地址">

<label for="address">Address</label> </p>

<p><input type="submit" value="Sign in"></p>

</form>

</body>

<html>

posted on 2018-09-17 00:58  开始勒  阅读(200)  评论(0编辑  收藏  举报