1<!-- O segundo valor estará selecionado inicialmente -->
2<select name="select">
3 <option value="valor1">Valor 1</option>
4 <option value="valor2" selected>Valor 2</option>
5 <option value="valor3">Valor 3</option>
6</select>
1<form>
2 <input type="button">
3 <input type="checkbox">
4 <input type="color">
5 <input type="date">
6 <input type="datetime-local">
7 <input type="email">
8 <input type="file">
9 <input type="hidden">
10 <input type="image">
11 <input type="month">
12 <input type="number">
13 <input type="password">
14 <input type="radio">
15 <input type="range">
16 <input type="reset">
17 <input type="search">
18 <input type="submit">
19 <input type="tel">
20 <input type="text">
21 <input type="time">
22 <input type="url">
23 <input type="week">
24</form>
1<form action="/action.php">
2 <label for="fname">First name:</label><br>
3 <input type="text" id="fname" value="Mike"><br><br>
4 <label for="lname">Last name:</label><br>
5 <input type="text" id="lname" value="Walker"><br><br>
6 <input type="submit" value="Submit">
7</form>
1//HTML Textbox w/Getting Javascript Input:
2<script>
3 function getTextBox(){
4 var k = document.getElemntById('myTextBox').value
5 alert(k)
6 }
7</script>
8<input type="text" id="myTextBox">
9<button onclick="getTextBox()">Get Text Input</button>
1 <label for="fname">First name:</label><br>
2 <input type="text" id="fname" name="fname"><br>