ǰ¶Ë
- ǰ¶ËÖ÷ҪʹÓÃHTML¡¢CSS¡¢JavaScriptÕâÈý½£¿ÍÀ´½øÐпª·¢¡£
- ǰ¶ËÖ÷Òª¸ºÔðÒ³ÃæÄÚÈݵijÊÏÖ,Ò³ÃæÐ§¹ûµÄÖÆ×÷,ÒÔ¼°¸÷ÖÖ½»»¥Ð§¹ûµÄʵÏÖ¡£
ǰ¶ËÄÜ×öµÄ²»Ö¹ÊÇÍøÒ³
Ëæ×ÅÏÖÔÚǰ¶Ë¼¼ÊõµÄ·¢Õ¹,¸÷ÖÖ¿çÆ½Ì¨·½°¸µÄÓ¿ÏÖ,´óǰ¶ËµÄ³±Á÷ÒѾÊDz»¿É±ÜÃâÁË¡£ÎÒÃDz»½öÄÜÐ´ÍøÒ³,Ò²¿ÉÒÔÓÃnodejsÀ´×öºó¶Ë³ÌÐò,»¹¿ÉÒÔÒÀÀµÒ»Ð©¿çƽ̨·½°¸È¥¿ª·¢ÊÖ»úÉϵÄAPPÒÔ¼°Î¢ÐÅС³ÌÐòµÈµÈ
×ܶøÑÔÖ®,ÄãËùÄÜ¿´µ½µÄÒ»ÇнÔΪǰ¶Ë,ǰ¶ËÄܹ»×öµ½µÄÊÂÇéÔ¶Ô¶²»Ö¹¿ª·¢ÍøÒ³ÕâÒ»Ïî¡£ÍøÒ³ÊÇÓÉÎÄ×Ö,ͼƬ,ÒôƵ,ÊÓÆµ,³¬Á´½ÓµÈ×é³É¡£
³£¼ûµÄÎå´óÄÚºË:Trident,Gecko,Webkit ,PrestoºÍBlink :
| ÄÚºË | ä¯ÀÀÆ÷ | ±¸×¢ |
|---|
| Trident | IE¡¢Maxthon(åÛÓÎ)¡¢ÌÚѶ ¡¢TheworldÊÀ½çÖ®´°¡¢360ä¯ÀÀÆ÷ | | | Gecko | Mozilla¡¢Firefox | ¿ªÔ´ÏîÄ¿ | | Webkit | Safari¡¢Chrome | ¿ªÔ´ÏîÄ¿ | | Presto | Opera | PrestoÊÇÓÉOpera Software¿ª·¢µÄä¯ÀÀÆ÷ÅŰæÒýÇæ,ËüÒ²ÊÇÊÀ½çÉϹ«ÈϵÄäÖȾËÙ¶È×î¿ìµÄÒýÇæ¡£ | | Blink | Google | ÓÉGoogleºÍOpera Software¿ª·¢µÄä¯ÀÀÆ÷ÅŰæÒýÇæ |
HTML
- È«ÃûHyper Text Markup Language¼ò³Æ³¬Îı¾±ê¼ÇÓïÑÔ¡£
- HTMLµÄ¹Ç¼Ü½á¹¹ÓÉËĸö±êÇ©×é³É
- html±êÇ©ÊÇÍøÒ³µÄÕûÌå
- head±êÇ©ÊÇÍøÒ³µÄÍ·²¿
- body±êÇ©ÊÇÍøÒ³µÄÉíÌå
- title±êÇ©ÊÇÍøÒ³µÄ±êÌâ
HTMLµÄ»ù´¡Ä£°å
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
</body>
</html>
<!DOCTYPE html>:˵Ã÷ÎĵµÊÇÀàÐÍ,¸æËßä¯ÀÀÆ÷µÄ½âÎöÆ÷ʹÓÃÄÄÖֹ淶À´½âÎöÒ³Ãæ¡£ <html>...</html>°ü¹üËùÓдúÂë,³ýÁ˵ÚÒ»ÐС£ÔÚËüÃÇÖ®¼äÊÇÎĵµµÄÍ·²¿ºÍÖ÷Ìå¡£ <head>...</head>ÊÇËùÓÐÍ·²¿ÔªËصÄÈÝÆ÷¡£<head>ÖеÄÔªËØ¿ÉÒÔÒýÓýű¾(scripts)¡¢Ñùʽ±í(css)¡¢¸÷ÖÖmetaÐÅÏ¢µÈµÈ¡£ <meta>ÃèÊöÁËһЩ»ù±¾µÄÔªÐÅÏ¢,ÕâЩÊý¾Ý²»»áÔÚÒ³ÃæÖÐÏÔʾ,µ«»á±»ä¯ÀÀÆ÷½âÎö¡£ÀýÈ翪·¢¹¤¾ß¡¢×÷Õß¡¢ÍøÒ³¹Ø¼ü×Ö¡¢ÍøÒ³ÃèÊö¡¢Ò³Ã涨ʱˢм°Ìø×ªµÈһЩ¶«Î÷¡£
×¢Òâ:<meta>±êǩûÓнáÊø±êÇ©
<title>...</title>ÍøÒ³µÄÃû³Æ  <link>¶¨ÒåÁËÎĵµÓëÍⲿ×ÊÔ´µÄÁªÏµ,×î³£ÓõľÍÊÇÍâÁªcssÎļþ¡£
×¢Òâ:link±êǩûÓнáÊø±êÇ©
<body>...</body>¶¨ÒåÎĵµµÄÖ÷Ìå,<body>Óë</body>±êǩ֮¼äµÄÎı¾ÊÇÒªÔÚä¯ÀÀÆ÷ÖÐÏÔʾµÄÒ³ÃæÄÚÈÝ,¾ø´ó¶àÊýhtml±êǩдÔÚÀïÃæ
HTML»ù´¡±êÇ©
HTML±êÇ©µÄ¹¹³É
<¿ªÊ¼±êÇ©>ÄÚÈÝ</½áβ±êÇ©>
- ±êÇ©ÓÐ
<¡¢>¡¢/¡¢ºÍÓ¢Îĵ¥´Ê»òÕß×Öĸ×é³É,ÓÉ<>°ü¹üµÄÓ¢Îĵ¥´Ê»òÕß×Öĸ½Ð×ö±êÇ©Ãû - ³£¼ûµÄ±êÇ©ÓÉÁ½²¿·Ö×é³É,ÎÒÃdzÆÖ®Îª
Ë«±êÇ©,ǰ²¿·Ö½Ð×ö¿ªÊ¼±êÇ©,ºó²¿·Ö½Ð×ö½áÊø±êÇ©,ÓÉÕâÁ½²¿·Ö°ü¹üµÄΪÄÚÈÝ - ÉÙÊýµÄ±êÇ©ÓÉÒ»²¿·Ö×é³É,ÎÒô³ÆÖ®Îª
µ¥±êÇ©,ÎÞ·¨°ü¹üÄÚÈÝ,Ò»°ãÔÚÄÚ²¿Êéд²ÎÊý¡£
HTML±êÇ©µÄÊôÐÔ
¿ªÊ¼±êÇ©»òÕßµ¥±êÇ©ÖпÉÒÔ°üº¬Ò»Ð©ÊôÐÔ,ͨ¹ý=Ö¸¶¨ÊôÐÔÖµ
<¿ªÊ¼±êÇ© ÊôÐÔÃû="ÊôÐÔÖµ"></½áβ±êÇ©>
<µ¥±êÇ© ÊôÐÔÃû=¡°ÊôÐÔÖµ¡±>
HTML±êÇ©µÄ¹ØÏµ
- ¸¸×Ó¹ØÏµ
<body>
<h1>ÎÒÊÇÒ»¼¶±êÌâ</h1>
</body>
- ÐֵܹØÏµ
<h1>ÎÒÊÇÒ»¼¶±êÌâ</h1>
<p>ÎÒÊǶÎÂä</p>
HTML±êÇ©µÄÄÚÈÝ
| ±êÇ©Ãû | º¬Òå |
|---|
| <div></div> | ¿é¼¶±êÇ©,³£ÓëCSSÊôÐÔÅäºÏ½øÐÐÍøÒ³²¼¾Ö | | <h1>¨C<h6> | ¶¨Òå±êÌâ,<h1>Ϊһ¼¶±êÌâ,<h2>Ϊ¶þ¼¶±êÌâ,ÒÔ´ËÀàÍÆ,<h1>Ϊ×î´óµÄ±êÌâ,<h6>Ϊ×îС±êÌâ | | <p></p> | ¶¨Òå¶ÎÂä,ÓÃÓÚ°ü¹üÒ»¶ÎÎÄ×Ö | | <span></span> | ÐÐÄÚÔªËØ,ΪÉÙÁ¿µÄÎÄ×Öµ¥¶ÀÉèÖÃÑùʽ¡£ | | <a></a> | ³¬Á´½Ó±êÇ© | | <img> | ÒýÈëͼƬ | | <ul></ul> | ¶¨ÒåÎÞÐòÁбí | | <ol></ol> | ¶¨ÒåÓÐÐòÁбí | | <li></li> | ¶¨ÒåÁбíµÄÏîÄ¿ | | <br> | »»ÐÐ | | <hr> | ¶¨ÒåˮƽÏß | | <select></select> | ´´½¨µ¥Ñ¡»ò¶àÑ¡²Ëµ¥ | | <option></option> | ¶¨ÒåÏÂÀÁбíµÄÆäÖÐÒ»¸öÑ¡Ïî,λÓÚselectÔªËØÄÚ²¿ | | <video></video> | ¶¨ÒåÊÓÆµÄÚÈÝ,Ö§³ÖµÄ¸ñʽÓÐMP4,OggµÈ | | <audio></audio> | ¶¨ÒåÒ»¶ÎÒôƵ,Ö§³ÖµÄÈýÖÖ¸ñʽΪMP3,WAV,Ogg |
| ³¬Á´½ÓÊôÐÔÃû | ÊôÐÔÖµ | ±¸×¢ |
|---|
| href | ¹æ¶¨Á´½ÓÖ¸ÏòµÄÒ³ÃæµÄ url¡£ | (url:×ÊÔ´µØÖ·,Ö¸ÒªÁ´½Óµ½µÄÍøÒ³»òÕßÎļþµÄµØÖ·) | | title | ÓÃÓÚÖ¸¶¨Ö¸ÏòÁ´½ÓʱËùÏÔʾµÄÌáʾÐÅÏ¢ | | | target | ¹æ¶¨Ôںδ¦´ò¿ªÁ´½ÓÎĵµ¡£ | _blank:ÔÚд°¿Ú´ò¿ª,_self:ÔÚͬһ¸ö´°¿ÚÖдò¿ª,_parent:ÔÚÉÏÒ»¼¶´°¿ÚÖдò¿ª, _top:ÔÚä¯ÀÀÆ÷µÄÕû¸ö´°¿ÚÖдò¿ª) |
| imgÊôÐÔÃû | ÊôÐÔÖµ | ±¸×¢ |
|---|
| src | ͼƬ·¾¶ | ¿ÉÒÔÊǾø¶Ô»òÕßÏà¶Ô·¾¶ | | alt | Ìæ»»Îı¾ | µ±Í¼Æ¬¼ÓÔØÊ§°Üʱ,²Å»áÏÔʾaltµÄÎı¾,ͼƬ¼ÓÔØ³É¹¦Ê±,²»»áÏÔʾaltµÄÎı¾ | | title | ÌáʾÎı¾ | µ±Êó±êÐüÍ£ÔÚͼƬÉÏʱ,²Å»áÏÔʾµÄÎı¾ | | width¡¢height | ͼƬ¿í¸ß | Èç¹ûÖ»ÉèÖÃÁËÆäÖеÄÒ»¸ö,ÁíÒ»¸ö»á×Ô¶¯µÈ±ÈÀýµÄËõ·Å,´ËʱͼƬ²»»á±äÐΡ£Èç¹ûͬʱÉèÖÃ,´ËʱͼƬ¿ÉÄܱäÐÎ |
| videoÊôÐÔÃû | ÊôÐÔÖµ | ±¸×¢ |
|---|
| src | ÊÓÆµÂ·¾¶ | ¿ÉÒÔÏà¶Ô¡¢¾ø¶Ô·¾¶ | | controls | ÏÔʾ²¥·ÅµÄ¿Ø¼þ | | | autoplay | ×Ô¶¯²¥·Å | chromeÖÐÐèÒªmutedʵÏÖ¾²Òô²¥·Å | | loop | Ñ»·²¥·Å | |
| audioÊôÐÔÃû | ÊôÐÔÖµ | ±¸×¢ |
|---|
| src | ÊÓÆµÂ·¾¶ | ¿ÉÒÔÏà¶Ô¡¢¾ø¶Ô·¾¶ | | controls | ÏÔʾ²¥·ÅµÄ¿Ø¼þ | | | autoplay | ×Ô¶¯²¥·Å | ²¿·Öä¯ÀÀÆ÷²»Ö§³Ö | | loop | Ñ»·²¥·Å | |
HTMLµÄ¸ß¼¶±êÇ©
input±êÇ©
ÔÚÍøÒ³ÖÐÏÔʾÊÖ»úÓû§ÐÅÏ¢µÄ±íµ¥Ð§¹û,ÈçµÇ¼ע²áÒ³Ãæ¡£¿ÉÒÔͨ¹ýtypeÊôÐÔÖµµÄ²»Í¬Õ¹Ê¾²»Í¬Ð§¹û
| typeÊôÐÔÖµ | ˵Ã÷ |
|---|
| text | Îı¾¿ò,ÓÃÓÚÊäÈëµ¥ÐÐÎı¾ | | password | ÃÜÂë¿ò,ÓÃÓÚÃÜÂëÊäÈë | | radio | µ¥Ñ¡¿ò,ʵÏÖ¶àѡһ,checkedÖ¸¶¨Ä¬ÈÏÑ¡ÖÐÑ¡Ïî | | checkbox | ¶àÑ¡¿ò,ʵÏÖ¶àѡһ | | file | ÎļþÑ¡Ôñ,ÓÃÓÚÉÏ´«Îļþ | | submit | Ìá½»°´Å¥,ÓÃÓÚÌá½»±íµ¥ | | reset | ÖØÖð´Å¥,ÓÃÓÚÖØÖÃ±íµ¥ | | button | ÆÕͨ°´Å¥,ĬÈÏÎÞ¹¦ÄÜ,ͨ¹ýjs¸³Ó蹦ÄÜ | | placeholder | ÊäÈëÀàÐÍʱ,ÏÔʾÔÚÊäÈë¿òµÄÌáʾÐÅÏ¢ |

<form>
êdzÆ:<input type="text" placeholder="ÇëÊäÈëÄúµÄêdzÆ"><br><br>
ÃÜÂë:<input type="password" placeholder="ÇëÊäÈëÄúµÄÃÜÂë"><br><br>
ÐÔ±ð:<input type="radio" name="sex" checked>ÄÐ
<input type="radio" name="sex">Å®<br><br>
°®ºÃ:<input type="checkbox" checked>ÇôúÂë
<input type="checkbox" checked>°¾Ò¹
<input type="checkbox">µôÍ··¢<br><br>
<input type="file" multiple><br><br>
<input type="submit">
<input type="reset">
<input type="button" value="ÆÕͨ°´Å¥">
êdzÆ:<input type="text" placeholder="ÇëÊäÈëÄúµÄêdzÆ"><br><br>
<button type="submit">buttonÌá½»°´Å¥</button>
<button type="reset">buttonÖØÖð´Å¥</button>
<button type="button">buttonÆÕͨ°´Å¥</button>
</form>
button±êÇ©
ÔÚÍøÒ³ÖÐÏÔʾÓû§µã»÷µÄ°´Å¥,ͬÉÏ,Ö»²»¹ýÉÏÃæµÄÊÇInputÖÐtypeÉèÖÃΪbutton¡£Õâ¸ö±êÇ©¾ÍÊÇbutton,±¾ÖÊÊÇÀàËÆµÄ,ËüÊÇË«±êÇ©¡£Õâ¸ö±êÇ©¸ü±ãÓÚ°ü¹üÆäËûÄÚÈÝ,±ÈÈçͼƬºÍÎÄ×Ö
selectÏÂÀ²Ëµ¥
ÔÚÍøÒ³ÖÐÌṩ¶à¸öÑ¡ÔñÏîµÄÏÂÀ²Ëµ¥±íµ¥¿Ø¼þ,ÓÉselect±êÇ©ºÍoption±êÇ©×é³É¡£selectedÊôÐÔ±íʾÏÂÀ²Ëµ¥µÄĬÈÏÑ¡ÖÐ
ËùÔÚ³ÇÊÐ:<select>
<option>ÉϺ£</option>
<option selected>±±¾©</option>
<option>¹ãÖÝ</option>
<option>ÉîÛÚ</option>
</select>
textarea±êÇ©
ÔÚÍøÒ³ÖÐÌṩ¿ÉÊäÈë¶àÐÐÎı¾µÄ±íµ¥¿Ø¼þ cols¹æ¶¨ÁËÎı¾ÓòÄڿɼû¿í¶È,rows¹æ¶¨ÁËÎı¾ÓòÄڿɼûÐÐÊý
label±êÇ©
³£ÓÃÓë°ó¶¨ÄÚÈÝÓë±íµ¥±êÇ©µÄ¹ØÏµ,ÔÚºóÃæµÄ¿ª·¢Öлᾳ£Óõ½¡£ÓÐÁ½ÖÖʹÓ÷½·¨ÈçÏÂ:
- ʹÓÃlabel±êÇ©°ÑÄÚÈÝ(Èç:Îı¾)°ü¹üÆðÀ´
- ÔÚ±íµ¥±êÇ©ÉÏÌí¼ÓidÊôÐÔ
- ÔÚlabel±êÇ©µÄforÊôÐÔÖÐÉèÖöÔÓ¦µÄidÊôÐÔֵʹÓ÷½·¨
- Ö±½ÓʹÓÃlabel±êÇ©°ÑÄÚÈÝ(Èç:Îı¾)ºÍ±íµ¥±êǩһÆð°ü¹üÆðÀ´
- ÐèÒª°Ñlabel±êÇ©µÄforÊôÐÔɾ³ý¼´¿É
HTML¸ñʽ»¯
Îı¾¸ñʽ»¯±êÇ©
| ±êÇ© | ÃèÊö | Àý×Ó |
|---|
| <b> | ¶¨Òå´ÖÌåÎı¾ | ÎÄ×Ö | | <em> | ¶¨Òå×ÅÖØÎÄ×Ö | Îı¾ | | <i> | ¶¨ÒåбÌå×Ö | Îı¾ | | <small> | ¶¨ÒåСºÅ×Ö | Îı¾ | | <strong> | ¶¨Òå¼ÓÖØÓïÆø | Îı¾ | | <sub> | ¶¨Òåϱê×Ö | Îı¾Îı¾ | | <sup> | ¶¨ÒåÉϱê×Ö | Îı¾Îı¾ | | <ins> | ¶¨Òå²åÈë×Ö | ²åÈë | | <del> | ¶¨Òåɾ³ý×Ö | Îı¾ |
| ±êÇ© | ÃèÊö |
|---|
| <code> | ¶¨Ò弯Ëã»ú´úÂë | | <kbd> | ¶¨Òå¼üÅÌÂë | | <samp> | ¶¨Ò弯Ëã»ú´úÂëÑù±¾ | | <var> | ¶¨Òå±äÁ¿ | | <pre> | ¶¨ÒåÔ¤¸ñʽÎı¾ |
- HTML ÒýÎÄ, ÒýÓÃ, ¼°±êÇ©¶¨Òå
| ±êÇ© | ÃèÊö |
|---|
| <abbr> | ¶¨ÒåËõд | | <address> | ¶¨Ò嵨ַ | | <bdo> | ¶¨ÒåÎÄ×Ö·½Ïò | | <blockquote> | ¶¨Ò峤µÄÒýÓà | | <q> | ¶¨Òå¶ÌµÄÒýÓÃÓï | | <cite> | ¶¨ÒåÒýÓá¢ÒýÖ¤ | | <dfn> | ¶¨ÒåÒ»¸ö¶¨ÒåÏîÄ¿ |
ÓïÒ廯±êÇ©
ÔÚHTML5а汾ÖÐ,ÍÆ³öÁËһЩÓÐÓïÒåµÄ²¼¾Ö±êÇ©¹©¿ª·¢ÕßʹÓÃ
| ±êÇ©Ãû | ÒâÒå |
|---|
| header | ÍøÒ³Í·²¿ | | nav | ÍøÒ³µ¼º½ | | aside | ²à±ßÀ¸ | | main | ÔªËØÖеÄÄÚÈݶÔÓÚÎĵµÀ´ËµÓ¦µ±ÊÇΨһµÄ¡¢Èç²àÀ¸¡¢µ¼º½À¸¡¢°æÈ¨ÐÅÏ¢¡¢Õ¾µã±êÖ¾»òËÑË÷±íµ¥ | | section | Çø¿é | | article | ÎÄÕ | | footer | ҳβ |
 ÒÔÉϱêÇ©ÏÔÊ¾ÌØµãºÍdivÒ»ÖÂ,µ«ÊDZÈdiv¶àÁ˲»Í¬µÄÓïÒå,ÓïÒå»¯Ê¹ÍøÒ³½á¹¹¸ü¼ÓÇåÎú/ʹÓøüÉÙµÄjs¡¢css,¸ü¼ÓÓÐÀûÓÚSEOÒýÇæÓÅ»¯¡£
×Ö·ûʵÌå
¿Õ¸ñºÏ²¢ÏÖÏó,Èç¹ûÔÚhtml´úÂëÖÐͬʱ²¢ÁгöÏÖ¶à¸ö¿Õ¸ñ¡¢»»ÐС¢Ëõ½øµÈ,×îÖÕä¯ÀÀÆ÷Ö»»á½âÎö³öÒ»¸ö¿Õ¸ñ ³£¼û×Ö·ûʵÌå,ǰÆÚ½ö×÷ΪÁ˽⼴¿É¡£
| ÏÔʾ½á¹û | ÃèÊö | ʵÌåÃû³Æ | ʵÌå±àºÅ |
|---|
| ¿Õ¸ñ | |   | | < | СÓںŠ| < | < | | > | ´óÓںŠ| > | > | | & | ºÍºÅ | & | & | | " | ÒýºÅ | " | " | | ¡¯ | ƲºÅ | ' | (IE²»Ö§³Ö)' | | ¢ | ·Ö(cent) | ¢ | ¢ | | ¡ê | °÷(pound) | £ | £ | | £¤ | Ôª(yen) | ¥ | ¥ | | € | Å·Ôª(euro) | € | € | | ¡ì | С½Ú | § | § | | ? | °æÈ¨(copyright) | © | © | | ? | ×¢²áÉ̱ê | ® | ® | | \? | É̱ê | ™ | ™ | | ¡Á | ³ËºÅ | × | × | | ¡Â | ³ýºÅ | ÷ | ÷ |
ÐÐÄÚÔªËØºÍ¿é¼¶ÔªËØ
ÐÐÄÚÔªËØ
Ò»¸öÐÐÄÚÔªËØÖ»Õ¼¾ÝËü¶ÔÓ¦±êÇ©µÄ±ß¿òËù°üº¬µÄ¿Õ¼ä¡£Ö»ÄÜÈÝÄÉÎı¾»òÕ߯äËûÄÚÁªÔªËØ¡£ ÌØµã:
- ºÍÆäËûÔªËØ¶¼ÔÚͬһÐÐ,²»»á×Ô¶¯»»ÐÐ,ˮƽ·½ÏòÒÀ´ÎÅÅÁÐ;
- ¸ß,Ðи߼°Íâ±ß¾àºÍÄڱ߾಻¿É¸Ä±ä;
- ¿í¶È¾ÍÊÇËüµÄÎÄ×ÖºÍͼƬµÄ¿í¶È,²»¿É¸Ä±ä;
- ÄÚÁªÔªËØÖ»ÄÜÈÝÄÉ
Îı¾»òÕ߯äËûÄÚÁªÔªËØ¡£ - ¾ÙÀý:
a¡¢b¡¢br¡¢i¡¢span¡¢small¡¢big¡¢sub¡¢sup Ò»°ãÐÐÄÚÔªËØ²»ÄÜÉèÖÿí¸ß,µ«²¢²»ÊÇËùÓеÄÐÐÄÚÔªËØ¶¼²»ÄÜÉèÖÿí¸ß,Ìæ»»ÔªËؾͿÉÒÔ¡£ Ìæ»»ÔªËØ:ä¯ÀÀÆ÷¸ù¾ÝÔªËØµÄ±êÇ©ºÍÊôÐÔÀ´¾ö¶¨ÔªËصĵľßÌåÏÔʾÄÚÈÝ¡£HTMLÖеÄimg¡¢input¡¢textarea¡¢select¡¢object¶¼ÊÇÌæ»»ÔªËØ
¿é¼¶ÔªËØ
¿é¼¶ÔªËØÕ¼¾ÝÆä¸¸ÔªËØ(ÈÝÆ÷)µÄÕû¸ö¿Õ¼ä,Òò´Ë´´½¨ÁËÒ»¸ö¡°¿é¡±¡£Í¨³£ä¯ÀÀÆ÷»áÔÚ¿é¼¶ÔªËØÇ°ºóÁíÆðÒ»ÐС£ÄÜÈÝÄÉÆäËû¿éÔªËØ»òÕßÄÚÁªÔªËØ¡£ ÌØµã:
- ×ÜÊÇÔÚÐÂÐÐÉÏ¿ªÊ¼,¿ÉÒÔ×Ô¶¯»»ÐÐ,´¹Ö±·½ÏòÒÀ´ÎÅÅÁÐ;
- ¸ß¶È¡¢ÐиßÒÔ¼°Íâ±ß¾àºÍÄڱ߾඼¿É¿ØÖÆ;
- ¿í¶ÈĬÈÏÊÇËüÈÝÆ÷µÄ
100%,³ý·ÇÉ趨һ¸ö¿í¶È; - Ëû¿ÉÒÔÈÝÄÉ
ÄÚÁªÔªËØºÍÆäËû¿éÔªËØ¡£ - ¾ÙÀý:
div¡¢h1-h6¡¢p¡¢ol¡¢ul¡¢li
|