Twitter Bootstrap:如何为收音机和复选框添加标签?

Sta*_*bie 5 css css3 twitter-bootstrap

是否有TB方式引入无线电和复选框选项?例如:

Foo选项介绍:

  • Foo One
  • Foo Two

基本上,类似于<label>角色<input>等等.以下是2个无线电选项的代码,但没有"标签":

<div class="control-group">
    <div class="controls">
        <label class="radio" for="foo_foo1">
            <input type="radio" name="foo" value="foo1" id="foo_foo1">
            Foo One
        </label>
        <label class="radio" for="foo_foo2">
            <input type="radio" name="foo" value="foo2" id="foo_foo2">
            Foo Two
        </label>        
    </div>
</div>
Run Code Online (Sandbox Code Playgroud)

喜欢TB解决方案.

ngm*_*ngm 0

<fieldset>a和 a怎么样<legend>?

正如这里的第一个示例: http: //twitter.github.com/bootstrap/base-css.html#forms

还是信息提醒? http://twitter.github.com/bootstrap/components.html#alerts