Forms This page demonstrates the styling on base (and other common), form-related elements. It is
not intended for direct re-use. Instead, please see the components.
Form groups Errors Error with message This is an error message.
< div class = " error" >
< div class = " message" > This is an error message.</ div>
</ div>
< div className = " error" >
< div className = " message" >
This is an error message.
</ div>
</ div>
Fieldsets
This is a fieldset. < fieldset> This is a fieldset.</ fieldset>
< fieldset> This is a fieldset. </ fieldset>
With legend
This is a legend This is a fieldset with a legend.< fieldset>
< legend> This is a legend</ legend>
This is a fieldset with a legend.
</ fieldset>
< fieldset>
< legend> This is a legend </ legend>
This is a fieldset with a legend.
</ fieldset>
Labels This is a label.
< label> This is a label.</ label>
< label> This is a label. </ label>
Hints This is a hint.
< span class = " hint" > This is a hint.</ span>
< span className = " hint" > This is a hint. </ span>
Inputs Text Error < div class = " error" >
< input name = " example" type = " text" />
</ div>
< div className = " error" >
< input name = " example" type = " text" />
</ div>
E-mail Password Number Colour Date Datetime local Time File Month Week Range Search Tel URL Checkbox Radio Select Foo Bar Baz
< select name = " example" >
< option> Foo</ option>
< option> Bar</ option>
< option> Baz</ option>
</ select>
< select name = " example" >
< option> Foo </ option>
< option> Bar </ option>
< option> Baz </ option>
</ select>
Mult-select Foo Bar Baz
< select name = " example" multiple = " " size = " 3" >
< option> Foo</ option>
< option> Bar</ option>
< option> Baz</ option>
</ select>
< select name = " example" multiple size = " 3" >
< option> Foo </ option>
< option> Bar </ option>
< option> Baz </ option>
</ select>
Textarea
< textarea name = " example" > </ textarea>
< textarea name = " example" />