\n\n\n\n\n\n\n\n\n\n\n\n\n;一旦 就被標(biāo)記完成:\n

代碼:<\/strong><\/p>\n

\n\n\nHTML tfoot Tag<\/title>\n<style>\ntable{\nborder-collapse: collapse;\n}\nthead,tfoot{\nbackground-color:darkgoldenrod;\ncolor:white;\npadding:5px;\n}\ntbody{\nbackground-color:azure;\npadding:5px;\n}\n<\/style>\n<\/head>\n<body>
<h1><a href="http://www.miracleart.cn/">国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂</a></h1>\n<h4>tfoot in HTML<\/h4>\n<table border=\"1\" >\n<thead>\n<tr>\n<th>Subject<\/th>\n<th>Marks<\/th>\n<th>Grades<\/th>\n<\/tr>\n<\/thead>\n<tfoot>\n<tr>\n<th>Total Marks<\/th>\n<th>647<\/th>\n<th>A+ <\/th>\n<\/tr>\n<\/tfoot>\n<tbody>\n<tr>\n<td>English<\/td>\n<td>90<\/td>\n<td>A+<\/td>\n<\/tr>\n<tr>\n<td>Math<\/td>\n<td>85<\/td>\n<td>A<\/td>\n<\/tr>\n<tr>\n<td>Science<\/td>\n<td>80<\/td>\n<td>A<\/td>\n<\/tr>\n<tr>\n<td>History<\/td>\n<td>75<\/td>\n<td>B<\/td>\n<\/tr>\n<tr>\n<td>Social Science<\/td>\n<td>75<\/td>\n<td>B<\/td>\n<\/tr>\n<tr>\n<td>History<\/td>\n<td>72<\/td>\n<td>B<\/td>\n<\/tr>\n<tr>\n<td>Geography<\/td>\n<td>95<\/td>\n<td>A+<\/td>\n<\/tr>\n<tr>\n<td>Biology<\/td>\n<td>75<\/td>\n<td>B<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/body>\n<\/html><\/pre>\n<p><strong>輸出:<\/strong><\/p>\n<p><img  src=\"https:\/\/img.php.cn\/upload\/article\/000\/000\/000\/172543874271738.png\" alt=\"HTML 中的 tfoot\" ><\/p>\n<h4>Example #3<\/h4>\n<p>General Example on tfoot tag.<\/p>\n<p><strong>Code:<\/strong><\/p>\n<pre><!DOCTYPE html>\n<title>tfoot tag<\/title>\n<style>\ntable, td, th {\nborder: 1px solid black;\npadding: 3px;\ntext-align: center;\n}\ntable {\nbackground-color:lightgray;\n}\n<\/style>\n<table>\n<thead>\n<tr><th>Department<\/th><th>Number of People<\/th><\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Principle<\/td>\n<td>1<\/td>\n<\/tr>\n<tr>\n<td>Supervisor<\/td>\n<td> 4 <\/td>\n<\/tr>\n<tr>\n<td>Teaching staff<\/td>\n<td>200<\/td>\n<\/tr>\n<tr>\n<td>Non-Teaching staff<\/td>\n<td>20<\/td>\n<\/tr>\n<tr>\n<td>Peon<\/td>\n<td>15<\/td>\n<\/tr>\n<\/tbody>\n<tfoot>\n<tr><th>Total People<\/th><th>236<\/th><\/tr>\n<\/tfoot><\/table><\/html><\/pre>\n<p><strong>Output:<\/strong><\/p>\n<p><img  src=\"https:\/\/img.php.cn\/upload\/article\/000\/000\/000\/172543874454567.png\" alt=\"HTML 中的 tfoot\" ><\/p>\n<h3>Conclusion<\/h3>\n<p>From all the above information, we can say that <tfoot> is one of the important tags in the table, which helps to display the table summary at the bottom of the table. It’s always necessary to put <tfoot> tag at <tbody> ends, so it will help the browser to render the table footer correctly.<\/p>\n<\/thead>\n<\/tfoot>\n<\/tfoot>\n<\/tfoot>\n<\/tfoot>\n<\/tfoot>\n<\/tfoot>\n<\/tfoot>\n<\/tfoot>\n<\/tfoot>\n<\/tfoot>\n<\/tfoot>\n<\/tfoot>\n<\/tfoot>"}	</script>
	
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<script>var V_PATH="/";window.onerror=function(){ return true; };</script>
</head>

<body data-commit-time="2023-12-28T14:50:12+08:00" class="editor_body body2_2">
	<link rel="stylesheet" type="text/css" href="/static/csshw/stylehw.css">
<header>
    <div   id="377j5v51b"   class="head">
        <div   id="377j5v51b"   class="haed_left">
            <div   id="377j5v51b"   class="haed_logo">
                <a href="http://www.miracleart.cn/zh/" title="" class="haed_logo_a">
                    <img src="/static/imghw/logo.png" alt="" class="haed_logoimg">
                </a>
            </div>
            <div   id="377j5v51b"   class="head_nav">
                <div   id="377j5v51b"   class="head_navs">
                    <a href="javascript:;" title="社區(qū)" class="head_nava head_nava-template1">社區(qū)</a>
                    <div   class="377j5v51b"   id="dropdown-template1" style="display: none;">
                        <div   id="377j5v51b"   class="languagechoose">
                            <a href="http://www.miracleart.cn/zh/article.html" title="文章" class="languagechoosea on">文章</a>
                            <a href="http://www.miracleart.cn/zh/faq/zt" title="合集" class="languagechoosea">合集</a>
                            <a href="http://www.miracleart.cn/zh/wenda.html" title="問答" class="languagechoosea">問答</a>
                        </div>
                    </div>
                </div>

                <div   id="377j5v51b"   class="head_navs">
                    <a href="javascript:;" title="學(xué)習(xí)" class="head_nava head_nava-template1_1">學(xué)習(xí)</a>
                    <div   class="377j5v51b"   id="dropdown-template1_1" style="display: none;">
                        <div   id="377j5v51b"   class="languagechoose">
                            <a href="http://www.miracleart.cn/zh/course.html" title="課程" class="languagechoosea on">課程</a>
                            <a href="http://www.miracleart.cn/zh/dic/" title="編程詞典" class="languagechoosea">編程詞典</a>
                        </div>
                    </div>
                </div>

                <div   id="377j5v51b"   class="head_navs">
                    <a href="javascript:;" title="工具庫" class="head_nava head_nava-template1_2">工具庫</a>
                    <div   class="377j5v51b"   id="dropdown-template1_2" style="display: none;">
                        <div   id="377j5v51b"   class="languagechoose">
                            <a href="http://www.miracleart.cn/zh/toolset/development-tools" title="開發(fā)工具" class="languagechoosea on">開發(fā)工具</a>
                            <a href="http://www.miracleart.cn/zh/toolset/website-source-code" title="網(wǎng)站源碼" class="languagechoosea">網(wǎng)站源碼</a>
                            <a href="http://www.miracleart.cn/zh/toolset/php-libraries" title="PHP 庫" class="languagechoosea">PHP 庫</a>
                            <a href="http://www.miracleart.cn/zh/toolset/js-special-effects" title="JS特效" class="languagechoosea on">JS特效</a>
                            <a href="http://www.miracleart.cn/zh/toolset/website-materials" title="網(wǎng)站素材" class="languagechoosea on">網(wǎng)站素材</a>
                            <a href="http://www.miracleart.cn/zh/toolset/extension-plug-ins" title="擴(kuò)展插件" class="languagechoosea on">擴(kuò)展插件</a>
                        </div>
                    </div>
                </div>

                <div   id="377j5v51b"   class="head_navs">
                    <a href="http://www.miracleart.cn/zh/ai" title="AI工具" class="head_nava head_nava-template1_3">AI工具</a>
                </div>

                <div   id="377j5v51b"   class="head_navs">
                    <a href="javascript:;" title="休閑" class="head_nava head_nava-template1_3">休閑</a>
                    <div   class="377j5v51b"   id="dropdown-template1_3" style="display: none;">
                        <div   id="377j5v51b"   class="languagechoose">
                            <a href="http://www.miracleart.cn/zh/game" title="游戲下載" class="languagechoosea on">游戲下載</a>
                            <a href="http://www.miracleart.cn/zh/mobile-game-tutorial/" title="游戲教程" class="languagechoosea">游戲教程</a>

                        </div>
                    </div>
                </div>
            </div>
        </div>
                    <div   id="377j5v51b"   class="head_search">
                <input id="key_words"  onkeydown="if (event.keyCode == 13) searchs('zh')" class="search-input" type="text" autocomplete="off" name="keywords" required="required" placeholder="Block,address,transaction,news" value="">
                <a href="javascript:;" title="搜索"  onclick="searchs('zh')"><img src="/static/imghw/find.png" alt="搜索"></a>
            </div>
                <div   id="377j5v51b"   class="head_right">
            <div   id="377j5v51b"   class="haed_language">
                <a href="javascript:;" class="layui-btn haed_language_btn">簡體中文<i class="layui-icon layui-icon-triangle-d"></i></a>
                <div   class="377j5v51b"   id="dropdown-template" style="display: none;">
                    <div   id="377j5v51b"   class="languagechoose">
                                                <a href="javascript:;" title="簡體中文" class="languagechoosea">簡體中文</a>
                                                <a href="javascript:setlang('en');" title="English" class="languagechoosea">English</a>
                                                <a href="javascript:setlang('zh-tw');" title="繁體中文" class="languagechoosea">繁體中文</a>
                                                <a href="javascript:setlang('ja');" title="日本語" class="languagechoosea">日本語</a>
                                                <a href="javascript:setlang('ko');" title="???" class="languagechoosea">???</a>
                                                <a href="javascript:setlang('ms');" title="Melayu" class="languagechoosea">Melayu</a>
                                                <a href="javascript:setlang('fr');" title="Fran?ais" class="languagechoosea">Fran?ais</a>
                                                <a href="javascript:setlang('de');" title="Deutsch" class="languagechoosea">Deutsch</a>
                                            </div>
                </div>
            </div>
            <span id="377j5v51b"    class="head_right_line"></span>
                            <div style="display: block;" id="login" class="haed_login ">
                    <a href="javascript:;"  title="Login" class="haed_logina ">Login</a>
                </div>
                <div style="display: block;" id="reg" class="head_signup login">
                    <a href="javascript:;"  title="singup" class="head_signupa">singup</a>
                </div>
            
        </div>
    </div>
</header>

	
	<main>
		<div   id="377j5v51b"   class="Article_Details_main">
			<div   id="377j5v51b"   class="Article_Details_main1">
							<div   id="377j5v51b"   class="Article_Details_main1L">
					<div   id="377j5v51b"   class="Article_Details_main1Lmain" id="Article_Details_main1Lmain">
						<div   id="377j5v51b"   class="Article_Details_main1L1">目錄</div>
						<div   id="377j5v51b"   class="Article_Details_main1L2" id="Article_Details_main1L2">
							<!-- 左側(cè)懸浮,文章定位標(biāo)題1 id="Article_Details_main1L2s_1"-->
															<div   id="377j5v51b"   class="Article_Details_main1L2s ">
									<a href="#HTML-如何在-tfoot-上工作" title="HTML 如何在 tfoot 上工作?" >HTML 如何在 tfoot 上工作?</a>
								</div>
																<div   id="377j5v51b"   class="Article_Details_main1L2s ">
									<a href="#HTML-中的-tfoot-示例" title="HTML 中的 tfoot 示例" >HTML 中的 tfoot 示例</a>
								</div>
																<div   id="377j5v51b"   class="Article_Details_main1L2s ">
									<a href="#示例" title="示例#2" >示例#2</a>
								</div>
																<div   id="377j5v51b"   class="Article_Details_main1L2s ">
									<a href="#strong-輸出-strong" title="<strong>輸出:</strong>" ><strong>輸出:</strong></a>
								</div>
																<div   id="377j5v51b"   class="Article_Details_main1L2s ">
									<a href="#Example" title="Example #3" >Example #3</a>
								</div>
																<div   id="377j5v51b"   class="Article_Details_main1L2s ">
									<a href="#Conclusion" title="Conclusion" >Conclusion</a>
								</div>
														</div>
					</div>
				</div>
							<div   id="377j5v51b"   class="Article_Details_main1M">
					<div   id="377j5v51b"   class="phpgenera_Details_mainL1">
						<a href="http://www.miracleart.cn/zh/" title="首頁"
							class="phpgenera_Details_mainL1a">首頁</a>
						<img src="/static/imghw/top_right.png" alt="" />
												<a href="http://www.miracleart.cn/zh/web-designer.html"
							class="phpgenera_Details_mainL1a">web前端</a>
						<img src="/static/imghw/top_right.png" alt="" />
												<a href="http://www.miracleart.cn/zh/div-tutorial.html"
							class="phpgenera_Details_mainL1a">html教程</a>
						<img src="/static/imghw/top_right.png" alt="" />
						<span>HTML 中的 tfoot</span>
					</div>
					
					<div   id="377j5v51b"   class="Articlelist_txts">
						<div   id="377j5v51b"   class="Articlelist_txts_info">
							<h1 class="Articlelist_txts_title">HTML 中的 tfoot</h1>
							<div   id="377j5v51b"   class="Articlelist_txts_info_head">
								<div   id="377j5v51b"   class="author_info">
									<a href="http://www.miracleart.cn/zh/member/164.html"  class="author_avatar">
									<img class="lazy"  data-src="https://img.php.cn/upload/avatar/000/000/164/59190898474f6485.png" src="/static/imghw/default1.png" alt="PHPz">
									</a>
									<div   id="377j5v51b"   class="author_detail">
																			<a href="http://www.miracleart.cn/zh/member/164.html" class="author_name">PHPz</a>
                                										</div>
								</div>
                			</div>
							<span id="377j5v51b"    class="Articlelist_txts_time">Sep 04, 2024 pm	 04:32 PM</span>
															<div   id="377j5v51b"   class="Articlelist_txts_infos">
																			<span id="377j5v51b"    class="Articlelist_txts_infoss on">html</span>
																			<span id="377j5v51b"    class="Articlelist_txts_infoss ">html5</span>
																			<span id="377j5v51b"    class="Articlelist_txts_infoss ">HTML Tutorial</span>
																			<span id="377j5v51b"    class="Articlelist_txts_infoss ">HTML Properties</span>
																			<span id="377j5v51b"    class="Articlelist_txts_infoss ">HTML tags</span>
																	</div>
														
						</div>
					</div>
					<hr />
					<div   id="377j5v51b"   class="article_main php-article">
						<div   id="377j5v51b"   class="article-list-left detail-content-wrap content">
						<ins class="adsbygoogle"
							style="display:block; text-align:center;"
							data-ad-layout="in-article"
							data-ad-format="fluid"
							data-ad-client="ca-pub-5902227090019525"
							data-ad-slot="3461856641">
						</ins>
						

					<p>眾所周知,HTML 中的 tfoot 使用稱為表格的元素來表示表格數(shù)據(jù)。它由諸如 </p>
<tr>、<td> 等元素組成。 、 其中</td>
</tr>
<tfoot>等。是表格中的重要元素之一,用于顯示表格列的摘要部分。













<p>;標(biāo)簽必須放置在 </p>
<caption>、</caption>
<thead>、<colgroup> 之后。表中的標(biāo)記??梢栽?</colgroup>
</thead>
</tfoot>
<tbody> 之前顯示此標(biāo)簽?;蛟?/tbody>
<tbody>之后或<tr>元素。每當(dāng)表格中有多個頁面可用時,這些元素可以幫助用戶將表格頁腳放在頁面底部并獨(dú)立滾動表格內(nèi)容。
<p><strong>語法</strong></p>


<p>定義 </p>
</tr>
</tbody>
<tfoot> 的語法標(biāo)簽如下:
<pre class="brush:php;toolbar:false"><table>
<thead>
<tr>….</tr>
</thead>
<tbody>
<tr>….</tr>
<tr>….</tr>
</tbody>
<tfoot>
<tr>
<td>….</td>
</tr>
</tfoot>
</table></pre>
<p>根據(jù)上述語法,</p>
<tfoot> 標(biāo)記內(nèi)包含的文本被視為表頁腳。<tfoot> 標(biāo)記可以包含一個或多個 <tr> 內(nèi)容。元素。
<p>; tag支持不同的屬性,我們一一看看:</p>
<p><strong>align:</strong> 此屬性有助于參考其內(nèi)容對齊文本。</p>
<p><strong>valign:</strong>這些屬性有助于將內(nèi)容對齊到其文本的垂直對齊方式。</p>
<p><strong>char:</strong>關(guān)于</p>
</tr>
<tfoot>的重要屬性之一標(biāo)簽用于將標(biāo)題單元格中的文本與其相關(guān)字符對齊。
<p><strong>Charoff</strong>:這是用于設(shè)置 char 屬性的一個更重要的屬性。這些類型的屬性以數(shù)字形式定義。</p>
<p>我們可以決定</p>
<tfoot>的位置通過定義諸如向左對齊、向單元格中心對齊、向單元格右側(cè)對齊之類的值來標(biāo)記標(biāo)簽,在文本內(nèi)容周圍插入或調(diào)整特定的 space0020,用于將文本內(nèi)容與具有最小偏移量的特殊字符對齊的字符等。
<p>此標(biāo)簽可以與不同的 CSS 屬性一起使用,如下所示:</p>
<p><strong>text-align:</strong>此屬性有助于在文本內(nèi)容的幫助下直接左對齊、右對齊、對齊或居中對齊頁腳文本。</p>
<p><strong>bgcolor:</strong>為了使表格單元格更具吸引力,此屬性幫助我們將顏色設(shè)置為列單元格的背景。</p>
<p><strong>font-style:</strong>可以給文本賦予樣式,它包含在</p>
<tfoot>中。標(biāo)簽??梢詫⒆煮w的值設(shè)置為普通、斜體、首字母、繼承等
<p><strong>font-size:</strong>用戶可以使用此樣式屬性根據(jù)需要顯示不同大小的文本。</p>
<p><strong>字體粗細(xì):</strong>人們可以決定文本是粗體還是斜體。</p>
<p><strong>文本轉(zhuǎn)換:</strong>此屬性有助于顯示文本大小寫或控制文本大小寫。</p>
<p><strong>text-decoration:</strong>如果我們想裝飾</p>
<tfoot>中包含的文本,標(biāo)簽,因此我們可以將此屬性用于文本裝飾線、文本裝飾樣式、文本裝飾顏色等


<p><strong>text-shadow:</strong>此屬性可幫助您為文本添加陰影。</p>
<p><strong>line-height:</strong>它將有助于設(shè)置給定行的高度。</p>
<p><strong>word-spacing:</strong>它是在單詞之間給出特定空間的重要屬性之一。</p>
<h3 id="HTML-如何在-tfoot-上工作">HTML 如何在 tfoot 上工作?</h3>
<p>;元素與 <thead> 組合使用。和它將定義表格的每個元素,如頁眉、頁腳和正文。該標(biāo)簽將使用一個或多個<tr> </tr>
</thead></p>
<tfoot> 內(nèi)的元素元素,因此它將有助于顯示表格內(nèi)容的摘要。它應(yīng)該放在桌子的底部。 <tfoot>的主要工作是tag是為了維護(hù)大表數(shù)據(jù)。這將允許用戶獨(dú)立顯示表格的內(nèi)容,從而讓用戶感受到更好的可用性體驗(yàn)。
<p>讓我們看一個例子來了解 </p>
<tfoot> 到底是如何實(shí)現(xiàn)的。標(biāo)簽將在 HTML 中工作:
<p><strong>示例:</strong></p>
<pre class="brush:php;toolbar:false"><table>
<thead>
<tr>
<th>Emp_ID<th>
<th>Name<th>
<th>Designation<th>
</tr>
</thead>
<tbody>
<tr>
<td>111</td>
<td>John</td>
<td>Developer</td>
</tr>
<tr>
<td>112</td>
<td>Krishna</td>
<td>Tester</td>
</tr>
<tr>
<td>113</td>
<td>Danish</td>
<td>Project Manager</td>
</tr>
</tbody>
<tfoot>
<tr>
<td>Total Employee</td>
<td> 3 </td>
</tr>
</tfoot>
</table></pre>
<p>所以在上面的例子中,</p>
<tfoot>標(biāo)簽將顯示表中員工的總數(shù)。
<h3 id="HTML-中的-tfoot-示例">HTML 中的 tfoot 示例</h3>
<p>HTML 中 tfoot 的示例如下所示:</p>
<h4 id="示例">示例#1</h4>
<p>此處顯示了使用正常 </p>
<tfoot> 的 Budget-2020b 示例標(biāo)簽:
<p><strong>代碼:</strong></p>


<pre class="brush:php;toolbar:false"><!DOCTYPE html>
<html>
<head>
<style>
thead {
background-color:cadetblue;
color: #fff;
}
tbody {
background-color: lightcyan;
}
table {
border-collapse: collapse;
border: 2px solid rgb(180, 180,180);
}
td,
th {
border: 1px solid rgb(200, 200, 200);
padding: 5px 5px;
}
td {
text-align: left;
}
</style>
</head>
<body>
<table>
<thead>
<tr>
<th>Decreasing Prices</th>
<th >Increasing Prices</th>
</tr>
</thead>
<tbody>
<tr>
<td>SOYA PROTEIN</td>
<td>CONSUMERS HAVE TO SHELL MORE FOR CHEMICALS</td>
</tr>
<tr>
<td >SOYA FIBRE</td>
<td>AUTO PARTS</td>
</tr>
<tr>
<td >ALCOHOLIC BEVERAGES</td>
<td>FANS, TABLEWARE </td>
</tr>
<tr>
<td >SKIMMED MILK </td>
<td>KITCHENWARE PRICES TO </td>
</tr>
<tr>
<td >FUSE, CHEMICALS, PLASTICS</td>
<td>MEDICAL EQUIPMENT COSTLIER</td>
</tr>
<tr>
<td >LIGHTWEIGHT-COATED PAPER </td>
<td>FURNITURE </td>
</tr>
</tbody>
<tfoot>
<tr>
<th>CHEAPER PRODUCTS</th>
<th>EXPENSIVE PRODUCTS</th>
</tr>
</tfoot>
</table>
</body>
</html></pre>
<h4 id="strong-輸出-strong"><strong>輸出:</strong></h4>
<p><img  src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/000/000/172543874091399.png" class="lazy" alt="HTML 中的 tfoot" ></p>
<h4 id="示例">示例#2</h4>
<p>這里定義了</p>
<tfoot>;一旦 <thead> 就被標(biāo)記完成:
<p><strong>代碼:</strong></p>
<pre class="brush:php;toolbar:false"><!DOCTYPE html>
<html>
<head>
<title>HTML tfoot Tag</title>
<style>
table{
border-collapse: collapse;
}
thead,tfoot{
background-color:darkgoldenrod;
color:white;
padding:5px;
}
tbody{
background-color:azure;
padding:5px;
}
</style>
</head>
<body>
<h4>tfoot in HTML</h4>
<table border="1" >
<thead>
<tr>
<th>Subject</th>
<th>Marks</th>
<th>Grades</th>
</tr>
</thead>
<tfoot>
<tr>
<th>Total Marks</th>
<th>647</th>
<th>A+ </th>
</tr>
</tfoot>
<tbody>
<tr>
<td>English</td>
<td>90</td>
<td>A+</td>
</tr>
<tr>
<td>Math</td>
<td>85</td>
<td>A</td>
</tr>
<tr>
<td>Science</td>
<td>80</td>
<td>A</td>
</tr>
<tr>
<td>History</td>
<td>75</td>
<td>B</td>
</tr>
<tr>
<td>Social Science</td>
<td>75</td>
<td>B</td>
</tr>
<tr>
<td>History</td>
<td>72</td>
<td>B</td>
</tr>
<tr>
<td>Geography</td>
<td>95</td>
<td>A+</td>
</tr>
<tr>
<td>Biology</td>
<td>75</td>
<td>B</td>
</tr>
</tbody>
</table>
</body>
</html></pre>
<p><strong>輸出:</strong></p>
<p><img  src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/000/000/172543874271738.png" class="lazy" alt="HTML 中的 tfoot" ></p>
<h4 id="Example">Example #3</h4>
<p>General Example on tfoot tag.</p>
<p><strong>Code:</strong></p>
<pre class="brush:php;toolbar:false"><!DOCTYPE html>
<title>tfoot tag</title>
<style>
table, td, th {
border: 1px solid black;
padding: 3px;
text-align: center;
}
table {
background-color:lightgray;
}
</style>
<table>
<thead>
<tr><th>Department</th><th>Number of People</th></tr>
</thead>
<tbody>
<tr>
<td>Principle</td>
<td>1</td>
</tr>
<tr>
<td>Supervisor</td>
<td> 4 </td>
</tr>
<tr>
<td>Teaching staff</td>
<td>200</td>
</tr>
<tr>
<td>Non-Teaching staff</td>
<td>20</td>
</tr>
<tr>
<td>Peon</td>
<td>15</td>
</tr>
</tbody>
<tfoot>
<tr><th>Total People</th><th>236</th></tr>
</tfoot></table></html></pre>
<p><strong>Output:</strong></p>
<p><img  src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/000/000/172543874454567.png" class="lazy" alt="HTML 中的 tfoot" ></p>
<h3 id="Conclusion">Conclusion</h3>
<p>From all the above information, we can say that <tfoot> is one of the important tags in the table, which helps to display the table summary at the bottom of the table. It’s always necessary to put <tfoot> tag at <tbody> ends, so it will help the browser to render the table footer correctly.</p>
</thead>
</tfoot>
</tfoot>
</tfoot>
</tfoot>
</tfoot>
</tfoot>
</tfoot>
</tfoot>
</tfoot>
</tfoot>
</tfoot>
</tfoot>
</tfoot><p>以上是HTML 中的 tfoot的詳細(xì)內(nèi)容。更多信息請關(guān)注PHP中文網(wǎng)其他相關(guān)文章!</p>


						</div>
					</div>
					<div   id="377j5v51b"   class="wzconShengming_sp">
						<div   id="377j5v51b"   class="bzsmdiv_sp">本站聲明</div>
						<div>本文內(nèi)容由網(wǎng)友自發(fā)貢獻(xiàn),版權(quán)歸原作者所有,本站不承擔(dān)相應(yīng)法律責(zé)任。如您發(fā)現(xiàn)有涉嫌抄襲侵權(quán)的內(nèi)容,請聯(lián)系admin@php.cn</div>
					</div>
				</div>

				<ins class="adsbygoogle"
     style="display:block"
     data-ad-format="autorelaxed"
     data-ad-client="ca-pub-5902227090019525"
     data-ad-slot="2507867629"></ins>



				<div   id="377j5v51b"   class="AI_ToolDetails_main4sR">


				<ins class="adsbygoogle"
        style="display:block"
        data-ad-client="ca-pub-5902227090019525"
        data-ad-slot="3653428331"
        data-ad-format="auto"
        data-full-width-responsive="true"></ins>
    


					<!-- <div   id="377j5v51b"   class="phpgenera_Details_mainR4">
						<div   id="377j5v51b"   class="phpmain1_4R_readrank">
							<div   id="377j5v51b"   class="phpmain1_4R_readrank_top">
								<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
									onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
									src="/static/imghw/hotarticle2.png" alt="" />
								<h2>熱門文章</h2>
							</div>
							<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottom">
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/zh/faq/1796828723.html" title="Agnes Tachyon Build Guide |漂亮的德比志" class="phpgenera_Details_mainR4_bottom_title">Agnes Tachyon Build Guide |漂亮的德比志</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>2 周前</span>
										<span>By Jack chen</span>
									</div>
								</div>
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/zh/faq/1796827210.html" title="Oguri Cap Build Guide |漂亮的德比志" class="phpgenera_Details_mainR4_bottom_title">Oguri Cap Build Guide |漂亮的德比志</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>2 周前</span>
										<span>By Jack chen</span>
									</div>
								</div>
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/zh/faq/1796821436.html" title="沙丘:覺醒 - 高級行星學(xué)家Quest演練" class="phpgenera_Details_mainR4_bottom_title">沙丘:覺醒 - 高級行星學(xué)家Quest演練</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>4 周前</span>
										<span>By Jack chen</span>
									</div>
								</div>
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/zh/faq/1796821278.html" title="約會一切:德克和哈珀關(guān)系指南" class="phpgenera_Details_mainR4_bottom_title">約會一切:德克和哈珀關(guān)系指南</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>1 個月前</span>
										<span>By Jack chen</span>
									</div>
								</div>
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/zh/faq/1796821868.html" title="Palia:Rasquellywag的Riches Quest演練" class="phpgenera_Details_mainR4_bottom_title">Palia:Rasquellywag的Riches Quest演練</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>4 周前</span>
										<span>By DDD</span>
									</div>
								</div>
														</div>
							<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
								<a href="http://www.miracleart.cn/zh/article.html">顯示更多</a>
							</div>
						</div>
					</div> -->


											<div   id="377j5v51b"   class="phpgenera_Details_mainR3">
							<div   id="377j5v51b"   class="phpmain1_4R_readrank">
								<div   id="377j5v51b"   class="phpmain1_4R_readrank_top">
									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
										onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
										src="/static/imghw/hottools2.png" alt="" />
									<h2>熱AI工具</h2>
								</div>
								<div   id="377j5v51b"   class="phpgenera_Details_mainR3_bottom">
																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
											<a href="http://www.miracleart.cn/zh/ai/undress-ai-tool" title="Undress AI Tool" class="phpmain_tab2_mids_top_img">
												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173410641626608.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Undress AI Tool" />
											</a>
											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
												<a href="http://www.miracleart.cn/zh/ai/undress-ai-tool" title="Undress AI Tool" class="phpmain_tab2_mids_title">
													<h3>Undress AI Tool</h3>
												</a>
												<p>免費(fèi)脫衣服圖片</p>
											</div>
										</div>
																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
											<a href="http://www.miracleart.cn/zh/ai/undresserai-undress" title="Undresser.AI Undress" class="phpmain_tab2_mids_top_img">
												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173411540686492.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Undresser.AI Undress" />
											</a>
											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
												<a href="http://www.miracleart.cn/zh/ai/undresserai-undress" title="Undresser.AI Undress" class="phpmain_tab2_mids_title">
													<h3>Undresser.AI Undress</h3>
												</a>
												<p>人工智能驅(qū)動的應(yīng)用程序,用于創(chuàng)建逼真的裸體照片</p>
											</div>
										</div>
																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
											<a href="http://www.miracleart.cn/zh/ai/ai-clothes-remover" title="AI Clothes Remover" class="phpmain_tab2_mids_top_img">
												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173411552797167.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="AI Clothes Remover" />
											</a>
											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
												<a href="http://www.miracleart.cn/zh/ai/ai-clothes-remover" title="AI Clothes Remover" class="phpmain_tab2_mids_title">
													<h3>AI Clothes Remover</h3>
												</a>
												<p>用于從照片中去除衣服的在線人工智能工具。</p>
											</div>
										</div>
																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
											<a href="http://www.miracleart.cn/zh/ai/clothoffio" title="Clothoff.io" class="phpmain_tab2_mids_top_img">
												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173411529149311.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Clothoff.io" />
											</a>
											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
												<a href="http://www.miracleart.cn/zh/ai/clothoffio" title="Clothoff.io" class="phpmain_tab2_mids_title">
													<h3>Clothoff.io</h3>
												</a>
												<p>AI脫衣機(jī)</p>
											</div>
										</div>
																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
											<a href="http://www.miracleart.cn/zh/ai/video-swap" title="Video Face Swap" class="phpmain_tab2_mids_top_img">
												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173414504068133.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Video Face Swap" />
											</a>
											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
												<a href="http://www.miracleart.cn/zh/ai/video-swap" title="Video Face Swap" class="phpmain_tab2_mids_title">
													<h3>Video Face Swap</h3>
												</a>
												<p>使用我們完全免費(fèi)的人工智能換臉工具輕松在任何視頻中換臉!</p>
											</div>
										</div>
																</div>
								<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
									<a href="http://www.miracleart.cn/zh/ai">顯示更多</a>
								</div>
							</div>
						</div>
					


					<div   id="377j5v51b"   class="phpgenera_Details_mainR4">
						<div   id="377j5v51b"   class="phpmain1_4R_readrank">
							<div   id="377j5v51b"   class="phpmain1_4R_readrank_top">
								<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
									onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
									src="/static/imghw/hotarticle2.png" alt="" />
								<h2>熱門文章</h2>
							</div>
							<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottom">
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/zh/faq/1796828723.html" title="Agnes Tachyon Build Guide |漂亮的德比志" class="phpgenera_Details_mainR4_bottom_title">Agnes Tachyon Build Guide |漂亮的德比志</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>2 周前</span>
										<span>By Jack chen</span>
									</div>
								</div>
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/zh/faq/1796827210.html" title="Oguri Cap Build Guide |漂亮的德比志" class="phpgenera_Details_mainR4_bottom_title">Oguri Cap Build Guide |漂亮的德比志</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>2 周前</span>
										<span>By Jack chen</span>
									</div>
								</div>
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/zh/faq/1796821436.html" title="沙丘:覺醒 - 高級行星學(xué)家Quest演練" class="phpgenera_Details_mainR4_bottom_title">沙丘:覺醒 - 高級行星學(xué)家Quest演練</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>4 周前</span>
										<span>By Jack chen</span>
									</div>
								</div>
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/zh/faq/1796821278.html" title="約會一切:德克和哈珀關(guān)系指南" class="phpgenera_Details_mainR4_bottom_title">約會一切:德克和哈珀關(guān)系指南</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>1 個月前</span>
										<span>By Jack chen</span>
									</div>
								</div>
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/zh/faq/1796821868.html" title="Palia:Rasquellywag的Riches Quest演練" class="phpgenera_Details_mainR4_bottom_title">Palia:Rasquellywag的Riches Quest演練</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>4 周前</span>
										<span>By DDD</span>
									</div>
								</div>
														</div>
							<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
								<a href="http://www.miracleart.cn/zh/article.html">顯示更多</a>
							</div>
						</div>
					</div>


											<div   id="377j5v51b"   class="phpgenera_Details_mainR3">
							<div   id="377j5v51b"   class="phpmain1_4R_readrank">
								<div   id="377j5v51b"   class="phpmain1_4R_readrank_top">
									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
										onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
										src="/static/imghw/hottools2.png" alt="" />
									<h2>熱工具</h2>
								</div>
								<div   id="377j5v51b"   class="phpgenera_Details_mainR3_bottom">
																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
											<a href="http://www.miracleart.cn/zh/toolset/development-tools/92" title="記事本++7.3.1" class="phpmain_tab2_mids_top_img">
												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58ab96f0f39f7357.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="記事本++7.3.1" />
											</a>
											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
												<a href="http://www.miracleart.cn/zh/toolset/development-tools/92" title="記事本++7.3.1" class="phpmain_tab2_mids_title">
													<h3>記事本++7.3.1</h3>
												</a>
												<p>好用且免費(fèi)的代碼編輯器</p>
											</div>
										</div>
																			<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
											<a href="http://www.miracleart.cn/zh/toolset/development-tools/93" title="SublimeText3漢化版" class="phpmain_tab2_mids_top_img">
												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58ab97a3baad9677.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="SublimeText3漢化版" />
											</a>
											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
												<a href="http://www.miracleart.cn/zh/toolset/development-tools/93" title="SublimeText3漢化版" class="phpmain_tab2_mids_title">
													<h3>SublimeText3漢化版</h3>
												</a>
												<p>中文版,非常好用</p>
											</div>
										</div>
																			<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
											<a href="http://www.miracleart.cn/zh/toolset/development-tools/121" title="禪工作室 13.0.1" class="phpmain_tab2_mids_top_img">
												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58ab97ecd1ab2670.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="禪工作室 13.0.1" />
											</a>
											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
												<a href="http://www.miracleart.cn/zh/toolset/development-tools/121" title="禪工作室 13.0.1" class="phpmain_tab2_mids_title">
													<h3>禪工作室 13.0.1</h3>
												</a>
												<p>功能強(qiáng)大的PHP集成開發(fā)環(huán)境</p>
											</div>
										</div>
																			<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
											<a href="http://www.miracleart.cn/zh/toolset/development-tools/469" title="Dreamweaver CS6" class="phpmain_tab2_mids_top_img">
												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58d0e0fc74683535.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="Dreamweaver CS6" />
											</a>
											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
												<a href="http://www.miracleart.cn/zh/toolset/development-tools/469" title="Dreamweaver CS6" class="phpmain_tab2_mids_title">
													<h3>Dreamweaver CS6</h3>
												</a>
												<p>視覺化網(wǎng)頁開發(fā)工具</p>
											</div>
										</div>
																			<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
											<a href="http://www.miracleart.cn/zh/toolset/development-tools/500" title="SublimeText3 Mac版" class="phpmain_tab2_mids_top_img">
												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58d34035e2757995.png?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="SublimeText3 Mac版" />
											</a>
											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
												<a href="http://www.miracleart.cn/zh/toolset/development-tools/500" title="SublimeText3 Mac版" class="phpmain_tab2_mids_title">
													<h3>SublimeText3 Mac版</h3>
												</a>
												<p>神級代碼編輯軟件(SublimeText3)</p>
											</div>
										</div>
																	</div>
								<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
									<a href="http://www.miracleart.cn/zh/ai">顯示更多</a>
								</div>
							</div>
						</div>
										

					
					<div   id="377j5v51b"   class="phpgenera_Details_mainR4">
						<div   id="377j5v51b"   class="phpmain1_4R_readrank">
							<div   id="377j5v51b"   class="phpmain1_4R_readrank_top">
								<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
									onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
									src="/static/imghw/hotarticle2.png" alt="" />
								<h2>熱門話題</h2>
							</div>
							<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottom">
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/zh/faq/gmailyxdlrkzn" title="gmail郵箱登陸入口在哪里" class="phpgenera_Details_mainR4_bottom_title">gmail郵箱登陸入口在哪里</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/eyess.png" alt="" />
											<span>8639</span>
										</div>
										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/tiezi.png" alt="" />
											<span>17</span>
										</div>
									</div>
								</div>
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/zh/faq/java-tutorial" title="Java教程" class="phpgenera_Details_mainR4_bottom_title">Java教程</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/eyess.png" alt="" />
											<span>1786</span>
										</div>
										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/tiezi.png" alt="" />
											<span>16</span>
										</div>
									</div>
								</div>
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/zh/faq/cakephp-tutor" title="CakePHP 教程" class="phpgenera_Details_mainR4_bottom_title">CakePHP 教程</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/eyess.png" alt="" />
											<span>1729</span>
										</div>
										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/tiezi.png" alt="" />
											<span>56</span>
										</div>
									</div>
								</div>
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/zh/faq/laravel-tutori" title="Laravel 教程" class="phpgenera_Details_mainR4_bottom_title">Laravel 教程</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/eyess.png" alt="" />
											<span>1581</span>
										</div>
										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/tiezi.png" alt="" />
											<span>29</span>
										</div>
									</div>
								</div>
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/zh/faq/php-tutorial" title="PHP教程" class="phpgenera_Details_mainR4_bottom_title">PHP教程</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/eyess.png" alt="" />
											<span>1448</span>
										</div>
										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/tiezi.png" alt="" />
											<span>31</span>
										</div>
									</div>
								</div>
														</div>
							<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
								<a href="http://www.miracleart.cn/zh/faq/zt">顯示更多</a>
							</div>
						</div>
					</div>
				</div>
			</div>
							<div   id="377j5v51b"   class="Article_Details_main2">
					<div   id="377j5v51b"   class="phpgenera_Details_mainL4">
						<div   id="377j5v51b"   class="phpmain1_2_top">
							<a href="javascript:void(0);" class="phpmain1_2_top_title">Related knowledge<img
									src="/static/imghw/index2_title2.png" alt="" /></a>
						</div>
						<div   id="377j5v51b"   class="phpgenera_Details_mainL4_info">

													<div   id="377j5v51b"   class="phphistorical_Version2_mids">
								<a href="http://www.miracleart.cn/zh/faq/1796829177.html" title="構(gòu)建網(wǎng)頁的HTML元素是什么?" class="phphistorical_Version2_mids_img">
									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175148129241939.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="構(gòu)建網(wǎng)頁的HTML元素是什么?" />
								</a>
								<a href="http://www.miracleart.cn/zh/faq/1796829177.html" title="構(gòu)建網(wǎng)頁的HTML元素是什么?" class="phphistorical_Version2_mids_title">構(gòu)建網(wǎng)頁的HTML元素是什么?</a>
								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 03, 2025 am	 02:34 AM</span>
								<p class="Articlelist_txts_p">網(wǎng)頁結(jié)構(gòu)需核心HTML元素支撐,1.頁面整體結(jié)構(gòu)由、、構(gòu)成,其中為根元素,存放元信息,展示內(nèi)容;2.內(nèi)容組織依賴標(biāo)題(-)、段落()及區(qū)塊標(biāo)簽(如、)以提升條理與SEO;3.導(dǎo)航通過與實(shí)現(xiàn),常用組織鏈接并輔以aria-current屬性增強(qiáng)可訪問性;4.表單交互涉及、、與,確保用戶輸入與提交功能完整。正確使用這些元素能提升頁面清晰度、維護(hù)性及搜索引擎優(yōu)化。</p>
							</div>
														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
								<a href="http://www.miracleart.cn/zh/faq/1796829157.html" title="使用HTML5服務(wù)器序列事件處理重新連接和錯誤。" class="phphistorical_Version2_mids_img">
									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175148089165625.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="使用HTML5服務(wù)器序列事件處理重新連接和錯誤。" />
								</a>
								<a href="http://www.miracleart.cn/zh/faq/1796829157.html" title="使用HTML5服務(wù)器序列事件處理重新連接和錯誤。" class="phphistorical_Version2_mids_title">使用HTML5服務(wù)器序列事件處理重新連接和錯誤。</a>
								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 03, 2025 am	 02:28 AM</span>
								<p class="Articlelist_txts_p">使用HTML5SSE時,處理重連和錯誤的方法包括:1.了解默認(rèn)重連機(jī)制,EventSource默認(rèn)在連接中斷后3秒重試,可通過retry字段自定義間隔;2.監(jiān)聽error事件以應(yīng)對連接失敗或解析錯誤,區(qū)分錯誤類型并執(zhí)行相應(yīng)邏輯,如網(wǎng)絡(luò)問題依賴自動重連、服務(wù)器錯誤手動延遲重連、認(rèn)證失效刷新token;3.主動控制重連邏輯,如手動關(guān)閉并重建連接、設(shè)置最大重試次數(shù)、結(jié)合navigator.onLine判斷網(wǎng)絡(luò)狀態(tài)以優(yōu)化重試策略。這些措施可提升應(yīng)用穩(wěn)定性與用戶體驗(yàn)。</p>
							</div>
														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
								<a href="http://www.miracleart.cn/zh/faq/1796829178.html" title="為現(xiàn)代頁面宣布正確的HTML5 Doctype。" class="phphistorical_Version2_mids_img">
									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175148132111973.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="為現(xiàn)代頁面宣布正確的HTML5 Doctype。" />
								</a>
								<a href="http://www.miracleart.cn/zh/faq/1796829178.html" title="為現(xiàn)代頁面宣布正確的HTML5 Doctype。" class="phphistorical_Version2_mids_title">為現(xiàn)代頁面宣布正確的HTML5 Doctype。</a>
								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 03, 2025 am	 02:35 AM</span>
								<p class="Articlelist_txts_p">Doctype是告訴瀏覽器用哪種HTML標(biāo)準(zhǔn)解析頁面的聲明,現(xiàn)代網(wǎng)頁只需在HTML文件最開頭寫。其作用是確保瀏覽器以標(biāo)準(zhǔn)模式而非怪異模式渲染頁面,且必須位于第一行,前面不能有空格或注釋;正確寫法僅有一種,不推薦使用舊版本或其他變體;其他如charset、viewport等應(yīng)放在部分。</p>
							</div>
														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
								<a href="http://www.miracleart.cn/zh/faq/1796829167.html" title="使用HTML屬性實(shí)現(xiàn)客戶端表單驗(yàn)證。" class="phphistorical_Version2_mids_img">
									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175148109151878.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="使用HTML屬性實(shí)現(xiàn)客戶端表單驗(yàn)證。" />
								</a>
								<a href="http://www.miracleart.cn/zh/faq/1796829167.html" title="使用HTML屬性實(shí)現(xiàn)客戶端表單驗(yàn)證。" class="phphistorical_Version2_mids_title">使用HTML屬性實(shí)現(xiàn)客戶端表單驗(yàn)證。</a>
								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 03, 2025 am	 02:31 AM</span>
								<p class="Articlelist_txts_p">client-sideformvalidationCanbedOnewithOutJavaScriptbyusinghtmlattributes.1)useRequiredToEnforCemandatoryField.2)validateMailsAndUrllSwithTyPeatTributesLikeEmailOrurl,orusepatternwithRegegexforCustomAlorurl</p>
							</div>
														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
								<a href="http://www.miracleart.cn/zh/faq/1796829956.html" title="如何使用HTML將選項(xiàng)分組?" class="phphistorical_Version2_mids_img">
									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175157020270129.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="如何使用HTML將選項(xiàng)分組?" />
								</a>
								<a href="http://www.miracleart.cn/zh/faq/1796829956.html" title="如何使用HTML將選項(xiàng)分組?" class="phphistorical_Version2_mids_title">如何使用HTML將選項(xiàng)分組?</a>
								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 04, 2025 am	 03:16 AM</span>
								<p class="Articlelist_txts_p">在HTML中使用標(biāo)簽可以對下拉菜單中的選項(xiàng)進(jìn)行分組。具體方法是用包裹一組元素,并通過label屬性定義組名,如:1.包含蘋果、香蕉、橙子等選項(xiàng);2.包含胡蘿卜、西蘭花等選項(xiàng);3.每個為一個獨(dú)立分組,組內(nèi)選項(xiàng)自動縮進(jìn)。注意事項(xiàng)包括:①不支持嵌套;②可通過disabled屬性禁用整個組;③樣式受限需結(jié)合CSS或第三方庫美化;可使用Select2等插件增強(qiáng)功能。</p>
							</div>
														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
								<a href="http://www.miracleart.cn/zh/faq/1796835653.html" title="將CSS和JavaScript與HTML5結(jié)構(gòu)有效整合。" class="phphistorical_Version2_mids_img">
									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175226046128038.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="將CSS和JavaScript與HTML5結(jié)構(gòu)有效整合。" />
								</a>
								<a href="http://www.miracleart.cn/zh/faq/1796835653.html" title="將CSS和JavaScript與HTML5結(jié)構(gòu)有效整合。" class="phphistorical_Version2_mids_title">將CSS和JavaScript與HTML5結(jié)構(gòu)有效整合。</a>
								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 12, 2025 am	 03:01 AM</span>
								<p class="Articlelist_txts_p">HTML5、CSS和JavaScript應(yīng)通過語義化標(biāo)簽、合理加載順序與解耦設(shè)計(jì)高效結(jié)合。1.使用HTML5語義化標(biāo)簽如、提升結(jié)構(gòu)清晰度與可維護(hù)性,利于SEO和無障礙訪問;2.CSS應(yīng)置于中,使用外部文件并按模塊拆分,避免內(nèi)聯(lián)樣式與延遲加載問題;3.JavaScript推薦放在前引入,使用defer或async異步加載以避免阻塞渲染;4.減少三者間強(qiáng)依賴,通過data-*屬性驅(qū)動行為、類名控制狀態(tài),統(tǒng)一命名規(guī)范提升協(xié)作效率。這些方法能有效優(yōu)化頁面性能與團(tuán)隊(duì)協(xié)作。</p>
							</div>
														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
								<a href="http://www.miracleart.cn/zh/faq/1796831880.html" title="使用HTML按鈕元素實(shí)現(xiàn)可點(diǎn)擊按鈕" class="phphistorical_Version2_mids_img">
									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175182671121571.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="使用HTML按鈕元素實(shí)現(xiàn)可點(diǎn)擊按鈕" />
								</a>
								<a href="http://www.miracleart.cn/zh/faq/1796831880.html" title="使用HTML按鈕元素實(shí)現(xiàn)可點(diǎn)擊按鈕" class="phphistorical_Version2_mids_title">使用HTML按鈕元素實(shí)現(xiàn)可點(diǎn)擊按鈕</a>
								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 07, 2025 am	 02:31 AM</span>
								<p class="Articlelist_txts_p">要使用HTML的button元素實(shí)現(xiàn)可點(diǎn)擊按鈕,首先需掌握其基本用法與常見注意事項(xiàng)。1.使用標(biāo)簽創(chuàng)建按鈕,并通過type屬性定義行為(如button、submit、reset),默認(rèn)為submit;2.通過JavaScript添加交互功能,可內(nèi)聯(lián)寫法或通過ID綁定事件監(jiān)聽器以提升維護(hù)性;3.利用CSS自定義樣式,包括背景色、邊框、圓角及hover/active狀態(tài)效果,增強(qiáng)用戶體驗(yàn);4.注意常見問題:確保未啟用disabled屬性、正確綁定JS事件、避免布局遮擋,并借助開發(fā)者工具排查異常。掌握這</p>
							</div>
														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
								<a href="http://www.miracleart.cn/zh/faq/1796832574.html" title="使用新的HTML5方法(FormData)提交表單數(shù)據(jù)" class="phphistorical_Version2_mids_img">
									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175191288234525.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="使用新的HTML5方法(FormData)提交表單數(shù)據(jù)" />
								</a>
								<a href="http://www.miracleart.cn/zh/faq/1796832574.html" title="使用新的HTML5方法(FormData)提交表單數(shù)據(jù)" class="phphistorical_Version2_mids_title">使用新的HTML5方法(FormData)提交表單數(shù)據(jù)</a>
								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 08, 2025 am	 02:28 AM</span>
								<p class="Articlelist_txts_p">使用HTML5的FormDataAPI提交表單數(shù)據(jù)更方便,1.它可自動收集帶name屬性的表單字段或手動添加數(shù)據(jù);2.支持通過fetch或XMLHttpRequest以multipart/form-data格式提交,適合文件上傳;3.處理文件時只需將文件附加到FormData并發(fā)送請求即可;4.注意同名字段會被覆蓋、需處理JSON轉(zhuǎn)換及無嵌套結(jié)構(gòu)等問題。</p>
							</div>
													</div>

													<a href="http://www.miracleart.cn/zh/web-designer.html" class="phpgenera_Details_mainL4_botton">
								<span>See all articles</span>
								<img src="/static/imghw/down_right.png" alt="" />
							</a>
											</div>
				</div>
					</div>
	</main>
	<footer>
    <div   id="377j5v51b"   class="footer">
        <div   id="377j5v51b"   class="footertop">
            <img src="/static/imghw/logo.png" alt="">
            <p>公益在線PHP培訓(xùn),幫助PHP學(xué)習(xí)者快速成長!</p>
        </div>
        <div   id="377j5v51b"   class="footermid">
            <a href="http://www.miracleart.cn/zh/about/us.html">關(guān)于我們</a>
            <a href="http://www.miracleart.cn/zh/about/disclaimer.html">免責(zé)聲明</a>
            <a href="http://www.miracleart.cn/zh/update/article_0_1.html">Sitemap</a>
        </div>
        <div   id="377j5v51b"   class="footerbottom">
            <p>
                ? php.cn All rights reserved
            </p>
        </div>
    </div>
</footer>

<input type="hidden" id="verifycode" value="/captcha.html">




		<link rel='stylesheet' id='_main-css' href='/static/css/viewer.min.css?2' type='text/css' media='all' />
	
	
	
	
	

	
	






<footer>
<div class="friendship-link">
<p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p>
<a href="http://www.miracleart.cn/" title="国产av日韩一区二区三区精品">国产av日韩一区二区三区精品</a>

<div class="friend-links">


</div>
</div>

</footer>


<script>
(function(){
    var bp = document.createElement('script');
    var curProtocol = window.location.protocol.split(':')[0];
    if (curProtocol === 'https') {
        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
    }
    else {
        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
    }
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(bp, s);
})();
</script>
</body><div id="rcejf" class="pl_css_ganrao" style="display: none;"><sub id="rcejf"></sub><table id="rcejf"><thead id="rcejf"><legend id="rcejf"><center id="rcejf"></center></legend></thead></table><rp id="rcejf"></rp><progress id="rcejf"><output id="rcejf"><ruby id="rcejf"><optgroup id="rcejf"></optgroup></ruby></output></progress><pre id="rcejf"><tfoot id="rcejf"><tbody id="rcejf"><small id="rcejf"></small></tbody></tfoot></pre><ruby id="rcejf"><optgroup id="rcejf"><legend id="rcejf"><rt id="rcejf"></rt></legend></optgroup></ruby><button id="rcejf"></button><nav id="rcejf"></nav><sup id="rcejf"><form id="rcejf"><cite id="rcejf"><fieldset id="rcejf"></fieldset></cite></form></sup><em id="rcejf"></em><big id="rcejf"></big><nav id="rcejf"><menu id="rcejf"></menu></nav><pre id="rcejf"><pre id="rcejf"></pre></pre><pre id="rcejf"></pre><b id="rcejf"><small id="rcejf"></small></b><object id="rcejf"><td id="rcejf"><center id="rcejf"><rp id="rcejf"></rp></center></td></object><rp id="rcejf"><nav id="rcejf"></nav></rp><abbr id="rcejf"><li id="rcejf"><code id="rcejf"><form id="rcejf"></form></code></li></abbr><dl id="rcejf"><blockquote id="rcejf"></blockquote></dl><var id="rcejf"></var><strong id="rcejf"><strike id="rcejf"></strike></strong><center id="rcejf"></center><blockquote id="rcejf"><form id="rcejf"></form></blockquote><thead id="rcejf"><font id="rcejf"><dfn id="rcejf"><ol id="rcejf"></ol></dfn></font></thead><tr id="rcejf"><var id="rcejf"></var></tr><cite id="rcejf"><form id="rcejf"></form></cite><blockquote id="rcejf"></blockquote><thead id="rcejf"><meter id="rcejf"><form id="rcejf"></form></meter></thead><legend id="rcejf"><div id="rcejf"><u id="rcejf"></u></div></legend><strong id="rcejf"><strike id="rcejf"></strike></strong><mark id="rcejf"><xmp id="rcejf"><track id="rcejf"><th id="rcejf"></th></track></xmp></mark><pre id="rcejf"><tfoot id="rcejf"><tbody id="rcejf"><acronym id="rcejf"></acronym></tbody></tfoot></pre><acronym id="rcejf"></acronym><pre id="rcejf"><pre id="rcejf"></pre></pre><big id="rcejf"></big><thead id="rcejf"></thead><nobr id="rcejf"></nobr><legend id="rcejf"><menuitem id="rcejf"><optgroup id="rcejf"></optgroup></menuitem></legend><noframes id="rcejf"></noframes><output id="rcejf"></output><ul id="rcejf"><tt id="rcejf"><strong id="rcejf"></strong></tt></ul><var id="rcejf"></var><option id="rcejf"><pre id="rcejf"></pre></option><font id="rcejf"><tbody id="rcejf"></tbody></font><nobr id="rcejf"><source id="rcejf"><sup id="rcejf"><blockquote id="rcejf"></blockquote></sup></source></nobr><dl id="rcejf"><blockquote id="rcejf"></blockquote></dl><address id="rcejf"><tt id="rcejf"><b id="rcejf"></b></tt></address><acronym id="rcejf"><strong id="rcejf"></strong></acronym><sup id="rcejf"></sup><cite id="rcejf"></cite><th id="rcejf"></th><optgroup id="rcejf"></optgroup><nobr id="rcejf"></nobr><mark id="rcejf"><xmp id="rcejf"><track id="rcejf"><strike id="rcejf"></strike></track></xmp></mark><dfn id="rcejf"><acronym id="rcejf"><pre id="rcejf"><label id="rcejf"></label></pre></acronym></dfn><kbd id="rcejf"></kbd><small id="rcejf"><bdo id="rcejf"></bdo></small><pre id="rcejf"><button id="rcejf"><style id="rcejf"><tbody id="rcejf"></tbody></style></button></pre><strike id="rcejf"></strike><dd id="rcejf"></dd><pre id="rcejf"></pre><li id="rcejf"></li><ul id="rcejf"><listing id="rcejf"><dfn id="rcejf"><ol id="rcejf"></ol></dfn></listing></ul><source id="rcejf"><menuitem id="rcejf"></menuitem></source><nobr id="rcejf"><listing id="rcejf"><wbr id="rcejf"><mark id="rcejf"></mark></wbr></listing></nobr><ol id="rcejf"><form id="rcejf"><ul id="rcejf"></ul></form></ol><dfn id="rcejf"></dfn><ruby id="rcejf"><nobr id="rcejf"><label id="rcejf"></label></nobr></ruby><dl id="rcejf"></dl><small id="rcejf"></small><nobr id="rcejf"><source id="rcejf"><menuitem id="rcejf"></menuitem></source></nobr><track id="rcejf"><input id="rcejf"><progress id="rcejf"></progress></input></track><fieldset id="rcejf"><dl id="rcejf"><font id="rcejf"><dfn id="rcejf"></dfn></font></dl></fieldset><pre id="rcejf"><output id="rcejf"><style id="rcejf"></style></output></pre><dfn id="rcejf"></dfn><pre id="rcejf"><style id="rcejf"><thead id="rcejf"><legend id="rcejf"></legend></thead></style></pre><thead id="rcejf"></thead><sub id="rcejf"></sub><tr id="rcejf"><center id="rcejf"><optgroup id="rcejf"><strong id="rcejf"></strong></optgroup></center></tr><dl id="rcejf"></dl><li id="rcejf"><label id="rcejf"><sup id="rcejf"></sup></label></li><dfn id="rcejf"></dfn><big id="rcejf"></big><wbr id="rcejf"></wbr><button id="rcejf"></button><tr id="rcejf"><var id="rcejf"></var></tr><label id="rcejf"></label><center id="rcejf"><optgroup id="rcejf"></optgroup></center><tr id="rcejf"></tr><tt id="rcejf"></tt><output id="rcejf"></output><strong id="rcejf"><dd id="rcejf"></dd></strong><dfn id="rcejf"></dfn><output id="rcejf"></output><bdo id="rcejf"></bdo><delect id="rcejf"><listing id="rcejf"></listing></delect><nav id="rcejf"></nav><code id="rcejf"><th id="rcejf"><thead id="rcejf"><kbd id="rcejf"></kbd></thead></th></code><li id="rcejf"></li></div>

</html>
Decreasing Prices<\/th>\nIncreasing Prices<\/th>\n<\/tr>\n<\/thead>\n
SOYA PROTEIN<\/td>\nCONSUMERS HAVE TO SHELL MORE FOR CHEMICALS<\/td>\n<\/tr>\n
SOYA FIBRE<\/td>\nAUTO PARTS<\/td>\n<\/tr>\n
ALCOHOLIC BEVERAGES<\/td>\nFANS, TABLEWARE <\/td>\n<\/tr>\n
SKIMMED MILK <\/td>\nKITCHENWARE PRICES TO <\/td>\n<\/tr>\n
FUSE, CHEMICALS, PLASTICS<\/td>\nMEDICAL EQUIPMENT COSTLIER<\/td>\n<\/tr>\n
LIGHTWEIGHT-COATED PAPER <\/td>\nFURNITURE <\/td>\n<\/tr>\n<\/tbody>\n
CHEAPER PRODUCTS<\/th>\nEXPENSIVE PRODUCTS<\/th>\n<\/tr>\n<\/tfoot>\n<\/table>\n<\/body>\n<\/html><\/pre>\n

輸出:<\/strong><\/h4>\n

\"HTML<\/p>\n

示例#2<\/h4>\n

這里定義了<\/p>\n