编程学习网为您整理以下代码实例,主要实现:Bootstrap表单输入和标签的容器,希望可以帮到各位朋友。
<!DOCTYPE HTML>
<HTML>
<head>
<Title>bootstrap Example</Title>
<link href = "/bootstrap/CSS/bootstrap.min.CSS" rel = "stylesheet">
<script src = "/scripts/jquery.min.Js"></script>
<script src = "/bootstrap/Js/bootstrap.min.Js"></script>
</head>
<body>
<form role = "form">
<div class = "form-group">
<label for = "name">Student name</label>
<input type = "text" class = "form-control" ID = "name" placeholder = "Enter Student name">
</div>
<div class = "form-group">
<label for = "inputfile">Upload Resume</label>
<input type = "file" ID = "inputfile">
<p class = "help-block">Example block-level help text here.</p>
</div>
<button type = "submit" class = "btn btn-primary">Next</button>
</form>
</body>
</HTML>
本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!