<!DOCTYPE hmtl>
<html>
<head>
<title>Form Structure</title>
</head>
<body>
<form action="https://www.example.com/subscribe.php"
method="get">
<p>Text Input</p>
<p>Username:
<input type="Text" name="Username" size="15" maxlength="30" />
</p>
<p>Password:
<input type="password" name="password" size="15" maxlength="30" />
</p>
</form>
<form action="http://example.com/comments.php">
<p>BoxText</p>
<p>What did you think of this gig?</p>
<textarea name="comments" cols="20" rows="4">Enter your comments...</textarea>
</form>
<form action="http://example.com/profile.php">
<p>Radio Buttom</p>
<p>Please select your favorite genre:
<br/>
<input type="radio" name="genre" value="rock"
checked="checked" />Rock
<input type="radio" name="genre" value="Pop"/>Pop
<input type="radio" name="genre" value="Jazz"/>Jazz
</p>
</form>
<form>
<p>Checkbox</p>
<p>Please select your music service(s):
<br/>
<input type="checkbox" name="service" value="itunes"
checked="checked" />iThunes
<input type="checkbox" name="service" value="lastfm"/>Last.fm
<input type="checkbox" name="service" value="spotify"/>Spotify
</p>
</form>
<form action="http://example.com/profile.php">
<p>Drop Down List Box</p>
<p>What device doy you listen to music on?</p>
<select name="devices">
<option value="ipod">iPod</option>
<option value="radio">Radio</option>
<option value="computer">Computer</option>
</select>
</form>
<form action="http://example.com/profile.php">
<p>Multiple Select Box</p>
<p>Do you play any of the following intruments?
(You can select miore than one option by holding down control on a PC or
command key on a Mac while selecting diferent options.)</p>
<select name="intruments" size="3" multiple="multiple">
<option value="guitar" selected="selected">Guitar</option>
<option value="drums" selected="selected">Drums</option>
<option value="keyboard" selected="selected">Keyboard</option>
<option value="bass" selected="selected">Bass</option>
</select>
</form>
</body>
</html>
<html>
<head>
<title>Form Structure</title>
</head>
<body>
<form action="https://www.example.com/subscribe.php"
method="get">
<p>Text Input</p>
<p>Username:
<input type="Text" name="Username" size="15" maxlength="30" />
</p>
<p>Password:
<input type="password" name="password" size="15" maxlength="30" />
</p>
</form>
<form action="http://example.com/comments.php">
<p>BoxText</p>
<p>What did you think of this gig?</p>
<textarea name="comments" cols="20" rows="4">Enter your comments...</textarea>
</form>
<form action="http://example.com/profile.php">
<p>Radio Buttom</p>
<p>Please select your favorite genre:
<br/>
<input type="radio" name="genre" value="rock"
checked="checked" />Rock
<input type="radio" name="genre" value="Pop"/>Pop
<input type="radio" name="genre" value="Jazz"/>Jazz
</p>
</form>
<form>
<p>Checkbox</p>
<p>Please select your music service(s):
<br/>
<input type="checkbox" name="service" value="itunes"
checked="checked" />iThunes
<input type="checkbox" name="service" value="lastfm"/>Last.fm
<input type="checkbox" name="service" value="spotify"/>Spotify
</p>
</form>
<form action="http://example.com/profile.php">
<p>Drop Down List Box</p>
<p>What device doy you listen to music on?</p>
<select name="devices">
<option value="ipod">iPod</option>
<option value="radio">Radio</option>
<option value="computer">Computer</option>
</select>
</form>
<form action="http://example.com/profile.php">
<p>Multiple Select Box</p>
<p>Do you play any of the following intruments?
(You can select miore than one option by holding down control on a PC or
command key on a Mac while selecting diferent options.)</p>
<select name="intruments" size="3" multiple="multiple">
<option value="guitar" selected="selected">Guitar</option>
<option value="drums" selected="selected">Drums</option>
<option value="keyboard" selected="selected">Keyboard</option>
<option value="bass" selected="selected">Bass</option>
</select>
</form>
</body>
</html>
Comentarios
Publicar un comentario