(^360) Chapter 9 XHTML Forms
Figure 9.9
Scrolling text boxes
accept free-form
comments from
Web page visitors
The XHTML code follows:
Select your favorite browser:
<input type="radio" name="favbrowser" id="favIE"
value="IE" /> Internet Explorer
<input type="radio" name="favbrowser" id="favFirefox"
value="Firefox" /> Firefox
<input type="radio" name="favbrowser" id="favOpera"
value="Opera" /> Opera
Notice that the nameattributes all have the same value—favbrowser. This is what creates
the group. Each radio button in the same group can be uniquely identified by its value
attribute. Each radio button in the same group is configured with a different value.
Common radio button attributes are listed in Table 9.5.
Scrolling Text Box.The
Notice that the
steven felgate
(Steven Felgate)
#1