加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

Bootstrap表单控件使用方法详解

发布时间:2020-12-18 00:42:49 所属栏目:安全 来源:网络整理
导读:表单作为Bootstrap的核心内容,主要功能是用来与用户做交流的一个网页控件,良好的表单设计能够让网页与用户更好的沟通。 meta http-equiv="X-UA-Compatible" content="IE=edge" meta name="viewport" content="width=device-width,initial-scale=1" link re

表单作为Bootstrap的核心内容,主要功能是用来与用户做交流的一个网页控件,良好的表单设计能够让网页与用户更好的沟通。

<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="viewport" content="width=device-width,initial-scale=1">

<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">

<div class="col-md-10">
<input id="username" class="form-control" type="text" name="username" value="" placeholder="请输入用户名">

<div class="form-group">
<label class="col-md-2 control-label" for="file">上传文件:
<div class="col-md-10">
<input id="file" type="file" name="file" value="">

<div class="form-group">

<label class="checkbox-inline">
<input type="checkbox">音乐

<label class="checkbox-inline">
<input type="checkbox">体育

<div class="form-group">
<label class="col-md-2 control-label">学历:
<div class="col-md-10">
<div class="radio">
<label class="radio-inline">
<input name="raido" type="radio">中学

<label class="radio-inline">
<input name="raido" type="radio">大专

<label class="radio-inline">
<input name="raido" type="radio">研究生

<div class="form-group">
<label class="col-md-2 control-label">个人简历
<div class="col-md-10">
<textarea class="form-control" name="person" rows="5" placeholder="请输入">

<div class="col-md-10 col-md-offset-2">
<button type="button" class="btn btn-success">提交表单

<script src="bootstrap/js/jquery.min.js">
<script src="bootstrap/js/bootstrap.js">

如果大家还想深入学习,可以点击进行学习,再为大家附3个精彩的专题:

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持编程之家。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读