<form action="" method="get" class="form-example">
<div class="form-example">
<label for="name">Enter your name: </label>
<input type="text" name="name" id="name" required>
</div>
<div class="form-example">
<input type="submit" value="Subscribe!">
</div>
</form>
<button name="button">눌러보세요</button>
<label for="story">Tell us your story:</label>
<textarea id="story" name="story"
rows="5" cols="33">
It was a dark and stormy night...
</textarea>
resize: none; /* 사용자 임의 변경 불가 */
resize: both; /* 사용자 변경이 모두 가능 */
resize: horizontal; /* 좌우만 가능 */
resize: vertical; /* 상하만 가능 */
::-webkit-scrollbar
::-webkit-scrollbar-button
::-webkit-scrollbar-button:start
::-webkit-scrollbar-button:end
::-webkit-scrollbar-button:vertical:increment
::-webkit-scrollbar-button:vertical:decrement
::-webkit-scrollbar-track
::-webkit-scrollbar-track-piece
::-webkit-scrollbar-thumb
::-webkit-scrollbar-corner
::-webkit-resizer
- 출처
<div class="form-example">
<label for="email">Enter your email: </label>
<input type="email" name="email" id="email" required>
</div>
<input type="text" id="name" name="name" required
minlength="4" maxlength="8" size="10">
<div class="form-example">
<label>Enter your email:
<input type="email", name="email>
</label>
</div>
<form>
<fieldset>
<legend>Choose your favorite monster</legend>
<input type="radio" id="kraken" name="monster">
<label for="kraken">Kraken</label><br/>
<input type="radio" id="sasquatch" name="monster">
<label for="sasquatch">Sasquatch</label><br/>
<input type="radio" id="mothman" name="monster">
<label for="mothman">Mothman</label>
</fieldset>
</form>
<label for="pet-select">Choose a pet:</label>
<select id="pets" id="pet-select">
<optgroup label = "animal">
<option value="">--Please choose an option--</option>
<option value="dog">Dog</option>
<option value="cat">Cat</option>
<option value="goldfish">Goldfish</option>
<optgroup label = "animal">
</select>
<label for="ice-cream-choice">Choose a flavor:</label>
<input list="ice-cream-flavors" id="ice-cream-choice" name="ice-cream-choice" />
<datalist id="ice-cream-flavors">
<option value="Chocolate">
<option value="Strawberry">
<option value="Vanilla">
</datalist>