HTML5¼¼Êõ

ÐÂÊÖѧH5¡ª¡ªµÚÒ»ÖÜ - CherishÀî

×ÖºÅ+ ×÷ÕߣºH5Ö®¼Ò À´Ô´£ºH5Ö®¼Ò 2017-02-23 13:00 ÎÒÒªÆÀÂÛ( )

×÷Ϊһ¸öÐÂÊÖ£¬Òª´ÓͷѧϰHtml±à³ÌÓïÑÔ£¬ÐèÒª´Ó×î»ù´¡µÄ¿ªÊ¼¡£ÎÒËùʹÓõıà³ÌÈí¼þÊÇHbuilder¡£ 1.HtmlÎĵµ½á¹¹ °üÀ¨headºÍbodyÁ½²¿·Ö ×¢Ò⿪ͷ±ØÐëÓÐÎĵµÀàÐÍÇ¿µ÷£¡ 2.Html±êÇ© ±êÇ©ÊÇHtml×î»ù±¾µÄµ¥Î»ºÍ×îÖØÒªµÄ×é³É¡£ ʹÓÃÀ¨ÆðÀ´¡£ ËùÓеÄHtml±êÇ©±ØÐëÊDZÕ

×÷Ϊһ¸öÐÂÊÖ£¬Òª´ÓͷѧϰHtml±à³ÌÓïÑÔ£¬ÐèÒª´Ó×î»ù´¡µÄ¿ªÊ¼¡£ÎÒËùʹÓõıà³ÌÈí¼þÊÇHbuilder¡£

1.HtmlÎĵµ½á¹¹

°üÀ¨headºÍbodyÁ½²¿·Ö

 

 

×¢Ò⿪ͷ±ØÐëÓÐÎĵµÀàÐÍÇ¿µ÷£¡

 

2.Html±êÇ©

±êÇ©ÊÇHtml×î»ù±¾µÄµ¥Î»ºÍ×îÖØÒªµÄ×é³É¡£

ʹÓÃ<>À¨ÆðÀ´¡£

ËùÓеÄHtml±êÇ©±ØÐëÊDZպϱêÇ©¡£¿ÉÒÔÊdzɶԵģ¬±ÈÈç<title> </title>£»Ò²¿ÉÒÔÊÇ×ԱպϱêÇ©£¬±ÈÈ磺<img />; Ò²¾ÍÊÇ˵/±íʾÕâÒ»¸ö»òÕßÒ»¶Ô±êÇ©µÄ±ÕºÏ¡£±êÇ©±ØÐëÕýȷǶÌ×£¬²»Äܽ»²æ¡£

3.Html±êÇ©ÊôÐÔ

ÊDZêÇ©µÄÒ»²¿·Ö£¬ÓÃÓÚ°üº¬¶îÍâµÄÐÅÏ¢

¿ÉÒÔÓжà¸öÊôÐÔ¡£

ÒÔÏÂΪheadÖг£ÓõıêÇ©¼°×÷Óá£<!-- -->ÖÐÄÚÈÝΪעÊÍ¡£

ÎĵµÉùÃ÷£º±ØÐëÓУ¬¶øÇÒ±ØÐëÔÚÎĵµÒ³ÃæµÄµÚÒ»ÐС£ Html5ÒѾ­¼ò»¯ÎªÒÔÉÏÑùʽ ÎÒµÄÊÀ½çʹÓÃlink±êÇ©Á¬½ÓÍøҳͼ±ê rel:ÉùÃ÷Á¬½ÓÎļþµÄÀàÐÍ typeÊôÐÔ¿ÉÊ¡ÂÔ hrefÊôÐÔ£º±íʾͼƬµÄ·¾¶µØÖ· meta±êÇ©³£ÓÃÊôÐÔ 1.charset ÉèÖÃÎĵµ×Ö·û¼¯±àÂë¸ñʽ¡·¡·¡·³£¼û×Ö·û¼¯±àÂë¸ñʽ£ºutf-8Íò¹úÂëUnicode£¬GB-2312¹ú±êÂë,gbkÀ©Õ¹µÄ¹ú±êÂë 2.http-equiv½«ÎÒÃǵÄÐÅϢд¸øä¯ÀÀÆ÷¿´,¿ÉÑ¡ÊôÐÔÖµContent-Type refresh set-cokie£¬ÅäºÏcontentÊôÐÔ.(http-equivÊôÐÔÖ»ÊDZíÃ÷ÐèÒªÉèÖÃÄÇÒ»²¿·Ö£¬¾ßÌåÄÚÈݷŵ½contentÊôÐÔÖÐ) 3.nameÊôÐÔ£ºÊ¹Ó÷½·¨Óëhttp-equivÏàͬ£¬³£ÓÃÊôÐÔÖµkeywords author description ½«ÐÅϢд¸øËÑË÷ÒýÇæ¿´

 

 

4.±êÇ©·ÖÀà

¿é¼¶±êÇ©£ºÏÔʾΪ¿é×´£¬Ç°ºó¸ôÒ»ÐУ¨×Ô¶¯»»ÐУ©

Ð춱êÇ©£º°´ÐдÓ×óÍùÓÒÖðÒ»ÏÔʾ¡£

5.³£¼ûµÄ¿é¼¶±êÇ©

<h1>±êÌâ±êÇ©</h1>

<h2></h2>

....<h6></h6>

h1×î´ó£¬h6×îС£¬×Ô¶¯¼Ó´Ö

<p></p>¶ÎÂä±êÇ©

<hr />ˮƽÏß±êÇ©

<br/>»»ÐбêÇ©

<blockquote cite="">ºáüÀä¶Ôǧ·òÖ¸</blockquote>ÒýÓñêÇ©

citeÊôÐÔ±íÃ÷ÒýÓÃÀ´Ô´£¬Ò»°ã±íÃ÷ÒýÓÃÍøÖ·¡£ä¯ÀÀÆ÷ÏÔʾĬÈÏÊ×ÐÐËõ½ø¡£

<pre></pre>Ô¤¸ñʽ±êÇ©£¬ä¯ÀÀÆ÷ÏÔʾÑùʽ

1.ΪµÈ¿í×ÖÌå

2.´úÂëÖеĻ»ÐУ¬¿Õ¸ñµÈÔªËØÔÚä¯ÀÀÆ÷Ö±½ÓÏÔʾ

6.»ùÓÚ²¼¾ÖµÄ¿é¼¶±êÇ©

ÓÐÐòÁÐ±í£¨order list£©£º<ol>

<li>µÚÒ»Ïî</li>

<li>µÚ¶þÏî</li>

<li>µÚÈýÏî</li>

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡</ol>

ÎÞÐòÁÐ±í£¨unorder list£©£º

<ul>

<li>µÚÒ»Ïî</li>

<li>µÚ¶þÏî</li>

<li>µÚÈýÏî</li>

</ul>

¶¨ÒåÃèÊöÁÐ±í£º

<dl>

<dt>¶¨ÒåÁбí±êÌâ</dt>........±êÌⶥ¸ñÏÔʾ

<dd>ÃèÊöÏîµÚÒ»Ïî</dd>......ÃèÊöÏîÏà¶Ô±êÌâ½øÐÐËõ½øÏÔʾ

<dd>ÃèÊöÏîµÚ¶þÏî</dd>

</dl>

×éºÏ±êÇ©£ºÓÃÓÚÏÔʾͼƬ¼°Í¼Æ¬±êÌâ

ÓÐÁ½¸ö×Ó±êÇ©£º<img/>ͼƬ

<figcaption></figcaption>ͼƬµÄ±êÌâ

 

<figure>

<img src="img/000.jpg" />

<figcaption>ͼƬ±êÌâ</figcaption>

</figure>

·ÖÇø±êÇ©£º

<div></div>

7.³£¼ûµÄÐ춱êÇ©

span£¨Îı¾£© <span></span> ÎÞʵ¼ÊÒâÒ壬ÓÃÓÚ°ü¹üij²¿·ÖÎÄ×Ö£¬ÐÞ¸ÄÌض¨Ñùʽ

em£¨Ç¿µ÷£© <em></em> ±íʾǿµ÷£¬Ç¿µ÷µÄÑùʽΪÇãб

strong£¨Ç¿µ÷) <strong></strong>Ç¿µ÷Ñùʽ¼Ó´Ö£¬Ç¿µ÷³Ì¶È±Èem¸ß£¨Html5ÒªÇó±êÇ©¾¡¿ÉÄÜʵÏÖÓïÒ廯£©

q£¨¶ÌÒýÓã© <q></q> ÏÔʾÄÚÈݼÓÒýºÅ

i£¨Çãб£© <i></i>

b£¨¼Ó´Ö£© <b></b>i±êÇ©±íʾÇãб£¬Ã»ÓÐÇ¿µ÷Ч¹û

small£¨ËõС×ÖÌå)<small></small> ʹÏÔʾµÄ×ÖÌåСһºÅ£¬¿É¶àÖØǶÌ×Ö±µ½×ֺŴﵽÏÂÏÞ

big(·Å´ó×ÖÌå) <big></big> ÓësmallÏà·´

img£¨Í¼Æ¬£© <img />

1.src:±íʾÒýÓÃͼƬµÄµØÖ·

£¨Â·¾¶µØַд·¨£º1.Ïà¶Ô·¾¶£ºÒÔµ±Ç°ÎļþΪ׼ȥѰÕÒͼƬµØÖ·

a.ÓëÎļþͬһ²ãÖ±½ÓдͼƬÃû

b.ͼƬÔÚÎļþÏÂÒ»²ã£ºÎļþ¼ÐÃû/ͼƬÃû

c.ͼƬÔÚÎļþÉÏÒ»²ã£º../ͼƬÃû

2.¾ø¶Ô·¾¶£ºfile:///E:/00.jpg ½ûֹʹÓÃ

3.ÍøÂçµØÖ·£ºÍøÂçÉϵÄͼƬÁ´½Ó Ò»°ã²»ÓÃ

£©

2.ͼƬµÄ¿í¶È¸ß¶È¡£¿ÉÓÃCSS´úÌæ

3.title£ºÍ¼Æ¬±êÌ⣬µ±Êó±êÖ¸ÉÏÈ¥ÏÔʾµÄÎÄ×Ö¡£

alt:ͼƬÎÞ·¨ÏÔʾʱºòÏÔʾµÄÎÄ×Ö

a£¨³¬Á´½Ó£© <a href="" target=""></a>

ʾÀý¼ûÏ·½³ÌÐò£º

¡¡¡¡¡¡¡¡ÕâÊDZêÌâ±êÇ©h1±Èh1Сµã±êÌâ±êÇ©ÓÐ6ÖÖh1×î´ó£¬h6×îСÕâÊÇP±êÇ©Á½¸öP±êÇ©£¬Öмä¸ôÒ»ÐС£br£¨×ԱպͱêÇ©£©»»ÐбêÇ©Õâ¸öÒ²ÊÇÒ» ÕâÊÇÒýÓñêÇ© ÕâÊÇpre±êÇ©¡£Ô¤¸ñʽ ÎÒ±»»»ÐÐÁË¡£±êÇ©ÄÚÄÚÈݸñʽԭ·â²»¶¯ helloworld ÓÐÐòÁбíµÚÒ»ÏîÓÐÐòÁбíµÚ¶þÏîÓÐÐòÁбíµÚÈýÏîÎÞÐòÁбíµÚÒ»ÏîÎÞÐòÁбíµÚ¶þÏîÎÞÐòÁбíµÚÈýÏîÕâÊÇDLµÄ±êÌâDT£¬Ò»¸öDLÒ»°ãÖ»ÓÐÒ»¸öÕâÊÇDLµÄÃèÊöÏîddÕâÊÇDLµÄÃèÊöÏîdd2 *********·Ö¸îÏß**************ÎÒÕæ˧em±íʾǿµ÷£¬Ç¿µ÷µÄÑùʽΪÇãбǿµ÷Ñùʽ¼Ó´Öi±êÇ©±íʾÇãб£¬Ã»ÓÐÇ¿µ÷Ч¹ûb±êÇ©±íʾ¼Ó´Ö£¬Ã»Ç¿µ÷Ч¹û±íʾ¶ÌÒýÓã¬×Ô´øË«ÒýºÅ±íʾÓÐÎóÎı¾É¾³ýÏßcite±íʾÒýÓã¬ä¯ÀÀÆ÷±íʾΪÇãб½ö½ö±íʾΪ´úÂ룬ä¯ÀÀÆ÷µÈ¿íÏÔʾsmall±ÈÕý³£µÄ±êÇ©×ÖÌåСһºÅ£¬¿ÉÒÔ¶à²ãǶÌ×£¬Ò»Ö±Ð¡µ½×îС×ÖÌåbig±êÇ©´óÒ»ºÅ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡<!--img±íʾͼƬ src ͼƬµÄµØÖ·£¬¿ÉÒÔÊÇÍøÂçͼƬ£¬Ïà¶Ô·¾¶ title ͼƬ±êÌâ alt ͼƬ²»ÏÔʾʱÏÔʾµÄÎÄ×Ö align ÉèÖÃͼƬÎÄ×Ö¶ÔÆ뷽ʽ --> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡<!-- ¡¾a±êÇ©¡¿ href±íʾÌøתµÄµØÖ·¡£1 ÌøתµÄµØÖ·¿ÉÒÔÊÇÍøÂçÁ¬½Ó 2 ¿ÉÒÔͨ¹ýÏà¶Ô·¾¶Õ¾ÄÚÆäËüHTMLÎļþ£¬ Ïà¶Ô·¾¶µÄÈ·¶¨ a,Èç¹ûÔÚͬÒâÎļþ¼Ð£¬Ö±½ÓдÎļþÃû b Èç¹ûÄ¿±êÎļþÔÚµ±Ç°Îļþ¼ÐÏÂÒ»²ã£¬Ö±½Óд¡°Îļþ¼ÐÃû/ÎļþÃû¡± c Èç¹ûÄ¿±êÎļþÔÚµ±Ç°ÎļþÉÏÒ»²ã¡°../ÎļþÃû¡± target±íʾҳÃæ´ò¿ªµÄλÖ㺠1 _self´ú±í×ÔÉíÒ³Ãæ´ò¿ª 2 _blankÐÂÒ³Ãæ´ò¿ª title ³¬Á´½Ó±êÌ⣬Êó±êÖ¸ÉÏÈ¥ÏÔʾµÄÌáʾ

 

 

 

 

 

 

 

 

¡¡

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

Ïà¹ØÎÄÕÂ
  • Ö²ËÄñ¡¢ÐÂÊÖ¡¢³õѧÕßÒÔ¼°ÎÒ - mspµÄ²ýΰ¸ç¸ç

    Ö²ËÄñ¡¢ÐÂÊÖ¡¢³õѧÕßÒÔ¼°ÎÒ - mspµÄ²ýΰ¸ç¸ç

    2016-01-19 08:15

  • HTML5¶¨¸åÒ»ÖÜÄ꣬Äã±ØÐëÒªÖØÐÂÈÏʶHTML5ÁË - Êýͨ³©Áª

    HTML5¶¨¸åÒ»ÖÜÄ꣬Äã±ØÐëÒªÖØÐÂÈÏʶHTML5ÁË - Êýͨ³©Áª

    2015-12-08 09:26

ÍøÓѵãÆÀ
î