HTML5ÈëÃÅ

HTML5»ù´¡£¬µÚ1²¿·Ö£º³õÊÔ·æâ

×ÖºÅ+ ×÷Õߣº À´Ô´£º 2014-11-16 20:58 ÎÒÒªÆÀÂÛ( )

£¨ÒëÕß×¢£ºÓÉÓÚyeeyan±à¼­Æ÷¶ÔÎÄÕÂÖеıêÇ©×ö½âÎöµÄÔ­Òò£¬ÎÒÔÚÿ¸ö±êÇ©µÄ·ûºÅÖ®ºó¶¼¼ÓÈëÁËÒ»¸ö¿Õ¸ñ£¬±ÈÈç˵£¬×ó¼âÀ¨ºÅ+section+ÓÒ¼âÀ¨ºÅ£¬ÎÒ»áд³É section£¬ÒÔ±ãÆäÄܹ»ÔÚÎÄÕÂÖÐÕýÈ·

  £¨ÒëÕß×¢£ºÓÉÓÚyeeyan±à¼­Æ÷¶ÔÎÄÕÂÖеıêÇ©×ö½âÎöµÄÔ­Òò£¬ÎÒÔÚÿ¸ö±êÇ©µÄ<·ûºÅÖ®ºó¶¼¼ÓÈëÁËÒ»¸ö¿Õ¸ñ£¬±ÈÈç˵£¬×ó¼âÀ¨ºÅ<+section+ÓÒ¼âÀ¨ºÅ>£¬ÎÒ»áд³É< section>£¬ÒÔ±ãÆäÄܹ»ÔÚÎÄÕÂÖÐÕýÈ·ÏÔʾ£¬²»±ãÖ®´¦¾´ÇëÁ½⡣£©

HTML5ÊÇÒ»ÖÖÉè¼ÆÀ´×éÖ¯webÄÚÈݵÄÓïÑÔ£¬ÆäÄ¿µÄÊÇͨ¹ý´´½¨Ò»ÖÖ±ê×¼µÄºÍÖ±¹ÛµÄUI±ê¼ÇÓïÑÔÀ´°ÑwebÉè¼ÆºÍ¿ª·¢±äµÃÈÝÒ×ÆðÀ´¡£HTML5ÌṩÁ˸÷ÖÖÇиîºÍ»®·ÖÒ³ÃæµÄÊֶΣ¬ÆäÔÊÐíÄã´´½¨µÄÇиî×é¼þ²»½öÄÜÓÃÀ´Âß¼­µØ×éÖ¯Õ¾µã£¬¶øÇÒÄܹ»¸³ÓèÍøÕ¾¾ÛºÏµÄÄÜÁ¦¡£ HTML5¿ÉνÊÇ“ÐÅÏ¢µ½ÍøÕ¾Éè¼ÆµÄÓ³Éä·½·¨”£¬ÒòΪËüÌåÏÖÁËÐÅÏ¢Ó³ÉäµÄ±¾ÖÊ£¬»®·ÖÐÅÏ¢£¬²¢¸øÐÅÏ¢¼ÓÉϱêÇ©£¬Ê¹Æä±äµÃÈÝÒ×ʹÓúÍÀí½â¡£ÕâÊÇHTML5¸»ÓÚ±íÏÖÁ¦µÄÓïÒåºÍʵÓÃÐÔÃÀѧµÄ»ù´¡£¬HTML5¸³ÓèÉè¼ÆÕߺͿª·¢Õ߸÷ÖÖ²ãÃæµÄÄÜÁ¦À´ÏòÍâ·¢²¼¸÷ʽ¸÷ÑùµÄÄÚÈÝ£¬´Ó¼òµ¥µÄÎı¾ÄÚÈݵ½·á¸»µÄ¡¢½»»¥Ê½µÄ¶àýÌåÎÞ²»°üÀ¨ÔÚÄÚ¡£

HTML5ÌṩÁ˸ßЧµÄÊý¾Ý¹ÜÀí¡¢»æÖÆ¡¢ÊÓƵºÍÒôƵ¹¤¾ß£¬Æä´Ù½øÁËwebÉϵĺͱãЯʽÉ豸µÄ¿çä¯ÀÀÆ÷Ó¦ÓõĿª·¢¡£HTML5ÊÇÇý¶¯Òƶ¯ÔƼÆËã·þÎñ·½ÃæµÄ·¢Õ¹µÄ¼¼ÊõÖ®Ò»£¬ÒòΪÆäÔÊÐí¸ü´óµÄÁé»îÐÔ£¬Ö§³Ö¿ª·¢·Ç³£¾«²ÊµÄ½»»¥Ê½ÍøÕ¾¡£Æ仹ÒýÈëÁËеıêÇ©£¨tag£©ºÍÔöÇ¿ÐԵŦÄÜ£¬ÆäÖаüÀ¨ÁËÒ»¸öÓÅÑŵĽṹ¡¢±íµ¥µÄ¿ØÖÆ¡¢API¡¢¶àýÌå¡¢Êý¾Ý¿âÖ§³ÖºÍÏÔÖøÌáÉýµÄ´¦ÀíËٶȵȡ£

HTML5ÖеÄбêÇ©¶¼ÊÇÄܸ߶ȹØÁª»½ÆðµÄ£¬±êÇ©·â×°ÁËËüÃǵÄ×÷ÓúÍÓ÷¨¡£HTMLµÄ¹ýÈ¥°æ±¾¸ü¶àµÄÊÇʹÓ÷ÇÃèÊöÐԵıêÇ©£¬È»¶ø£¬HTML5ÓµÓи߶ÈÃèÊöÐԵġ¢Ö±¹ÛµÄ±êÇ©£¬ÆäÌṩÁ˷ḻµÄÄܹ»Á¢¿ÌÈÃÈËʶ±ð³öÄÚÈݵÄÄÚÈݱêÇ©¡£ÀýÈ磬±»Æµ·±Ê¹ÓõÄ< div>±êÇ©ÒѾ­ÓÐÁËÁ½¸öÔö²¹½øÀ´µÄ< section>ºÍ< article>±êÇ©¡£ < video>¡¢< audio>¡¢< canvas>ºÍ< figure> ±êÇ©µÄÔö¼ÓÒ²ÌṩÁ˶ÔÌض¨ÀàÐÍÄÚÈݵĸü¼Ó¾«È·µÄÃèÊö¡£

HTML5ÌṩÁË£º

1. È·ÇÐÃèÊöÁËÆäÖ¼ÔÚÒª°üº¬µÄÄÚÈݵıêÇ©
2. ÔöÇ¿µÄÍøÂçͨÐÅ
3. ¼«´ó¸ÄÉÆÁ˵ij£Óô洢
4. ÔËÐкǫ́½ø³ÌµÄWeb Worker
5. ÔÚ±¾µØÓ¦ÓúͷþÎñÆ÷Ö®¼ä½¨Á¢³ÖÐøÁ¬½ÓµÄWebSocket½Ó¿Ú
6. ¸üºÃµÄ´æ´¢Êý¾Ý¼ìË÷·½Ê½
7. ¼Ó¿ìÁ˵ÄÒ³Ãæ±£´æºÍ¼ÓÔØËÙ¶È
8. ¶ÔʹÓÃCSS3À´¹ÜÀíGUIµÄÖ§³Ö£¬ÕâÒâζ×ÅHTML5¿ÉÒÔÊÇÃæÏòÄÚÈݵÄ
9. ¸Ä½øÁ˵Ää¯ÀÀÆ÷±íµ¥´¦Àí
10. »ùÓÚSQLµÄÊý¾Ý¿âAPI£¬ÆäÔÊÐí¿Í»§¶ËµÄ±¾µØ´æ´¢
11. »­²¼ºÍÊÓƵ£¬¿ÉÔÚÎÞÐè°²×°µÚÈý·½²å¼þµÄÇé¿öÏÂÌí¼ÓͼÐκÍÊÓƵ
12. Geolocation API¹æ·¶£¬Æäͨ¹ýʹÓÃÖÇÄÜÊÖ»ú¶¨Î»¹¦ÄÜÀ´ÄÉÈëÒƶ¯ÔÆ·þÎñºÍÓ¦ÓÃ
13. ÔöÇ¿ÐÍµÄ±íµ¥£¬Æä½µµÍÁËÏÂÔØJavaScript´úÂëµÄÕâÖÖ±ØÒªÐÔ£¬ÔÊÐíÔÚÒƶ¯É豸ºÍÔÆ·þÎñÖ®¼ä½øÐиü¶à¸ßЧµÄͨÐÅ¡£ 

HTML5´´½¨ÁËÒ»ÖÖ¸üÎüÒýÓû§µÄÌåÑ飺ʹÓÃHTML5Éè¼ÆµÄÒ³ÃæÄܹ»ÌṩÀàËÆÓÚ×ÀÃæÓ¦ÓõÄÌåÑé¡£HTML5»¹Í¨¹ý°ÑAPI¹¦ÄܺÍÎÞ´¦²»ÔÚµÄä¯ÀÀÆ÷½áºÏÆðÀ´µÄµÄ·½Ê½ÌṩÁËÔöÇ¿µÄ¶àƽ̨¿ª·¢¡£Í¨¹ýʹÓÃHTML5£¬¿ª·¢ÕßÄܹ»ÌṩһÖÖ˳³©µØ¿çÔ½¸÷¸öƽ̨µÄÏÖ´úÓ¦ÓÃÌåÑé¡£

µ±Äã˵HTML5Õâ¸ö´ÊµÄʱºò£¬ÄãʹÓÃÁËÒ»¸ö¼ò¶ÌµÄ´ÊÀ´±í´ïÒ»ÖÖ³ÖÐøµÄ´´Ð¡£Ðµıê¼Ç¡¢ÐµÄÒ»Ì×·½·¨£¬ÒÔ¼°Ò»¸ö»ùÓÚHTML5ºÍËüµÄÁ½¸öÓëÖ®»¥Îª²¹³äµÄͬÈÊ£ºCSS3ºÍJavaScriptÖ®¼äµÄÏ໥×÷ÓõÄͨÓÿª·¢¿ò¼Ü£¬ÕâÊÇÒÔ¿Í»§ÎªÖÐÐĵĴ¦ÀíÏÖÏóµÄÓ¦ÓõĺËÐÄ¡£³ýÁËHTML5¼¼ÊõµÄ¼¼Çɺͷ½·¨µÄÐí¶à×ÀÃ沿ÊðÖ®Í⣬HTML5»¹¿ÉÒÔÔÚ¹¦ÄܷḻµÄwebÒƶ¯µç»°ä¯ÀÀÆ÷ÖÐʵʩ——Òƶ¯µç»°ä¯ÀÀÆ÷ÊÇÒ»¸öÕýÔÚÔö³¤µÄÊг¡£¬Apple iPhone¡¢Google AndroidºÍÔËÐÐPalm webOSµÄÊÖ»úµÄÆÕ¼°ÒÔÖÁÓÚÎÞ´¦²»ÔھͿÉÒÔÖ¤Ã÷ÕâÒ»µã¡£

HTML5µÄÇ¿´ó¹¦ÄÜÖкÜÖØÒªµÄÒ»ÃæÊÇÐÅÏ¢µÄÓ³Éä——»ò˵ÊÇÄÚÈݿ黯£¨content blocking£©¡£Èç¹ûÄãÔ¸ÒâµÄ»°——ÕâÖÖ×ö·¨»á²úÉúÒ»ÖÖÈÝÒ×Àí½âµÃ¶àµÄ´¦Àí¹ý³Ì¡£Äã¿ÉÒÔ¿´µ½£¬Í¨¹ýÈÕÒæÔö¼Ó¶Ôweb´¦ÀíÕâÒ»ÁìÓòµÄ¿ØÖÆ£¬ÕâÒ»¹¤¾ßÔÚÉè¼ÆºÍ¿ª·¢·½ÃæÒѾ­±äµÃ¶àôµÄ¸ßЧ¡£

HTML5Ԥʾ×ÅÕâÑùһЩÇé¿öµÄ³öÏÖ£¬¼´ÆäÔÚÎı¾²ãÃæÉÏÓÐןü¸ßЧµÄÓïÒå´¦Àí£¬ÒÔ¼°ÔÚ±íµ¥¹¹ÔìºÍÓ÷¨ÉÏÓÐןüÇ¿´óµÄ¿ØÖÆ¡£ËùÓеÄÕâЩÌØÐÔºÍHTML5´´ÐµÄÆäËûÐí¶àϸ΢֮´¦ÊÇÕâÒ»Ô½À´Ô½Õ¼Í³ÖεØλµÄ·¶Ê½µÄ»ù´¡¡£Ðí¶à»ú¹¹ÊµÌ壬ÉÌÒµµÄºÍÆäËûµÄ——ÉõÖÁÐí¶à¸ù±¾²»°ÑÐÅÏ¢µÄ´¦ÀíºÍͨÐÅ×÷ΪËûÃǵÄÖ÷Òª»ú¹¹»î¶¯µÄ×éÖ¯——¶¼²»Í¬³Ì¶ÈµØ±»ÕâÒ»²»¶ÏÔö³¤µÄÏÖÏóµÄ·¢Õ¹ËùÇÖÏ®¡£

HTML5²¢²»ÊÇÒ»ÕµÉñµÆ£¬²»»áÓо«Áé³öÏÖ¡£È»¶ø£¬ËüµÄ¼¼ÊõºÍ·½·¨×ʲúʹµÃÆä³ÉΪÁËÒ»¼þ´ÎºÃµÄ¶«Î÷£¬½ö´ÎÓÚ²ÁÁÁÒ»ÕµÉñµÆÕâ¼þÊÂÇé¡£

¹æ»®Ò³Ãæ


Ä㽫Ҫ´´½¨Ò»¸ö¼òµ¥µÄwebÒ³Ãæ¡£ÔÚÕâÒ»¹ý³ÌÖУ¬ÎÒ»áÌÖÂÛ¼¸¸öHTML5ÖÐÒýÈëµÄбêÇ©¡£ÎªÁË´´½¨Ò»¸ö¸ßЧµÄ²¢ÇÒÊÇÓÐʵЧµÄwebÒ³Ã棬Äã±ØÐëÒªÖƶ¨Ò»¸ö¼Æ»®£¬¿¼ÂÇÒ»ÏÂÏëÒª´òÔìµÄËùÓÐ×é¼þ¡£Äã´´½¨µÄÍøÒ³½«»áÓÐÈçͼ1ËùʾµÄ¸ß²ãÉè¼Æ£¬Ò³ÃæµÄÉè¼Æ°üº¬ÁËÒ»¸öHeaderÇø¡¢Ò»¸öNavigationÇø¡¢Ò»¸ö°üº¬ÁËÈý¸öSectionÇøºÍÒ»¸öAsideÇøµÄArticleÇø£¬ÒÔ¼°×îºóµÄÒ»¸öFooterÇø¡£¸ÃÒ³ÃæµÄÉè¼ÆÄ¿±êÊÇÔÚGoogleµÄChromeä¯ÀÀÆ÷Öй¤×÷£¬ÆäÏû³ýÁËһЩÊÓ¾õÉϵĻìÂÒ£¬ÕâЩ»ìÂÒ´øÀ´µÄÊÇä¯ÀÀÆ÷¼æÈÝÎÊÌâµÄµ÷Õû£¬Í¬Ê±Ò²·Á°­µ½Á˶Իù´¡½á¹¹µÄÀí½â¡£ÎÒÃǵÄÄ¿±êÊÇ´´½¨³öÒ»¸öÇåÎúµØÃèÊöÁËеÄHTML5±êÇ©µÄÓ÷¨µÄÒ³Ã棬չʾÈçºÎʹÓÃËüÃÇÀ´´´½¨¸ñʽÁ¼ºÃµÄ´úÂëºÍÓÅÑŵÄÒ³ÃæÉè¼Æ¡£

ͼ1. Acme UnitedµÄÍøÒ³µÄ¹æ»®

ÔÚ´´½¨ÕâÒ»Ò³ÃæµÄ¹ý³ÌÖУ¬ÎÒ»áÉæ¼°CSS3£¬ÎÒÐèÒªÓÃËüÀ´ÕýÈ·µØäÖȾHTML5ÍøÒ³¡£CSS3¶ÔÓÚHTML5Ò³ÃæµÄµÄ·ç¸ñ¡¢µ¼º½ºÍÒ»°ã¹Û¸ÐÀ´ËµÊDZز»¿ÉÉٵģ¬ËüµÄһЩÊôÐÔ×飬Äã¿ÉÒÔÔÚWsSchoolµÄCSS3²Î¿¼Õ¾µã£¨²Î¼û²Î¿¼×ÊÁÏÒ»½Ú£©ÉÏÕÒµ½ÕâЩÊôÐÔ£¬ÆäÖаüÀ¨ÁËһЩºÜÓÐÓõÄÔªËØ£¬±ÈÈç˵background¡¢font¡¢marqueeºÍanimationµÈ¡£

²»¹ý£¬ÔÚ¿ªÊ¼¹¹ÔìÒ³Ãæ֮ǰ£¬ÄãÐèҪѧϰһЩеÄHTML5µÄ±êÇ©¡£

HeaderÇø


HeaderÇøµÄÀý×Ó°üº¬ÁËÒ³Ãæ±êÌâºÍ¸±±êÌ⣬< header>±êÇ©±»ÓÃÀ´´´½¨Ò³ÃæµÄHeaderÇøµÄÄÚÈÝ¡£³ýÁËÍøÒ³±¾ÉíÖ®Í⣬< header>±êÇ©»¹¿ÉÒÔ°üº¬¹ØÓÚ< section>ºÍ< article>µÄ¹«¿ªÐÅÏ¢¡£ÕâÀï´´½¨µÄÍøÒ³ÓиÃÒ³ÃæµÄÒ»¸öHeaderÇø£¬ÕâÔڸ߲ãÉè¼ÆÖÐÓиø³ö£¬ÒÔ¼°Ò»¸öλÓÚArticleºÍSectionÇøÄÚ²¿µÄHeaderÇø¡£Çåµ¥1ÌṩÁËÒ»¸ö< header>±êÇ©±ê¼ÇµÄÀý×Ó¡£

Çåµ¥1. < header>±êÇ©µÄÀý×Ó

< header>
< h1>±êÌâÎÄ×Ö< /h1>
< p> Îı¾»òÊÇͼÏñ¿É·ÅÔÚÕâÀï< /p>
< p> Logoͨ³£Ò²·ÅÔÚÕâ¸öµØ·½< /p>
< /header>

< header>±êÇ©»¹¿ÉÒÔ°üº¬Ò»¸ö< hgroup>±êÇ©£¬ÈçÇåµ¥2Ëùʾ¡£< hgroup>±êÇ©°Ñ±êÌâ·Ö×é·ÅÔÚÒ»Æð£¬Ê¹ÓÃ< h1>µ½< h6>ÕâЩ±êÌâ·Ö¼¶À´ÔÚ´Ë´¦ÏÔʾÖ÷±êÌâºÍ×Ó±êÌâ¡£

Çåµ¥2. < hgroup>±êÇ©µÄÀý×Ó

< header>
< hgroup>
< h1>Ö÷±êÌâ< /h1>
< h2>×Ó±êÌâ < /h2>
< /hgroup>
< p> Îı¾»òÊÇͼÏñ¿É·ÅÔÚÕâÀï< /p>
< /header>

NavigationÇø


Äã¿ÉÒÔʹÓÃ< nav>±êÇ©À´´´½¨Ò³ÃæµÄNavigationÇø¡£< nav>ÔªËض¨ÒåÁËÒ»¸öרÃÅÓÃÓÚµ¼º½µÄÇøÓò£¬< nav>±êÇ©Ó¦¸ÃÓÃ×öÖ÷Õ¾µãµÄµ¼º½£¬¶ø²»ÊÇÓÃÀ´·ÅÖñ»°üº¬ÔÚÒ³ÃæµÄÆäËûÇøÓòÖеÄÁ´½Ó¡£NavigationÇø¿ÉÒÔ°üº¬ÖîÈçÇåµ¥3ËùʾµÄ´úÂë¡£

Çåµ¥3. < nav>±êÇ©µÄÀý×Ó

< nav>
< ul>
< li>< a href="#" kesrc="#">Home< /a>< /li>
< li>< a href="#" kesrc="#">About Us< a>< /li>
< li>< a href="#" kesrc="#">Our Products< /a>< /li>
< li>< a href="#" kesrc="#">Contact Us< /a>< /li>
< /ul>
< /nav>

ArticleºÍSectionÇø


ÄãÉè¼ÆµÄÒ³Ãæ°üº¬ÁËÒ»¸öArticleÇø£¬¸ÃÇøÓò´æ·ÅÁËÒ³ÃæµÄʵ¼ÊÄÚÈÝ¡£ÄãʹÓÃ< article>±êÇ©À´´´½¨ÕâÒ»ÇøÓò£¬¸Ã±êÇ©¶¨ÒåµÄÄÚÈݿɶÀÁ¢ÓÚÒ³ÃæÖеÄÆäËûÄÚÈÝʹÓá£ÀýÈ磬Èç¹ûÏë´´½¨Ò»¸öRSSÔ´£¨RSS feed£©µÄ»°£¬ÄÇôÄã¿ÉÒÔʹÓÃ< article>À´Î¨Ò»±êʶ¸ÃÄÚÈÝ¡£< article>±êÇ©±êʶÁ˿ɱ»É¾³ý¡¢¿É±»·ÅÖÃÔÚÁíÒ»ÉÏÏÂÎÄÖУ¬²¢ÇÒÊǿɱ»ÍêÈ«Àí½âµÄÄÚÈÝ¡£

Acme United¹æ»®ÖеÄArticleÇø°üº¬ÁËÈý¸öSectionÇø£¬¿ÉʹÓÃ< setction>±êÇ©À´´´½¨Õ⼸¸öÇøÓò¡£< section>°üº¬ÁËwebÄÚÈݵÄÏà¹Ø×é¼þÇøÓò£¬< section>±êÇ©——ÒÔ¼°< article>±êÇ©——¿ÉÒÔ°üº¬Ò³Ã¼¡¢Ò³½Å£¬»òÊÇÆäËûÐèÒªÓÃÀ´Íê³É¸Ã²¿·ÖÄÚÈݵÄ×é¼þ¡£< section>±êÇ©ÓÃÓÚ·Ö×éµÄÄÚÈÝ£¬< section>±êÇ©ºÍ< article>±êǩͨ³£ÒÔÒ»¸ö< header>Ϊ¿ªÊ¼²¢ÒÔÒ»¸ö< footer>½áÊø£¬±êÇ©µÄÄÚÈÝÔò·ÅÔÚÕâÁ½ÕßÖ®¼ä¡£

< section>±êÇ©Ò²¿ÉÒÔ°üº¬< article>±êÇ©£¬¾ÍÏñ< article>±êÇ©¿ÉÒÔ°üº¬< section>±êÇ©Ò»Ñù¡£< section>±êÇ©Ó¦¸ÃÓÃÀ´·Ö×éÏàÀàËƵÄÐÅÏ¢£¬¶ø< article>±êÇ©ÔòÓ¦¸ÃÊÇÓÃÀ´·ÅÖÃÖîÈçһƪÎÄÕ»òÊDz©¿ÍÒ»ÀàµÄÐÅÏ¢£¬ÕâЩÄÚÈÝ¿ÉÔÚ²»Ó°ÏìÄÚÈݺ¬ÒåµÄÇé¿öϱ»É¾³ý»òÊDZ»·ÅÖõ½ÐµÄÉÏÏÂÎÄÖС£< article>±êÇ©£¬ÕýÈçËüµÄÃû³ÆËù°µÊ¾µÄÄÇÑù£¬ÌṩÁËÒ»¸öÍêÕûµÄÐÅÏ¢°ü¡£Ïà±È֮ϣ¬< section>±êÇ©°üº¬µÄÊÇÓйØÁªµÄÐÅÏ¢£¬µ«ÕâЩÐÅÏ¢×ÔÉí²»Äܱ»·ÅÖõ½²»Í¬µÄÉÏÏÂÎÄÖУ¬ÒòΪÕâÑùµÄ»°ÆäËù´ú±íµÄº¬Òå¾Í»á¶ªÊ§¡£

< article>ºÍ< section>±êÇ©µÄÓ÷¨Àý×ÓÇë²Î¼ûÇåµ¥4¡£

Çåµ¥4. < article>±êÇ©ºÍ< section>±êÇ©µÄÀý×Ó

< article>
< section>
Content
< /section>
< section>
Content
< /section>
< /article>
< section>
< article>
Content
< /article>
< article>
Content
< /article>
< /section>

ͼÏñÔªËØ

< section>ºÍ< article>±êÇ©ÕâÁ½Õߣ¬ÒÔ¼°< header>ºÍ< footer>±êÇ©¶¼¿ÉÒÔ°üº¬< figure>±êÇ©£¬ÄãʹÓøñêÇ©À´¼ÓÈëͼÏñ¡¢Í¼±íºÍÕÕƬ¡£

< figure>±êÇ©¿ÉÒÔ°üº¬< figcaption>£¬¸Ã±êÇ©ÏàÓ¦µÄ°üº¬ÁË°üº¬ÔÚ< figure>±êÇ©ÖеÄͼÐεıêÌ⣬ÆäÔÊÐíÄãÊäÈëÃèÊö£¬°ÑͼÐκÍÄÚÈݸü¼Ó½ôÃܵĹØÁªÆðÀ´¡£Çåµ¥5ÌṩÁËÒ»¸ö< figure>ºÍ< figcaption>±êÇ©½á¹¹µÄÀý×Ó¡£

Çåµ¥5. < figure>ºÍ< figcaption>±êÇ©µÄÀý×Ó

< figure>
< img src="/figure.jpg" kesrc="/figure.jpg" width="304" height="228" alt="Picture">
< figcaption>Caption for the figure< /figcaption>
< /figure>

ýÌåÔªËØ

< section>ºÍ< article>±êÇ©»¹¿ÉÒÔ°üº¬¸÷ÖÖýÌåÔªËØ£¬HTML5ÌṩµÄ±êÇ©Á¢¿Ì¾Í´«´ïÁËÆäÄÚÈݵÄÒâ˼¡£Ã½ÌåÔªËØ£¬±ÈÈç˵ÒôÀÖºÍÊÓƵ£¬ÒÔÇ°Ö»ÄÜǶÈ룬µ«ÏÖÔÚÄܹ»±»¸ü¾«×¼µØ±êʶ³öÀ´¡£

< audio>±êÇ©±êʶÁËÉùÒôÄÚÈÝ£¬±ÈÈç˵ÒôÀÖ»òÊÇÈκεÄÆäËûÒôƵÁ÷¡£< audio>±êÇ©ÓÐһЩÊôÐÔÓÃÀ´¿ØÖÆÒôƵµÄÄÚÈÝ¡¢ºÎʱÒÔ¼°ÈçºÎ²¥·ÅµÈ·½ÃæµÄÇé¿ö£¬ÕâЩÊôÐÔ·Ö±ðÊÇ£ºsrc¡¢preload¡¢control¡¢loopºÍautoplay¡£ÔÚÇåµ¥6¸ø³öµÄÀý×ÓÖУ¬Ö»ÒªÒ³ÃæÒ»¼ÓÔØÒôƵ¾Í¿ª»á²¥·Å£¬Æä»á³ÖÐø²¥·Å£¬ËùÌṩµÄ¿ØÖÆ¿ÉÒÔÈÃÓû§Í£Ö¹»òÊÇÖØпªÊ¼²¥·ÅÒôƵ¡£

Çåµ¥6. < audio>±êÇ©µÄÀý×Ó

< audio src="MyFirstMusic.ogg" kesrc="MyFirstMusic.ogg" controls autoplay loop>
Your browser does not support the audio tag.
< /audio>

< video>±êÇ©ÔÊÐíÄã²¥·ÅÊÓƵƬ¶Î»òÊÇÁ÷»¯ÊÓ¾õýÌå¡£ÆäÓµÓÐ< audio>±êÇ©ËùÓеÄÊôÐÔ£¬ÁíÍâÔÙ¼ÓÉÏÈý¸ö£ºposter¡¢widthºÍheight¡£µ±ÊÓƵÕýÔÚ¼ÓÔØ»òÊÇÊÓƵ´¦ÓÚÍêȫûÓмÓÔصÄÔã¸âÇé¿öÖÐʱ£¬posterÊôÐÔ¿ÉÈÃÄãÕÒ³öÒ»ÕÅͼÏñÀ´Ó¦¸¶×ÅÏÈ¡£

Çåµ¥7ÌṩÁËÒ»¸ö< video>±êÇ©½á¹¹µÄÀý×Ó

Çåµ¥7. ±êÇ©µÄÀý×Ó

< video src="MyFirstMovie.ogg" kesrc="MyFirstMovie.ogg" controls="controls">
Your browser does not support the video tag
< /video>

< video>ºÍ< audio>±êÇ©¿ÉÒÔ°üº¬< source>±êÇ©£¬¸Ã±êÇ©¶¨ÒåÁË< video>ºÍ< audio>±êÇ©µÄ¶àýÌå×ÊÔ´¡£Ê¹ÓÃÕâÒ»ÔªËØ£¬Äã¿ÉÒÔÖ¸¶¨Ìæ´úµÄÊÓƵ»òÊÇÒôƵÎļþ£¬È»ºóä¯ÀÀÆ÷¾Í¿ÉÒÔ»ùÓÚËüµÄýÌåÀàÐÍ»òÊÇËùÖ§³ÖµÄ±à½âÂëÆ÷À´´ÓÖнøÐÐÑ¡Ôñ¡£Çåµ¥8ÖÐÓÐÁ½ÖÖÑ¡Ôñ£¬Èç¹ûÎļþµÄWMA°æ±¾²»ÄÜÔÚËùʹÓõÄä¯ÀÀÆ÷Öв¥·ÅµÄ»°£¬¾ÍÔÙ³¢ÊÔMP3°æ±¾¡£·ñÔòµÄ»°¾ÍÏÔʾÐÅÏ¢£¬ÕâÑùÓû§¾ÍÖªµÀΪʲôÒôƵ²»¿ÉÓÃÁË¡£

Çåµ¥8. < source>±êÇ©µÄÀý×Ó

< audio>
< source src="/music/good_enough.wma" kesrc="/music/good_enough.wma" type="audio/x-ms-wma">
< source src="/music/good_enough.mp3" kesrc="/music/good_enough.mp3" type="audio/mpeg">
< p>Your browser does not support the HTML 'audio' element.< /p>
< /audio>

< embed>±êÇ©¶¨ÒåÁË¿É´øÈëµ½Ò³ÃæÖеÄǶÈëʽÄÚÈÝ——ÀýÈ磬 Ò»¸öAdobe Flash SWFÎļþµÄ²å¼þ¡£Çåµ¥9°üº¬ÁËtypeÊôÐÔ£¬±êÃ÷ǶÈëµÄ×ÊԴΪFlashÎļþ¡£

Çåµ¥9. < embed>±êÇ©µÄÀý×Ó

< embed src="MyFirstVideo.swf" kesrc="MyFirstVideo.swf" type="application/x-shockwave-flash" />

³ýÁËsrcºÍtypeÊôÐÔÖ®Í⣬< embed>±êÇ©»¹ÓµÓÐheightºÍwidthÊôÐÔ¡£

AsideÇø


Acme United¹æ»®ÖеÄAsideÇø¿Éͨ¹ýʹÓÃ< aside>±êÇ©À´´´½¨¡£ÕâÒ»±êÇ©±»¿´×÷ÊÇÓÃÀ´´æ·Å²¹³äÄÚÈݵĵط½£¬ÕâЩÄÚÈݲ»ÊÇÆäËù²¹³äµÄһƪÁ¬ÐøÎÄÕµÄ×é³É²¿·Ö¡£ÔÚÔÓÖ¾ÉÏ£¬²åÈëÓaside£©Í¨³£±»ÓÃÀ´Í»³öÎÄÕ±¾ÉíËùÖÆÔìµÄÒ»¸ö¹Ûµã¡£< aside>±êÇ©°üº¬µÄÄÚÈݿɱ»É¾³ý£¬¶øÕâ²»»áÓ°Ïìµ½°üº¬Á˸ÃÄÚÈݵÄÎÄÕ¡¢Õ½ڻòÊÇÒ³ÃæËùÒª´«´ïµÄÐÅÏ¢¡£

Çåµ¥10ÌṩÁË< aside>±êÇ©Ó÷¨µÄÒ»¸öÀý×Ó¡£

Çåµ¥10. < aside>±êÇ©µÄÀý×Ó

< p>My family and I visited Euro Disney last year.< /p>
< aside>
< h4>Disney in France< /h4>
< p>Besides Euro Disney, there is a Disneyland in California.< /p>
< /aside>

FooterÇø


< footer>ÔªËØ°üº¬ÁËÓëÒ³Ãæ¡¢ÎÄÕ»òÊDz¿·ÖÄÚÈÝÓйصÄÐÅÏ¢£¬±ÈÈç˵ÎÄÕµÄ×÷Õß»òÊÇÈÕÆÚ¡£×÷ΪҳÃæµÄÒ³½Å£¬ÆäÓпÉÄÜ°üº¬ÁË°æȨ»òÊÇÆäËûÖØÒªµÄ·¨ÂÉÐÅÏ¢£¬ÈçÇåµ¥11Ëùʾ¡£

Çåµ¥11. < footer>±êÇ©µÄÀý×Ó

< footer>
< p>Copyright 2011 Acme United. All rights reserved.< /p>
< /footer>

¹¹½¨Ò³Ãæ


ÏÖÔÚÄãÒѾ­Á˽âÁËÐèÒªÓÃÀ´´´½¨Ò»¸öHTML5Ò³ÃæµÄ»ù±¾±êÇ©£¬ÈÃÎÒÃÇ¿ªÊ¼¹¹½¨ÄãµÄÒ³Ãæ¡£Äã»áΪAcme United¹¹½¨Ò»¸öÍøÒ³£¬Íê³ÉºóµÄÒ³ÃæÈçͼ2Ëùʾ£¬¸ÃÒ³Ãæ¿ÉÒÔÏÂÔع©ÄãʹÓ㨲μûÏÂÔØÒ»½Ú£©¡£

ͼ2. Acme UnitedµÄÍøÒ³

ÄÇô£¬ÈÃÎÒÃÇ°ÑÒ³Ãæ×°ÅäÆðÀ´°É¡£Ê×ÏÈÒª´¦ÀíµÄÊÇÕâ¸ö< !doctype>£¬ÔÚHTML5ÖУ¬< !doctype>±»¼ò»¯ÁË£ºËùÓÐÄãÐèÒª¼Çס¾ÍÊÇhtml¡£Õâ²»½öÊǼò»¯ÁËÕâÒ»±êÇ©µÄÌõÄ¿£¬¶ø»¹°ÑËü±äµÃ¸üÊÊӦδÀ´µÄ·¢Õ¹¡£ÐèҪעÒâµÄÊÇ£¬Ëü²»ÊDZ»³ÆΪhtml5£¬¾ÍÖ»ÊÇhtml¡£²»¹ÜÀ´À´È¥È¥µÄÓжàÉÙ¸öHTML°æ±¾£¬< !doctype>¿ÉÒÔÒ»Ö±¶¼ÊÇhtml¡£

< html>±êÇ©°üº¬ÁËËùÓгýÁË< !doctype>±êÇ©Ö®ÍâµÄÆäËûHTMLÔªËØ£¬ÆäËûµÄÿһ¸öÔªËض¼±ØÐëǶÌ×ÔÚ< html>ºÍ< /html>±êÇ©Ö®¼ä£¬²Î¼ûÇåµ¥12¡£

Çåµ¥12. < !doctype>±êÇ©µÄÀý×Ó

< !doctype html>
< html lang="en">

ÔÚÖ¸³öÁËhtmlºÍÓïÑÔΪӢÓïÖ®ºó£¬Äã¾Í¿ÉÒÔʹÓÃ< head>ÔªËØ£¬¸ÃÔªËØ¿ÉÒÔ°üº¬½Å±¾¡¢ä¯ÀÀÆ÷Ö§³ÖÐÅÏ¢¡¢Ñùʽ±íÁ´½Ó¡¢metaÐÅÏ¢ºÍÆäËûµÄ³õʼ»¯º¯Êý¡£Äã¿ÉÒÔÔÚheadÕâÒ»ÇøÓòÖÐʹÓÃÕâЩ±êÇ©£º

1. < base>
2. < link>
3. < meta>
4. < script>
5. < style>
6. < title>

< title>±êÇ©´æ·ÅÎĵµµÄʵ¼Ê±êÌ⣬ÕâÊÇÒ»¸ö±ØÐèµÄ< head>ÇøÔªËØ£¬ËüµÄÄÚÈݾÍÊÇÄãÔÚä¯ÀÀ¸ÃÒ³Ãæʱ»áÔÚä¯ÀÀÆ÷µÄ¶¥¶Ë¿´µ½µÄ±êÌâ¡£Çåµ¥13ÖеÄ< link>±êÇ©±êʶÁ˻ᱻÓÃÀ´äÖȾHTML5Ò³ÃæµÄCSS3Ñùʽ±í£¬Ñùʽ±íµÄÎļþÃûΪmain-stylesheet.css¡£

Çåµ¥13. < head>±êÇ©µÄÀý×Ó

< head>
< title>HTML5 Fundamentals Example< /title>
< link rel="stylesheet" href="main-stylesheet.css" kesrc="main-stylesheet.css" />
< /head>

½ÓÏÂÀ´Äã»áÓõ½< body>±êÇ©£¬ºóÃæ¸ú×Å< header>ºÍ< hgroup>±êÇ©£¬ÕâÒѾ­ÔÚÇ°Ãæ½éÉܹý¡£±¾ÀýÖеÄ< h1>ÇøÓò°üº¬ÁËÐé¹¹¹«Ë¾µÄÃû³Æ£ºAcme United£¬< h2>ÇøÓò°üº¬ÁËÈÃÄãÖªÏþ¸±±êÌâÊÇ“A Simple HTML5 Example”µÄÐÅÏ¢£¬Çåµ¥14ÏÔʾÁËÕâÒ»±ê¼Ç¡£

Çåµ¥14. < body>±êÇ©ºÍ< header>±êÇ©µÄÀý×Ó

< body >
< header>
< hgroup>
< h1>Acme United< /h1>
< h2>A Simple HTML5 Example< /h2>
< /hgroup>
< /header>

µ½Ä¿Ç°ÎªÖ¹£¬±»ÓÃÀ´ÉèÖÃÒ³ÃæµÄCSS3ÈçÇåµ¥15Ëùʾ¡£Ê×ÏÈ£¬Ä㽨Á¢Ò³ÃæµÄ×ÖÌ壬ȻºóÁ¿Éí¶¨×öÒ³ÃæµÄÖ÷Ì壬Ã÷È·Ö÷ÌåµÄά¶È£¬È»ºóÉè¼Æheader¶Î½á¹¹µÄµÚÒ»¼¶ºÍµÚ¶þ¼¶±êÌâ±êÇ©£¬ÕâЩÊÇÄãÒª¸øÒ³ÃæʹÓõÄheader¡£

Çåµ¥15. CSS3Àý×Ó1

* {
font-family: Lucida Sans, Arial, Helvetica, sans-serif;
}

body {
width: 800px;
margin: 0em auto;
}

header h1 {
font-size: 50px;
margin: 0px;
color: #006;
}

header h2 {
font-size: 15px;
margin: 0px;
color: #99f;
font-style: italic;
}

Çåµ¥16չʾÁË< nav>±êÇ© £¬ÆäÄ¿µÄÊÇ´¦ÀíÖ÷Õ¾µãµÄµ¼º½¡£

Çåµ¥16. < nav>Àý×Ó

< nav>
< ul>
< li>< a href="#" kesrc="#">Home< /a>< /li>
< li>< a href="#" kesrc="#">About Us< /a>< /li>
< li>< a href="#" kesrc="#">Contact Us< /a>< /li>
< /ul>
< /nav>

HTML5»¹ÓÐÒ»¸ö< menu>±êÇ©——Ò»¸ö¸øһЩÉè¼ÆÕߺͿª·¢Õß´øÀ´»ìÂҵıêÇ©¡£ÕâÒ»»ìÂÒÔ´ÓÚµ¼º½Ìõͨ³£±»³ÆΪ“µ¼º½²Ëµ¥”¡£< menu>±êÇ©ÔÚHTMLµÄ4.01°æ±¾Öб»ÆúÓ㬵«ÔÚHTML5ÖÐÓÖËÀÀ︴Éú£¬Ä¿µÄÊÇÓÃÀ´ÔöÇ¿½»»¥ÐÔ¡£Ëü²»Ó¦¸ÃÓÃÀ´×öÖ÷µ¼º½¡£Î¨Ò»Ó¦¸ÃÓÃÀ´×öÖ÷µ¼º½µÄ±êÇ©ÊÇ< nav>±êÇ©£¬Äã³ÙһЩ¾Í»áÔÚ±¾ÀýÖÐÓõ½< menu>±êÇ©¡£

µ¼º½µÄ¸ñʽ»¯ÎÊÌâÓÉCSS3À´´¦Àí¡£Çåµ¥17Öиø³öµÄÿ¸ö< nav>±êÇ©µÄ¶¨Ò嶼´ú±íÁË< nav>±êÇ©ÄÚµÄ< ul>ºÍ< li>ÔªËصÄÒ»¸öÌض¨×´Ì¬¡£

Çåµ¥17. CSS3Àý×Ó2

nav ul {
list-style: none;
padding: 0px;
display: block;
clear: right;
background-color: #99f;
padding-left: 4px;
height: 24px;
}
nav ul li {
display: inline;
padding: 0px 20px 5px 10px;
height: 24px;
border-right: 1px solid #ccc;
}

nav ul li a {
color: #006;
text-decoration: none;
font-size: 13px;
font-weight: bold;
}

nav ul li a:hover {
color: #fff;
}

½ÓÏÂÀ´ÊÇArticleÇø£¬ÕâÒ»ÇøÓòÓÉ< article>±êÇ©À´¶¨Ò壬ÆäÖаüÀ¨ÁËÆä×Ô¼ºµÄ< header>ÐÅÏ¢¡£°üº¬ÔÚ< article>ÖеÄ< section>Ò²°üº¬ÁËÒ»¸ö×Ô¼ºµÄµÄ< header>±êÇ©£¬²Î¼ûÇåµ¥18¡£

Çåµ¥18. < article>ºÍ< section>µÄÀý×Ó

< article>
< header>
< h1>
< a href="#" kesrc="#" title="Link to this post" rel="bookmark">Article Heading< /a>
< /h1>
< /header>
< p> Primum non nocere ad vitam Paramus . . . < /p>
< section>
< header>
< h1>This is the first section heading< /h1>
< /header>
< p>Scientia potentia est qua nocent docentp . . .< /p>
< /section>

Çåµ¥19չʾÁËäÖȾÕâÒ»¸ñʽµÄCSS3±ê¼Ç£¬¿ÉÒÔ×¢Òâµ½£¬¶ÎÂä¡¢headerºÍsectionÇøµÄ¶¨Ò嶼¶¨ÒåÔÚ°üº¬ÁËËüÃǵÄ< article>±êÇ©ÉÏ¡£ÕâÀﶨÒåµÄ< h1>±êÇ©ºÍÒ³Ã漶±ð¶¨ÒåµÄ< h1>±êÇ©ÓÐ×Ų»Í¬µÄ¸ñʽ¡£

Çåµ¥19. CSS3Àý×Ó3

article > header h1 {
font-size: 40px;
float: left;
margin-left: 14px;
}

article > header h1 a {
color: #000090;
text-decoration: none;
}

article > section header h1 {
font-size: 20px;
margin-left: 25px;
}

article p {
clear: both;
margin-top: 0px;
margin-left: 50px;
}

< article>Öаüº¬µÄµÚ¶þ¸ö< section>±êÇ©°üº¬ÁËÓëµÚÒ»¸ö< section>ÏàͬµÄ»ù±¾ÐÅÏ¢£¬µ«ÕâÒ»´ÎÄãÒªÓõ½Ò»¸ö< aside>¡¢Ò»¸ö< figure>¡¢Ò»¸ö< menu>ºÍÒ»¸ö< mark>±êÇ©£¬²Î¼ûÇåµ¥20¡£

ÕâÀïʹÓÃ< aside>±êÇ©À´±íʾµÄÐÅÏ¢²¢·ÇÊÇΧÈÆ×ÅËüµÄÄÇЩÁ¬ÐøÄÚÈݵÄ×é³É²¿·Ö¡£< figure>±êÇ©°üº¬ÁËÒ»¸öStonehengeµÄͼƬ¡£< section>±êÇ©»¹°üº¬ÁËÒ»¸ö< menu>±êÇ©£¬¸Ã±êÇ©±»ÓÃÀ´´´½¨Ê¹ÓÃÁËËĸöçÑ˹ŮÉñµÄÃû×ÖÀ´ÃüÃûµÄ°´Å¥¡£µ±Ä³¸ö°´Å¥±»µã»÷ʱ£¬ÆäÌṩÏàÓ¦çÑ˹ŮÉñµÄµÄÐÅÏ¢¡£< mark>±êÇ©±»ÓÃÔÚ< p>±êÇ©ÖУ¬ÒÔ´ËÀ´Í»³öÏÔʾveni¡¢vidiºÍviciµÈ´Ê¡£

Çåµ¥20. < article>ºÍ< section>µÄÀý×Ó

< section>
< header>
< h1>Second section with mark, aside, menu & figure< /h1>
< /header>
< p class="next-to-aside"> . . . < mark>veni, vidi, vici< /mark>. Mater . . .< /p>
< aside>
< p>This is an aside that has multiple lines. . . .< /p>
< /aside>
< menu label="File">
< button type="button" onClick="JavaScript:alert('Clio . . .')">Clio< /button>
< button type="button" onClick="JavaScript:alert('Thalia . . .')">Thalia< /button>
< button type="button" onClick="JavaScript:alert
('Urania . . .')">Urania< /button>
< button type="button" onClick="JavaScript:alert
('Calliope . . .')">Calliope< /button>
< /menu> 
< figure>< img src="stonehenge.jpg" kesrc="stonehenge.jpg" alt="Stonehenge" width="200" height="131"/>
< figcaption>Figure 1. Stonehenge< /figcaption>
< /figure>
< /section>

ÕâÒ»²¿·ÖµÄCSS3°üÀ¨ÁËÒ»¸öеÄ< p>±êÇ©µÄ¶¨Ò壬¸Ã±êÇ©ÓÐ×űÈΪҳÃæËùÉèµÄ¿í¶È¸üСµÄ¿í¶È¡£ÕâÖָĶ¯ÔÊÐíaside¸¡ÔÚÓұ߶øÓÖ²»»áÕڸǵ½ÎÄ×Ö¡£Çåµ¥21ÏÔʾÁËÕâÒ»±ê¼Ç¡£

Çåµ¥21. CSS3Àý×Ó4

article p.next-to-aside {
width: 500px;
}

article > section figure {
margin-left: 180px;
margin-bottom: 30px;
}

article > section > menu { 
margin-left: 120px;


aside p { 
position:relative;
left:0px;
top: -100px;
z-index: 1;
width: 200px; 
float: right;
font-style: italic; 
color: #99f;

ÊÓƵ²¿·ÖµÄÔªËØ

ÕâÊÇ< article>µÄ×îºóÒ»¸ö×é¼þ£ºÊÓƵ²¿·Ö¡£Àý×ÓÊÓƵÊÇogg¸ñʽµÄ£¬ÔÚÒ³Ãæ±»ÔØÈëºó¾Í×Ô¶¯²¥·Å£¬²»¶ÏÑ­»·£¬²¢ÌṩÔÝÍ£ºÍ²¥·Å¿ØÖÆ¡£ÔÚµ±Ç°µÄÐí¶àʵ¼ÊÇé¿öÖУ¬oggÊÓƵʹÓõÄÊÇogv£¨v±íʾÊÓƵ£©À©Õ¹Ãû£¬ÈçÇåµ¥22Ëùʾ¡£< audio>±êÇ©ÒÔͬÑùµÄ·½Ê½¹¤×÷¡£

Çåµ¥22. < article>ºÍ< section>µÄÀý×Ó

< section>
< header>
< h1>This is a video section< /h1>
< /header>
< p>< video src="http://people.xiph.org/~maikmerten/demos/BigBuckBunny.ogv" kesrc="http://people.xiph.org/~maikmerten/demos/BigBuckBunny.ogv" 
controls autoplay loop>
< div class="no-html5-video">< p>This video will work in 
Mozilla Firefox or Google Chrome only. < /p>
< /div>
< /video>< /p>
< /section>
< /article>

Çåµ¥23ÌṩÁËvideo²¿·ÖµÄCSS3¶¨Òå¡£

Çåµ¥23. CSS3Àý×Ó5

article > section video {
height: 200px;
margin-left: 180px;
}

article > section div.no-html5-video{
height: 20px;
text-align: center;
color: #000090;
font-size: 13px;
font-style: italic;
font-weight: bold ;
background-color: #99f;

Ò³ÃæµÄÒ³½ÅºÍ½áÊø²¿·ÖÈçÇåµ¥24Ëùʾ¡£

Çåµ¥24. < footer>±êÇ©µÄÀý×Ó

< footer>
< p>Copyright: 2011 Acme United. All rights reserved.< /p>
< /footer>
< /body>
< /html> 

Ò³½ÅµÄCSS3ÈçÇåµ¥25Ëùʾ¡£

Çåµ¥25. CSS3Àý×Ó5

footer p {
text-align: center;
font-size: 12px;
color: #888;
margin-top: 24px;
}

½áÂÛ


ÍøÒ³µÄ¹¹½¨Íê³É½áÊøÁËÕâÒ»¶à²¿·Ö×é³ÉµÄϵÁеĵÚÒ»²¿·Ö¡£±¾ÆªÎÄÕµÄÄ¿µÄÊǽéÉÜеÄHTML5»úÖÆ¡£HTML5²»½öÊÇHTML4µÄÒ»¸öÉý¼¶£ºËü»¹ÊÇÒ»ÖÖеÄÊý×Ö»¯Í¨ÐÅ·½Ê½¡£½èÖúÓÚCSS3ºÍJavaScriptµÄ¹¦ÄÜ£¬HTML5½Ó½üÓÚÔÚÒ»¸öα°üÖÐΪ¿ª·¢ÕßÌṩÁËÈ«²¿µÄÒ»ÇС£Èç¹ûÄãÔ¸Òâ´ÓÒÑÓеĴóÁ¿µÄHTML5ÐÅÏ¢ÖÐÎüÈ¡ÄãËùÐèµÄÄÚÈÝÀ´£¬²¢°ÑËüÃÇÓõ½ÎÒÃǵij£¼û×ö·¨ÖеĻ°£¬ÄÇôÄ㽫»á¼ÓÈëµ½ÕâÒ»¸öÓɳÆÖ°µÄµÄHTML5¶àýÌåwebÉè¼ÆÕߺͿª·¢Õß×é³ÉµÄÕýÔÚ²»¶Ï׳´óµÄ¾üÍÅÖС£ÕâһϵÁеÄÏÂһƪÎÄÕ½«×ÅÑÛÓÚÈçºÎ±àдºÍ¸ñʽ»¯HTML5µÄ±íµ¥¡£

ÏÂÔØ


ÃèÊö¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Ãû³Æ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡´óС¡¡¡¡¡¡¡¡ÏÂÔØ·½·¨

ʾÀýµÄHTML¡¢CSS3Îļþ¡¡¡¡¡¡HTML5Fundamentals.zip¡¡¡¡¡¡10KB¡¡¡¡¡¡¡¡¡¡¡¡HTTP

¡¡

1.±¾Õ¾×ñÑ­ÐÐÒµ¹æ·¶£¬ÈκÎתÔصĸå¼þ¶¼»áÃ÷È·±ê×¢×÷ÕߺÍÀ´Ô´£»2.±¾Õ¾µÄÔ­´´ÎÄÕ£¬ÇëתÔØʱÎñ±Ø×¢Ã÷ÎÄÕÂ×÷ÕߺÍÀ´Ô´£¬²»×ðÖØÔ­´´µÄÐÐΪÎÒÃǽ«×·¾¿ÔðÈΣ»3.×÷ÕßͶ¸å¿ÉÄܻᾭÎÒÃDZ༭Ð޸Ļò²¹³ä¡£

Ïà¹ØÎÄÕÂ
  • ³¬¼¶Ñ¤ÀöµÄhtml5µÄÒ³Ãæ

    ³¬¼¶Ñ¤ÀöµÄhtml5µÄÒ³Ãæ

    2014-11-16 20:49

  • HTML5»ù´¡£¬µÚ4²¿·Ö£ºµã¾¦Ö®±ÊCanvas

    HTML5»ù´¡£¬µÚ4²¿·Ö£ºµã¾¦Ö®±ÊCanvas

    2014-11-16 20:49

  • HTML5»ù´¡£¬µÚ3²¿·Ö£ºHTML5 APIµÄÍþÁ¦

    HTML5»ù´¡£¬µÚ3²¿·Ö£ºHTML5 APIµÄÍþÁ¦

    2014-11-16 20:49

  • HTML5»ù´¡£¬µÚ2²¿·Ö£º×éÖ¯Ò³ÃæµÄÊäÈë

    HTML5»ù´¡£¬µÚ2²¿·Ö£º×éÖ¯Ò³ÃæµÄÊäÈë

    2014-11-16 20:49

ÍøÓѵãÆÀ
ø