]]>W记 - HTML5|页设计初窥Q?Q?表单设计http://www.aygfsteel.com/joinchen/archive/2012/03/04/371235.htmljoinchenjoinchenSun, 04 Mar 2012 15:52:00 GMThttp://www.aygfsteel.com/joinchen/archive/2012/03/04/371235.htmlhttp://www.aygfsteel.com/joinchen/comments/371235.htmlhttp://www.aygfsteel.com/joinchen/archive/2012/03/04/371235.html#Feedback0http://www.aygfsteel.com/joinchen/comments/commentRss/371235.htmlhttp://www.aygfsteel.com/joinchen/services/trackbacks/371235.html 1995qhtml2开始提?br /> form式设计,服务器与客户端进行交?br /> html 服务器与客户端进行交互的方式:put get post delete 交互性的基础 使用javascript把进行表单控Ӟ判断用户数据输入的合法?br /> html5使用了基本类型的表单限定QdateQcolorQrange 配合用户输入提供了新的数据类?br /> email number range Date pickers(date,month,week,time,datetime,datetime-local) search color Input TYpe -- email E-mail:<imput type="email" name="user_email" />: Input Type -- url URL:<input type="url" name="url" /> Input Type - number pointsQ?lt;input type="number" name="points" min="1" max="10" /> step 步进修改?br /> value 初始?br /> input type - range <input type="range" name="points" min="1" max="10" /> step 步进修改?br /> value 初始?br /> input type - date pickers
以前使用js的日历控件实现该功能Q在HTML5中可使用独立控g date - Selects date,month and year month - Selects month and year week - Selects week and year time - Selects time(hour and minute) datetime -Selects time, date, month and year(UTC time) and year(loal time)
<p>I have a date on <time datetime="2008-02-14">Valentines day</time></p> <p>We open at <time>10:00</time> every morning.</p>
推荐使用W一U?br /> Footer <footer> <p> <nav> <h3> <div> <a> </div> </nav> </footer> 区域与块 Aside section 整体布局 两类控gQ内Ҏ?功能控g 与布局无关?br /> Figure Figcaption <figure> <p>A view of the pulpit rok in Norway</p> <img src="img_pulpit.jpg" width="304" height="228" /> </figure> 汉字元素 Ruby <ruby> ?lt;rt>safsdf</rt> </ruby> Time 日期 Compontent syntax Example Date yyyy-mm-DD 2011-07-13 Time with hours hh:mm 18Q?8 Time with seconds hh:mm:ss 18:28:05 Time with milliseconds hh:mm:ss.f 18:28:05.2318 Date and time T to join date and 2011-07-12718:28 time With time zone GMT Z at the end 2011-07-13T18:28:05Z With time zone as offset +mm:hh / -mm:hh 2011-07T18:28:05+02:00