Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 가상 요소 선택자
- 쌍방향 연결리스트
- 범용 선택자
- innerhtml
- Sort
- classList.contains(string)
- visibility : hidden
- 인접 형제 선택자 결합
- 배열의 오름차순
- display : none
- 양방향 연결리스트
- 단방향 연결리스트
- invalid assignment left-hand side
- 등차수열의 항 찾기
- 배열의 내림차순
- 일반 형제 선택자 결합
- Link
- for..of
- 백준알고리즘
- Array.from()
- CSS
- filter()
- disabled
- Em
- nth-child()
- indexOf
- 객체
- 배열과 연결리스트의 차이
- 고차함수
- map()
Archives
- Today
- Total
프론트엔드 센트럴파크 (☞゚ヮ゚)☞
<select>, <option>, <optiongroup> 본문
name
: form데이터로 보낼 때의 이름
value
: form 데이터로 보낼 때의 이름
selected
: 기본값으로 option 중 먼저 보여지는 값
See the Pen Untitled by Jeong-Dagyeong (@jeong-dagyeong) on CodePen.
<option value="">--Please choose an option--</option> value="" 인 이유는 버튼을 눌러서 데이터를 전송했을 때 빈데이터라고 지정하지 않으면 --Please choose an option-- 가 전송되기 때문이다.
'HTML' 카테고리의 다른 글
<cite> 태그 (0) | 2022.06.05 |
---|---|
<datalist> (0) | 2022.06.04 |
<button> (0) | 2022.06.04 |
input type="number" 속성에서의 min과 max, step (0) | 2022.06.04 |
disabled, readonly (0) | 2022.06.04 |
Comments