zoukankan      html  css  js  c++  java
  • 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>
  • 相关阅读:
    Quartz任务调度(3)存储与持久化操作配置详细解
    Quartz任务调度(2)CronTrigger定制个性化调度方案
    Quartz任务调度(1)概念例析快速
    Mybatis Generator最完整配置详解
    SpringMVC之@ControllerAdvice
    文件上传api——MultipartFile
    Springboot使用MatrixVariable 注解
    p命名空间和c命名空间
    SpringBoot配置Cors跨域请求
    SpringBoot五步配置Mybatis
  • 原文地址:https://www.cnblogs.com/lyl6796910/p/5085241.html
Copyright © 2011-2022 走看看