HTML5¼¼Êõ

HTML5È«¾ÖÊôÐÔ¡ª¡ªÔ­´´£¨Òª½è¼øµÄ»ï°éÇë±ê×¢À´Ô´£© - YYNSunny

×ÖºÅ+ ×÷ÕߣºH5Ö®¼Ò À´Ô´£ºH5Ö®¼Ò 2017-05-22 10:01 ÎÒÒªÆÀÂÛ( )

1.label hidden¿´µÃ¼ûÂð/label //hiddenΪÒþ²ØÊôÐÔ 2.input tabindex="1" / textarea tabindex="2" spellcheck="true" cols="60" rows="5"/textarea //spellcheck¼ì²éÊÇ·ñÓÐƴд´íÎ󣨵«ºÜÆæ¹ÖÇײâÖ»ÔڹȸèÉÏ¿ÉÒÔ£¬¹È¸èÉÏд²»Ð´ÕâÒ»¾ä¶¼¿ÉÒÔ£¬ÆäËûä¯ÀÀÆ÷¶¼²»

1.<label hidden>¿´µÃ¼ûÂð</label>

¡¡¡¡//hiddenΪÒþ²ØÊôÐÔ

2. <input tabindex="1" />
    <textarea tabindex="2"  spellcheck="true"  cols="60" rows="5"></textarea>

¡¡¡¡//spellcheck¼ì²éÊÇ·ñÓÐƴд´íÎ󣨵«ºÜÆæ¹ÖÇײâÖ»ÔڹȸèÉÏ¿ÉÒÔ£¬¹È¸èÉÏд²»Ð´ÕâÒ»¾ä¶¼¿ÉÒÔ£¬ÆäËûä¯ÀÀÆ÷¶¼²»ÐУ©

¡¡¡¡//tabindex±íʾÓÃTab¼üµÄÇл»Ë³Ðò

3.<p contenteditable="true">¹þ¹þ¹þ¹þ¹þ</p>
   <table contenteditable="true">
    <tr>
     <td>Êé¼Ç</td>
    </tr>    
   </table>

¡¡¡¡//Ò»¸öÉñÆæµÄÊôÐÔ£ºcontenteditable£¬Ê¹ÄÚÈݿɱ༭£¨ºÜºÃÓã¡£¡£©

4.<script>
   ¡¡¡¡window.document.designMode="on";
  </script>

HTML5ËùÌṩµÄÒ»¸öJSÊôÐÔ£¬µ±=¡°on¡±Ê±£¬Ò³ÃæÖеÄËùÓÐÎÄ×ÖÐÅÏ¢¶¼¿É±à¼­£¨µ±È»£¬Õâ¸öÊôÐÔÒ²²»³£Óã¬ÓõıȽ϶àµÄ»¹ÊÇ3£©

 

¡¡

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

Ïà¹ØÎÄÕÂ
  • HTLM5ÐÂÔöÊôÐÔ¡ª¡ªÔ­´´£¨Òª½è¼øµÄ»ï°éÇë±ê×¢À´Ô´£© - YYNSunny

    HTLM5ÐÂÔöÊôÐÔ¡ª¡ªÔ­´´£¨Òª½è¼øµÄ»ï°éÇë±ê×¢À´Ô´£© - YYNSunny

    2017-05-22 09:02

  • HTML5³õѧ - YYNSunny

    HTML5³õѧ - YYNSunny

    2017-05-21 14:04

  • Spring+SpringMVC+MyBatisÉîÈëѧϰ¼°´î½¨(Èý)¡ª¡ªMyBatisÈ«¾ÖÅäÖÃÎļþ½âÎö - Joanna

    Spring+SpringMVC+MyBatisÉîÈëѧϰ¼°´î½¨(Èý)¡ª¡ªMyBatisÈ«¾ÖÅäÖÃÎÄ

    2017-05-19 14:01

  • HTML5Ö§³Ö·þÎñÆ÷·¢ËÍʼþ(Server-Sent Events)-µ¥ÏòÏûÏ¢´«µÝÊý¾ÝÍÆËÍ£¨C#ʾÀý£© - ÐÜ×ÐÆäÈË

    HTML5Ö§³Ö·þÎñÆ÷·¢ËÍʼþ(Server-Sent Events)-µ¥ÏòÏûÏ¢´«µÝÊý¾ÝÍÆËÍ

    2017-05-19 11:02

ÍøÓѵãÆÀ
©