案例:Bootstrap案例     状态:可编辑再运行    进入横版
x
 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
    <meta charset="utf-8"> 
5
    <title>Bootstrap 实例 - 基本表单</title>
6
    <link rel="stylesheet" href="/css/bootstrap/bootstrap3.3.7.min.css">  
7
    <script src="/js/bootstrap/jquery.min.js"></script>
8
    <script src="/js/bootstrap/bootstrap3.3.7.min.js"></script>
9
</head>
10
<body>
11
12
<form role="form">
13
    <div class="form-group">
14
        <label for="name">名称</label>
15
        <input type="text" class="form-control" id="name" 
16
               placeholder="请输入名称">
17
    </div>
18
    <div class="form-group">
19
        <label for="inputfile">文件输入</label>
20
        <input type="file" id="inputfile">
21
        <p class="help-block">这里是块级帮助文本的实例。</p>
22
    </div>
23
    <div class="checkbox">
24
        <label>

 运行结果 
 北美留学生论坛