## Accessibility: Label Element

Example 3.10 - Form Labels - Example 3.10<form method="get" action="https://cs12.net/form/submit.php" enctype="application/x-www-form-urlencoded"><p>Do you like to watch NCAA basketball?</p><label><input type="radio" name="basketball" value="Y"/> Yes</label><br/><label><input type="radio" name="basketball" value="N"/> No</label><br/><button type="submit">Submit</button></form>

- Markup
- Display

     <form method="get" action="https://cs12.net/form/submit.php">
       <p>Do you like to watch NCAA basketball?
       </p>
       <label>
         <input type="radio" name="basketball" value="Y"/>
    Yes   </label>
       <br/>

       <label>
         <input type="radio" name="basketball" value="N"/>
    No   </label>
       <br/>

       <button type="submit">Submit   </button>
     </form>

Do you like to watch NCAA basketball?

Yes
No