0
我剛開始HTML和創建這種形式:HTML5的日期和時間格式
<!DOCTYPE html>
<html>
<head>
<title> HTML5 Testing Nitesh </title>
<meta charset ="utf-8">
</head>
<body>
<form method = "get" action="http://www.msn.com">
<p>
<label> Enter Colour Code </label>
<input type ="color" autofocus />
</p>
<p>
<label> Enter The Date </label>
<input type = "date"/>
</p>
<p>
<label> Enter date with time </label>
<input type = "datetime" />
</p>
<p>
<label> Enter local date and time </label>
<input type = "datetime-local" />
</p>
<br/><br/>
<input type = "submit" value="Submit"/>
<input type = "reset" value="Reset"/>
</form>
</body>
</html>
現在的問題是我不能正確的日期與時間和當地的日期與時間的輸入值(嘗試谷歌瀏覽器,微軟邊緣和IE),但日期列打開日曆框輸入日期。
這需要的問題了HTML 5 @iqbal的 – user3651808