html±í¸ñ±ê¼Ç
HTMLÓÐ10¸ö±í¸ñÏà¹Ø±êÇ©¡£ÏÂÃæÊÇÒ»¸ö´øÓмò½éµÄÁÐ±í£¬µ«ÊÇÊ×ÏÈ£¬ÎĵµÒª±»ÕýÈ·µÄ¶¨ÒåÔÚHTML 4.01/XHTML 1»òHTML 5ÏÂÃæ:
<caption> ¶¨Òå±í¸ñ±êÌâ(4, 5)
<col> Ϊ±í¸ñµÄÁж¨ÒåÊôÐÔ(4, 5)
<colgroup> ¶¨Òå±í¸ñÁеķÖ×é(4, 5)
<table> ¶¨Òå±í¸ñ(4, 5)
<tbody> ¶¨Òå±í¸ñÖ÷Ìå(4, 5)
<td> ¶¨ÒåÒ»¸öµ¥Ôª¸ñ (4, 5)
<tfoot> ¶¨Òå±í¸ñµÄ±í×¢(µ×²¿)(4, 5)
<th> ¶¨Òå±í¸ñµÄ±íÍ· (4, 5)
<thead> ¶¨Òå±í¸ñµÄ±íÍ·(4, 5)
<tr> ¶¨Òå±í¸ñµÄÐÐ(4, 5)
Ò»¸ö»ù±¾µÄ±í¸ñ½á¹¹Èçͼ1:
Ëü°üº¬Ò»¸ö±êÌ⡢ͷ²¿¡¢Ö÷ÌåºÍµ×²¿¡£ÕýÈ·µÄHTMLÔªËØ˳ÐòÊÇ£º
<table>
<caption>
<thead>
<tfoot>
<tbody>
ÄãÒ²¿ÉÒÔʹÓÃ<col> ºÍ<colgroup> À´¶¨Òå±í¸ñµÄÁлòΪÁзÖ×飺
<table>
<caption>
<colgroup>
<col>
<thead>
<tfoot>
<tbody>
ÏÂÃæÊÇÒ»¸öÕýÈ·µÄ±í¸ñ½á¹¹ÊµÀý£º
<table border="1">
<caption>Table caption here</caption>
<colgroup span="1" style="background:#DEDEDE;"/>
<colgroup span="2" style="background:#EFEFEF;"/>
<!-- Table Header-->
<thead>
<tr>
<th>Head 1</th>
<th>Head 2</th>
<th>Head 3</th>
</tr>
</thead>
<!-- Table Footer-->
<tfoot>
<tr>
<td>Foot 1</td>
<td>Foot 2</td>
<td>Foot 3</td>
</tr>
</tfoot>
<!-- Table Body-->
<tbody>
<tr>
<td>A</td>
<td>B</td>
<td>C</td>
</tr>
<tr>
<td>D</td>
<td>E</td>
<td>F</td>
</tr>
</tbody>
</table>ÔÚä¯ÀÀÆ÷ÖеĽá¹ûÈçͼ2:
¹ØÓÚ±í¸ñµÄһЩ¼¼
Ïà¹ØÎĵµ£º
HTMLÖÐʹÓÃinput type="file"ÉÏ´«Îļþʱ£¬´úÂëÖÐÖ»Äܵõ½ÎļþµÄÃû³Æ£¬¶øÓÐЩÌØÊâµÄÐèÒªÒªÇóÎÒÃDZØÐëµÃµ½ÉÏ´«ÎļþµÄ¾ø¶Ô·¾¶£¬Îª´ËÎÒÃDzÉÓÃJavascriptʵÏֵõ½ÎļþµÄ¾ø¶Ô·¾¶¡£
¾ßÌåÈçÏ¡£
Ò³Ãæ´úÂ루ֻճÌùÁ˹ؼü´úÂ룩£º
<form name="thisform" method="post"
action="<%=request.getContextPath()%>/movi ......
Window ¶ÔÏó
Window ¶ÔÏóÊÇ JavaScript ²ã¼¶ÖеĶ¥²ã¶ÔÏó¡£
Window ¶ÔÏó´ú±íÒ»¸öä¯ÀÀÆ÷´°¿Ú»òÒ»¸ö¿ò¼Ü¡£
Window ¶ÔÏó»áÔÚ <body> »ò <frameset> ÿ´Î³öÏÖʱ±»×Ô¶¯´´½¨¡£
ÓÐ¹Ø Window ¶ÔÏóµÄÏêϸÃèÊö¡£
IE: Internet Explorer, F: Firefox, O: Opera.
Window ¶ÔÏóµÄ¼¯ºÏ
CollectionDescriptionIEFO
fr ......
HTML³£Ó÷ûºÅ£º
ÏÔʾһ¸ö¿Õ¸ñ  
< СÓÚ < <
> ´óÓÚ > >
& &·ûºÅ & &
" Ë«ÒýºÅ " "
ÆäËû³£ÓõÄ×Ö·ûʵÌå(Character Entities)
ÏÔʾ½á¹û ˵Ã÷ Entity Name Entity Number
? °æȨ © ©
? ×¢²áÉ̱ ......
¿ÉÒÔ˵¼¸ºõÿ¸ö×ö¹ýWeb¿ª·¢µÄÈ˶¼Îʹý£¬µ½µ×ÔªËصÄIDºÍNameÓÐʲôÇø±ð°¢£¿ÎªÊ²Ã´ÓÐÁËID»¹ÒªÓÐNameÄØ?! ¶øͬÑùÎÒÃÇÒ²¿ÉÒԵõ½×îclassicalµÄ´ð°¸£ºID¾ÍÏñÊÇÒ»¸öÈ˵ÄÉí·ÝÖ¤ºÅÂ룬¶øName¾ÍÏñÊÇËûµÄÃû×Ö£¬IDÏÔÈ»ÊÇΨһµÄ£¬¶øNameÊÇ¿ÉÒÔÖظ´µÄ¡£
ÉÏÖÜÎÒÒ²Óöµ½ÁËIDºÍNameµÄÎÊÌ⣬ÔÚÒ³ÃæÀïÊä ......
Æäʵ¾ÍÊÇ´´½¨ÆÕͨÎļþ, CreateFile() ºÍWriteFile. È»ºóÓÃShellExcuteEx()À´´ò¿ª¾ÍÐÐÁË(»á×Ô¶¯µ÷ÓÃIE).
HANDLE handle;
handle=CreateFile(L"\\windows\\google.html",GENERIC_WRITE,0,NULL,CREATE_ALWAYS,FILE_ATTRIBUTE_NORMAL,NULL);
if(INVALID_HANDLE_VALUE!= handle )
{
DWORD Num;
::WriteF ......