³£ÓÃHTML´úÂëËÙ²é±í
±ê¼Ç»ò²ÎÊý
¶¨ Òå
<A>
Á¬½á±ê¼Ç
<ADDRESS>
µØÖ·±ê¼Ç£¨Ð±ÌåЧ¹û£©
<AREA>
Á¬½áÇøÓò±ê¼Ç£¨É趨¸÷Á¬½áÇøÓò£©
alink
µã»÷Á¬½áʱµÄÑùʽ¡£Àý£ºalink="#FF0000"
align
ˮƽ·½Ïò°Ú·ÅλÖá£Àý£ºalign="center"
alternate
À´»Ø×߶¯£¬Àý£ºbehavior=alternate
alt
ÔÚÁ¬½áÖвåÈëÎÄ×Ö˵Ã÷¡£Àý£ºalt="ÂÌÒ¶Ô°"
<B>
×ÖÌå¼Ó´Ö±ê¼Ç£¨²úÉú×ÖÌå¼Ó´ÖµÄЧ¹û£©
<BODY>
ÕýÎıê¼Ç£¨Éè¼ÆÎļþ¸ñʽ¼°ÄÚÎÄËùÔÚ£©
<BR>
»»Ðбê¼Ç£¨ÁîÎÄ×Ö¡¢Í¼Æ¬µÈÏÔʾÔÚÏÂÒ»ÐУ©
<BIG>
×ÖÌå¼Ó´ó±ê¼Ç£¨Áî×ÖÌåÉÔΪ¼Ó´ó£©
<BLINK>
ÉÁ˸ÎÄ×Ö±ê¼Ç£¨ÁîÎÄ×Ö²úÉúÉÁ˸Ч¹û£©
<BGSOUND>
±³¾°ÉùÒô±ê¼Ç£¨ÓÚ±³¾°²¥·ÅÉùÒô»òÒôÀÖ£©
<BASE>
Á¬½á»ù×¼±ê¼Ç£¨¿É½«ÍøÒ³ÖÐËùÓеÄÏà¶Ô·¾¶×ª»»³É¾ø¶Ô·¾¶£©
<BASEFONT>
»ù×¼×ÖÐαê¼Ç£¨É趨ËùÓÐ×ÖµÄ×ÖÐΡ¢´óС¡¢ÑÕÉ«£©
<BLOCKQUOTE>
ÒýÊöÎÄ×ÖÇø¿é¡¢ÁîÎÄ×ÖÔÚ±í¸ñµÄÉÏÏÂ×óÓÒÁôÓÐÒ»¶¨µÄ¿Õ¼ä
background
±³¾°Ç½Ö½¡£Àý£ºbackground=01.JPG
bgcolor
±³¾°ÑÕÉ«¡£Àý£ºbgcolor="#ff0000"
bgproperties
¹Ì¶¨±³¾°Ç½Ö½¡£Àý£ºbgproperties="fixed"
border
±ß¿ò¡£Àý£ºborder=10
bordercolor
±ß¿òÑÕÉ«¡£Àý£ºbordercolor="#000080"
bordercolorlight
±ß¿òÏò¹â²¿·ÖµÄÑÕÉ«¡£Àý£ºbordercolorlight="#000000"
bordercolordark
±ß¿ò±³¹â²¿·ÖµÄÑÕÉ«¡£Àý£ºbordercolordark="#ffffff"
bottom
ÖÃÓڵ׶ˡ£Àý£ºvalign="bottom"
behavior
¾í¶¯·½Ê½¡£Àý£ºbehavior=alternate
_blank
±íʾÁ¬½áµÄÄ¿±êµØÖ·ÔÚн¨´°¿ÚÖдò¿ª¡£Àý£ºtarget=_blank
<CENTER>
¾ÓÖбê¼Ç£¨ÁîÎÄ×Ö¡¢Í¼Æ¬¡¢±í¸ñµÈÏÔʾÓÚÖм䣩
<CAPTION>
±í¸ñ±êÌ⣨×ö³ÉÒ»´òͨÁÐÒÔÌîÈë±í¸ñ±êÌ⣩
<CODE>
³ÌʽÂ루×ÖÌåÉÔΪ¼Ó¿íÈ磩
<CITE>
ÒýÊö£¨Ð±ÌåЧ¹û£©
colspan
¸Ãµ¥Ôª¸ñÏòÓÒ´òͨ¡£Àý£ºcolspan="5"
color
ÑÕÉ«¡£Àý£ºcolor="#00FF00"
cellspacing
µ¥Ôª¸ñ¼ä¾à¡£Àý£ºcellspacing="5"
cellpadding
µ¥Ôª¸ñ³Ä¾à¡£Àý£ºcellpadding="10"
<DIV>
ÇøÓò±ê¼Ç
<DFN>
ÊöÓﶨÒå±ê¼Ç£¨Ð±ÌåЧ¹û£©
<DIR>
Ŀ¼Çåµ¥±ê¼Ç£¨Çåµ¥ÏîÄ¿½«ÒÔÔ²µãÅÅÁУ¬Èç<UL>£©
<DL>
¶¨ÒåÇåµ¥±ê¼Ç£¨Çåµ¥·ÖÁ½²ã³öÏÖ£©
<DT>
¶¨ÒåÌõÄ¿±ê¼Ç£¨±êʾ¸ÃÏÒåµÄ±êÌ⣩
<DD>
¶¨ÒåÄÚÈݱê¼Ç£¨±êʾ¶¨ÒåÄÚÈÝ£©
direction
Ïà¹ØÎĵµ£º
±ê Ìâ: ¡¾·Òë¡¿¹ýÄêÁË£¬Ï×ÉÏСÀñ - ʹÓô¿CÔÚ×Ô¼ºµÄ´°¿ÚÖÐǶÈëHTML¿Ø¼þ
×÷ Õß: xiep
ʱ ¼ä: 2010-01-22,13:42:29
Á´ ½Ó: http://bbs.pediy.com/showthread.php?t=105702
Ç°¶Îʱ¼äÒòΪÏîÄ¿ÐèÒª£¬ËùÒÔ·ÒëÁËÕâƪ£¬Ï£Íû¶ÔijЩÈËÓÐÓá£ÓÉÓÚʱ¼ä²Ö´Ù£¬´íÎóÖ®´¦ÔÚËùÄÑÃ⣬Çë²»ÁßÖ¸³ö¡£
Áí£ºbrowser libΪÎÒ¸ÄдµÄÒ»¸ö¾ ......
asp.net »ñÈ¡html¿Ø¼þµÄÖµµÄ´úÂëÈçÏ£º
WebForm1.aspx£º
< INPUT ID="TXT" TYPE="TEXT" RUNAT="SERVER" VALUE="AAAAAA">
< INPUT TYPE="BUTTON" RUNAT="SERVER" VALUE="BTNTEST" ID="BUTTON1"&nb ......
¶¨ÒåºÍÓ÷¨
<!DOCTYPE> ÉùÃ÷λÓÚÎĵµÖеÄ×îÇ°ÃæµÄλÖ㬴¦ÓÚ <html> ±êǩ֮ǰ¡£´Ë±êÇ©¿É¸æÖªä¯ÀÀÆ÷ÎĵµÊ¹ÓÃÄÄÖÖ HTML »ò XHTML ¹æ·¶¡£
¸Ã±êÇ©¿ÉÉùÃ÷ÈýÖÖ DTD ÀàÐÍ£¬·Ö±ð±íʾÑϸñ°æ±¾¡¢¹ý¶É°æ±¾ÒÔ¼°»ùÓÚ¿ò¼ÜµÄ HTML Îĵµ¡£
ÒÔÏÂÃæÕâ¸ö <!DOCTYPE> ±êǩΪÀý£º
<!DOCTYPE html
PUBLIC "-//W3C//DT ......
ÈçºÎ±íʾÉϼ¶Ä¿Â¼
../±íʾԴÎļþËùÔÚĿ¼µÄÉÏÒ»¼¶Ä¿Â¼£¬../../±íʾԴÎļþËùÔÚĿ¼µÄÉÏÉϼ¶Ä¿Â¼£¬ÒÔ´ËÀàÍÆ¡£
¼ÙÉèinfo.html·¾¶ÊÇ£ºc:\Inetpub\wwwroot\sites\blabla\info.html
¼ÙÉèindex.html·¾¶ÊÇ£ºc:\Inetpub\wwwroot\sites\index.html
ÔÚinfo.html¼ÓÈëindex.html³¬Á´½ÓµÄ´úÂëÓ¦¸ÃÕâÑùд£º
<a href = "../i ......
1.·ÀֹͼƬ±»ÏÂÔغ͵ÁÓõķ½·¨£º
£¨1£©<div>ǶÌ×<img>ÉèÖÃ<div>µÄ±³¾°Í¼Æ¬ÎªÊµ¼ÊͼƬ£¬<img>°üº¬µÄͼƬÊÇÒ»ÕÅ͸Ã÷ͼƬ£¬Á½ÕÅͼƬµÄ³ß´çÏàͬ¡£¼´Ï൱ÓÚÔÚÕæʵͼƬÉÏÌí¼ÓÁËÒ»²ã±£»¤Ä¤£¬ÕâÕű£»¤Ä¤¾ÍÊÇ͸Ã÷ͼƬ¡£ÕâÑùµ±Óû§Ñ¡Ôñ“ͼƬÁí´æΪ”ʱ£¬½«±£´æµÄÊÇ͸Ã÷ͼƬ£¬¶ø²»ÊÇʵ¼Êͼ ......