✔ HTML Form Elements 종류
1. Text Box Input
<input name="first_name" type="text" />
2. Password Input
<input name="password" type="password" />
3. Text Area
<textarea name="comment"></textarea>
4. Select Drop Down
<select name="weapon">
<option value="throwing_stars">Throwing Stars</option>
<option value="sword">Sword</option>
<option value="staff">Staff</option>
</select>
5. Check Box
Are You a Ninja?
<input name="valid_ninja" type="checkbox" />Are You a Ninja?
6. Radio Input
Throwing Stars
Sword
Staff
<input name="weapon" type="radio" value="throwing_stars" />Throwing Stars <br/>
<input name="weapon" type="radio" value="sword" />Sword <br/>
<input name="weapon" type="radio" value="staff" />Staff
7. File Input
<input name="image" type="file" />
8. Submit Button
<input type="submit" value="Button" />
728x90
반응형
'Dev_Study > HTML' 카테고리의 다른 글
[HTML] 1.HTML DOM ( Document Object Model ) (0) | 2021.05.29 |
---|---|
[HTML] 0. HTML( HyperText Markup Language )? (0) | 2021.05.29 |