Hello World...
html input tag type "datetime-local" 날짜와 시간 본문
input tag 에 날짜 시간을 동시에 입력 받을 수 있게 하려면, type="datetime-local" 이런 식으로 지정해 주면 된다.
<input type="datetime-local" /> <!-- 개별 입력을 하려면 아래와 같이 --> <input type="date" /> <input type="time" />
<input type="datetime-local" />
<!-- 개별 입력을 하려면 아래와 같이 -->
<input type="date" />
<input type="time" />
날짜와 시간을 입력할 수 있는 태그가 생긴다.
#input tag #html #datetime-local
http://jun.hansung.ac.kr/CWP/htmls/HTML%20Input%20Types.html
HTML Input 요소의 타입들(types)
HTML Input 요소의 타입들(types) 이 장에서는 요소의 입력 타입(type) 들을 설명한다. Input Type: text 텍스트 입력(text input)위 한 줄의 입력 필드를 정의 text input: Example
'react.js' 카테고리의 다른 글
react proxy 리액트 프록시 cors 문제 해결 (0) | 2020.04.15 |
---|---|
fetch 사용시 credentilas (0) | 2020.04.08 |
recast.ly 에서 ref 활용 (0) | 2020.01.28 |
recast.ly 구조 (0) | 2020.01.28 |
React 생명 주기 (0) | 2020.01.20 |
Comments