Glubase - share your knowledge


All / Computers / Programming / HTML / XHTML





  • View Command

HTML / XHTML Reference

HTML / XHTML label definition

Syntax

<label> ... </label>

Description

Indicates a label.

Attributes

Common attributes.

Example

[Try this example yourself]
<form name="form" action="">
  <input type="radio" name="radio" id="1">
    <label>option 1</label>
  </input>
  <input type="radio" name="radio" id="2">
    <label>option 2</label>
  </input>
</form>

Output

  • Comments

No comments added.