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:
¹ØÓÚ±í¸ñµÄһЩ¼¼
Ïà¹ØÎĵµ£º
ÏÖÔÚ×ö Code Manager .SWT µÄ¹ý³ÌÖв»¿É±ÜÃâµÄÓöµ½ÁËÐèҪץ´æÍøÒ³ÒÔ¼°ÍøÒ³ÄÚǶµÄһЩ×ÊÔ´µÄÎÊÌâ.
ÏÖÔÚ
MHT Éú³ÉÒѾ²»³ÉÎÊÌâ, µ«ÊÇÈçºÎ̽²âÔ´Îļþ±àÂëÒÔ¼°°Ñ MHT ½âѹËõ(µ¼³ö)Ϊ¿ÉÒÔä¯ÀÀµÄ HTML Îļþ(º¬Í¼Æ¬µÈ)ÊǸö´óÎÊÌâ,
ÒÔ¼°Óû§¿ÉÊÓ»¯±à¼Ò³ÃæºóÖØб£´æΪ MHT µÄÎÊÌâ. Java µÄ MHT ´¦Àí¼¼ÊõÄ¿Ç°ÊÇÓÐÒ»¼ÒÃÀ¹ú¹«Ë¾ÔÚ ......
<html>
<script language="javascript" defer>
function isvalid()
{
Input_Str=document.getElementById("tsinput").value;
document.getElementById("ts").innerHTML=Input_Str;
if(Input_Str!=document.getElementById("ts").innerText)
alert("include Html Element... ......
ÍøÕ¾ÓÅ»¯
³£ÓõÄHTML±êÇ©:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<body>
<h1>H1±êÇ©£¬¶¨ÒåÎÄÕ±êÌ⣬һ¸öÒ³ÃæÖ»ÒªÒ»¸ö</h1>
<h2>H2±êÇ©£¬¶¨ÒåÎÄÕ±êÌ⣬һ¸öÒ³ÃæÖ»ÒªÒ ......