Skip to content

Instantly share code, notes, and snippets.

@BalicantaYao
Created July 29, 2018 03:26
Show Gist options
  • Save BalicantaYao/4d7e3075605b40f489fb8be2b3b55c3a to your computer and use it in GitHub Desktop.
Save BalicantaYao/4d7e3075605b40f489fb8be2b3b55c3a to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- 上述3个meta标签*必须*放在最前面,任何其他内容都*必须*跟随其后! -->
<title>Class Sign Up Form</title>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.2/css/bootstrap.min.css" integrity="sha384-Smlep5jCw/wG7hdkwQ/Z5nLIefveQRIY9nfy6xoR1uRYBtpZgI6339F5dgvm/e9B" crossorigin="anonymous">
<link href="signin.css" rel="stylesheet">
<style type="text/css">
button {margin : 5px 5px 5px 5px;}
</style>
<!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询(media queries)功能 -->
<!-- 警告:通过 file:// 协议(就是直接将 html 页面拖拽到浏览器中)访问页面时 Respond.js 不起作用 -->
<!--[if lt IE 9]>
<script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body class = "text-center">
<div class="container">
<form action="" method="post">
<img class="mb-4" src="symbol.jpg" alt="" width="72" height="72">
<h1 class="h3 mb-3 font-weight-normal">Class Sign Up Form</h1>
<label for = "inputEmail" class = "sr-only"> Email address </label>
<input type="email" id ="inputEmail" class = "form-control" placeholder = "Email address"required autofocus /> <br/>
<label for = "inputText" class = "sr-only"> Full Name </label>
<input type="text" name="name" class = "form-control" placeholder= "Full Name" required autofocus /> <br/>
<label>Gender : </label>
<input type="radio" name="contactVia" value="male"> Male
<input type="radio" name="contactVia" value="female"> Female
<input type="radio" name="contactVia" value="unisex"> Unisex<br/>
<label for = "inputText" class = "sr-only"> Phone </label>
<input type="text" name="number" class = "form-control" placeholder = "Phone Number" required autofocus /> <br/>
<div class="checkbox mb-3">
<label>Info resource : </label>
<input type="checkbox" name="news paper"> News papper
<input type="checkbox" name="news paper"> Email
<input type="checkbox" name="news paper"> Website<br/>
</div>
<div class = "checkbox mb-3">
Residency </b>
<select name = 'city'>
<option value='' selected> choose </option>
<option value='1' > Taipei </option>
<option value='2' > Taichung </option>
<option value='3' > Hsincu </option>
<option value='4' > Keelung </option>
</select><br/></div>
<button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
</form>
</div>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.2/css/bootstrap.min.css" integrity="sha384-Smlep5jCw/wG7hdkwQ/Z5nLIefveQRIY9nfy6xoR1uRYBtpZgI6339F5dgvm/e9B" crossorigin="anonymous">
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment