• Bootstrap表单


    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication6.WebForm1" %>
    
    <!DOCTYPE html>
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <title></title>
        <link href="Content/bootstrap.min.css" rel="stylesheet" />
        <script src="Scripts/jquery-1.10.2.min.js"></script>
        <script src="Scripts/bootstrap.min.js"></script>
    </head>
    <body>
        <form id="form1" runat="server">
    <div class="col-md-12">
        <div class="form-group">
            <label class="col-sm-3 control-label">文本框:</label>
            <div class="col-sm-9">
                <input type="text" name="" class="form-control" placeholder="请输入文本"> <span class="help-block m-b-none">说明文字</span>
    
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">密码框:</label>
            <div class="col-sm-9">
                <input type="password" class="form-control" name="password" placeholder="请输入密码">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">下拉列表:</label>
            <div class="col-sm-9">
                <select class="form-control" name=""></select>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">文件域:</label>
            <div class="col-sm-9">
                <input type="file" name="" class="form-control">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">纯文本:</label>
            <div class="col-sm-9">
                <p class="form-control-static">这里是纯文字信息</p>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">单选框:</label>
            <div class="col-sm-9">
                <label class="radio-inline">
                    <input type="radio" checked="" value="option1" id="optionsRadios1" name="optionsRadios">选项1</label>
                <label class="radio-inline">
                    <input type="radio" value="option2" id="optionsRadios2" name="optionsRadios">选项2</label>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">复选框:</label>
            <div class="col-sm-9">
                <label class="checkbox-inline">
                    <input type="checkbox" value="option1" id="inlineCheckbox1">选项1</label>
                <label class="checkbox-inline">
                    <input type="checkbox" value="option2" id="inlineCheckbox2">选项2</label>
                <label class="checkbox-inline">
                    <input type="checkbox" value="option3" id="inlineCheckbox3">选项3</label>
            </div>
        </div>
    </div>
        </form>
    </body>
    </html>
  • 相关阅读:
    linux 下 mysql 常用命令
    极光推送-服务端代码
    spring定时任务表达式
    结合 Redis 实现同步锁
    MySQL 常用函数
    PostgreSQL查询优化逻辑优化之其他
    PostgreSQL查询优化之子查询优化
    PostgreSQL查询优化器之grouping_planner
    PostgreSQL事务实现
    zookeeper ZAB协议 Follower和leader源码分析
  • 原文地址:https://www.cnblogs.com/lyl6796910/p/5085241.html
Copyright © 2020-2023  润新知