首頁  >  文章  >  web前端  >  HTML5常用的標籤總結

HTML5常用的標籤總結

巴扎黑
巴扎黑原創
2017-06-16 17:15:081486瀏覽

1、標籤:
作用:宣告是文件中的第一個成分,位於標籤之前。

2、標籤:
作用:此元素可告知瀏覽器其本身是HTML文件。
屬性:manifest:值(url)為離線使用定義快取資訊。

3、標籤:
作用:標籤用來定義文件的頭部,它是所有頭部元素的容器。
屬性:profile:值(URL)一個有空格分隔的URL列表,這些URL包含著有關頁面的元資料資訊。

4、標籤:<br>作用:元素可定義文件的標題。 <br>屬性:dir:值(rtl,ltr)規定元素中內容的文字方向。 <br>lang:值(language_code)規定元素中內容的語言代碼。 <br>xml:lang:值(language_code)規定XHTML文件中元素內容的語言代碼。 </p> <p>5、標籤:<body><br>作用:元素定義文檔的主體。 <br>屬性:alink:值(rgb(x,x,x),#xxxxxx,colorname)不贊成使用,請使用樣式取代它。規定文件中活動連結(active link)的顏色。 <br>background:值(URL)不贊成使用。請使用樣式取代它。規定文檔的<a href="http://www.php.cn/code/8294.html" target="_blank">背景圖像</a>。 <br>bgcolor:值(reb(x,x,x),#xxxxxx,colorname)不贊成使用。請使用樣式取代它。規定文件中的背景顏色。 <br>link:值(reb(x,x,x),#xxxxxx,colorname)不贊成使用。請使用樣式取代它。規定文件中未存取連結的預設顏色。 <br>text:值(reb(x,x,x),#xxxxxx,colorname)不贊成使用。請使用樣式取代它。規定文檔中所以文字的顏色。 <br>vlink:值(reb(x,x,x),#xxxxxx,colorname)不贊成使用。請使用樣式取代它。規定文件中已被存取連結的顏色。 </p> <p>6、標籤:<h1>到<h6>標籤<br>作用:<h1>-<h6>標籤了定義標題。 <h1>定義最大的標題,<h6>定義最小的標題。 <br>屬性:align:值(left,center,right,justify)不建議使用。請使用樣式取代它。規定標題中文字的排列。 </p> <p>7、標籤:<p><br>作用:標籤定義段落。 <br>屬性:align:值(left,center,right,justify)不建議使用。請使用樣式取代它。規定標題中文字的排列方式。 </p> <p>8、標籤:<br><br>作用:可插入一個簡單的換行符號。 <br>屬性:沒有可選屬性。 </p> <p>9、標籤:<hr><br>作用:標籤在HTML頁面建立一條水平線。 <br>屬性:align:值(center,left,right)不贊成使用。請使用樣式取代它。規定hr元素的對齊方式。 <br>noshade:值(noshade)不贊成使用。請使用樣式取代它。規定hr元素的顏色呈現為純色。 <br>size:值(pixels)不贊成使用。請使用樣式取代它。規定hr元素的高度(厚度)。 <br>width:值(pixels %)不贊成使用。請使用樣式取代它。規定hr元素的寬度。 </p> <p>10、標籤<!-- --><br>作用:註解標籤用於在來源文件中插入註解。 <br>屬性:沒有可選屬性。 </p> <p>11、標籤:<ul><br>作用:標籤定義無序列表。 <br>屬性:compact:值(compact)不贊成使用。請使用樣式取代它。規定清單呈現的效果比正常情況更小。 <br>type:值(disc,square,circle)不贊成使用。請使用樣式取代它。規定清單的項目符號的類型。 </p> <p>12、標籤:<ol><br>作用:標籤定義有序列表。 <br>屬性:compact:值(compact)HTML5 中不支援。 HTML4.01 中不贊成使用。規定清單呈現的效果比正常情況更小。 <br>reversed:值(reversed)規定清單順序為降序。 (9,8,7...)<br>start:值(number)規定有序列表的起始值。 <br>type:值(1,A,a,I,i)規定在清單中使用的標記類型。 </p> <p>13、標籤:<li><br>作用:標籤定義清單項目。 <li>標籤可使用在有序列表(<ol>)和無序列表(<ul>)中。 <br>屬性:type:值(A,a,I,i,1,disc,square,circle)不贊成使用。請使用樣式代替它。規定使用哪種項目符號。 <br>value:值(number)不贊成使用。請使用樣式代替它。規定列表項目的數字。 </p> <p>14、標籤:<dl><br>作用:標籤定義了定義清單。標籤用於結合<dt>(定義清單中的項目)和<dd>(描述清單中的項目)。 <br>屬性:沒有可選屬性。 </p> <p>15、標籤:<dt><br>作用:標籤定義了定義清單中的項目。 <br>屬性:沒有可選屬性。 </p> <p>16、標籤:<dd><br>作用:在定義清單中定義條目的定義部分。 <br>屬性:沒有可選屬性。 </p> <p>17、標籤:<a><br>作用:標籤定義超鏈接,用於從一張頁面鏈接到另一張頁面。 <a>元素最重要的屬性是href屬性,它指示連結的目標。 <br>屬性:charset:值(char_encoding)HTML5中不支援。規定被連結文件的字元集。 <br>coords:值(coordinates)HTML5中不支援。規定鏈接的座標。 <br>download:值(filename)規定被下載的超連結目標。 <br>href:值(URL)規定連結指向的頁面的URL。 <br>hreflang:值(language_code)規定被連結文檔的語言。 <br>media:值(media_query)規定被連結文件是為何種媒介/裝置最佳化的。 <br>name:值(section_name)HTML5中不支援。規定錨的名稱。 <br>rel:值(text)規定目前文件與被連結文件之間的關係。 <br>rev:值(text)HTML5中不支援。規定連結文件與目前文件之間的關係。 <br>shape:值(default,rect,circle,poly)HTML5中不支援。規定鏈接的形狀。 <br>target:值(_blank,_parent,_self,_top,framename)規定在何處開啟連結文件。 <br>type:值(MIME type)規定被連結文件的的MIME類型。 </p> <p>18、標籤:<nav><br>作用:標籤定義導覽連結的部分。 <br>屬性:沒有可選屬性。 </p> <p>19、標籤:<table><br>作用:標籤定義HTML表格。 <br>屬性:align:值(left,center,right)不贊成使用。請使用樣式代替。規定表格相對周圍元素的對齊方式。 <br>bgcolor:值(rgb(x,x,x),#xxxxxx,colorname)不贊成使用。請使用樣式代替。規定表格的背景顏色。 <br>border:值(pixels)規定表格邊框的寬度。 <br>cellpadding:值(pixels %)規定單元邊緣與其內容之間的空白。 <br>cellspacing:值(pixels %)規定儲存格之間的空白。 <br>frame:值(void,above,below,hsides,lhs,rhs,vsides,box,border)規定外側邊框的哪個部分是可見的。 <br>rules:值(none,groups,rows,cols,all)規定內側邊框的哪個部分是可見的。 <br>summar:值(text)規定表格的摘要。 <br>width:值(% pixels)規定表格的寬度。 </p> <p>20、標籤:<caption><br>作用:標籤定義表格的標題。 <caption>標籤必須直接放置到<table>標籤之後。 <br>屬性:align:值(left,right,top,bottom)不贊成使用。請使用樣式取而代之。規定標題的對齊方式。 </p> <p>21、標籤:<th>列<br>作用:定義表格內的表頭儲存格。 <th>元素內部的文字會呈現為居中的粗體文字。 <br>屬性:abbr:值(text)規定儲存格中內容的縮寫版本。 <br>align:值(left,right,center,justify,char)規定儲存格內容的水平對齊方式。 <br>axis:值(category_name)對儲存格進行分類。 <br>bgcolor:值(rgb(x,x,x),#xxxxxx,colorname)不建議使用。請使用樣式代替它。規定表格單元格的背景顏色。 <br>char:值(character)規定根據哪個字元來進行內容的對齊。 <br>charoff:值(number)規定對齊字元的偏移量。 <br>colspan:值(number)設定單元格可橫跨的列數。 <br>headers:值(idrefs)有空格分隔的表頭單元格ID列表,為資料單元格提供表頭資訊。 <br>height:值(pixels %)不建議使用。請使用樣式代替它。規定表格單元格的高度。 <br>nowrap:值(nowrap)不建議使用。請使用樣式替代它。規定儲存格中的內容是否折行。 <br>rowspan:值(number)規定儲存格可橫跨的行數。 <br>scope:值(col,colgroup,row,rowgroup)定義將表頭資料與單元資料相關聯的方法。 <br>valign:值(top,middle,bottom,baseline)規定單元格內容的垂直排列方式。 <br>width:值(pixels %)不建議使用。請使用樣式取而代之。規定表格單元格的寬度。 </p> <p>22、標籤:<tr>行<br>作用:標籤定義HTML表格中的行。 <br>屬性:align:值(right,left,center,justify,char)定義表格行的內容對齊方式。 <br>bgcolor:值(rgb(x,x,x)#xxxxxx,colorname)不贊成使用。請使用樣式取而代之。規定表格行的背景顏色。 <br>char:值(character)規定根據哪個字元來進行文字對齊。 <br>charoff:值(number)規定第一個對齊字元的偏移量。 <br>valign:值(top,middle,bottom,baseline)規定表格行內容。 </p> <p>23、標籤:<td>普通欄位<br>作用:標籤定義了定義清單中的項目。 td元素內的文字通常是左對齊。 <br>屬性:abbr:值(text)規定儲存格中內容的縮寫版本。 <br>align:值(left,right,center,justify,char)規定儲存格內容的水平對齊方式。 <br>axis:值(category_name)對單元進行分類。 <br>bgcolor:值(rgb(x,x,x),#xxxxxx,colorname)不贊成使用。請使用樣式取而代之。規定單元格的背景顏色。 <br>char:值(character)規定根據哪個字元來進行內容的對齊。 <br>charoff:值(number)規定對齊字元的偏移量。 <br>colspan:值(number)規定儲存格可橫跨的列數。 <br>headers:值(header_cells'_id)規定與儲存格相關的表頭。 <br>height:值(pixels %)不贊成使用。請使用樣式取而代之。規定表格單元格的高度。 <br>nowrap:值(nowrap)不贊成使用。請使用樣式取而代之。規定儲存格中的內容是否折行。 <br>rowspan:值(number)規定儲存格可橫跨的行數。 <br>scope:值(col,colgroup,row,rowgroup)定義將表頭資料與單元資料相關聯的方法。 <br>valign:值(top,middle,bottom,baseline)規定單元格內容的垂直排列方式。 <br>width:值(pixels %)不贊成使用。請使用樣式取而代之。規定表格單元格的寬度。 </p> <p>24、標籤:<img><br>作用:img元素向網頁中嵌入一幅圖片。 <br>屬性:必要的屬性:src屬性:值(URL)規定顯示圖像的URL和alt屬性:值(text)規定圖像的代替文字。 <br>可選屬性:align:值(top,bottom,middle,left,right)不建議使用。規定如何根據周圍的文字來排列圖像。 <br>border:值(pixels)不建議使用。定義影像周圍的邊框。 <br>height:值(pixels %)定義影像的高度。 <br>hspace:值(pixels)不建議使用,定義影像左側和右側的空白。 <br>ismap:值(URL)將映像定義為伺服器端影像映射。 <br>longdesc:值(URL)指向包含長的圖片描述文件的URL。 <br>usemap:值(URL)將映像定義為客戶器端映像映射。 <br>vspace:值(pixels)不建議使用。定義影像頂部和底部的空白。 <br>width:值(pixels %)設定影像的寬度。 </p> <p>25、標籤:<audio><br>作用:元素能夠播放聲音檔案或音訊串流。 <br>屬性:autoplay:值(autoplay)如果出現該屬性,則音訊在就緒後馬上播放。 <br>controls:值(controls)如果出現該屬性,則向使用者顯示控件,例如播放按鈕。 <br>loop:值(loop)如果出現該屬性,則每當音訊結束時重新開始播放。 <br>muted:值(muted)規定視訊輸出應該被靜音。 <br>preload:值(preload)如果出現該屬性,則音訊在頁面加載時進行加載,並預備播放,如果使用"autoplay",則忽略該屬性。 <br>src:值(url)要播放的音訊URL。 </p> <p>26、標籤<video><br>作用:HTML5規定了一種透過video元素來包含影片的標準方式。 <br>屬性:autoplay:值(autoplay)如果出現該屬性,則影片在就緒後馬上播放。 <br>controls:值(controls)如果出現該屬性,則向使用者顯示控件,例如播放按鈕。 <br>height:值(pixels)設定影片播放器的高度。 <br>loop:值(loop)如果出現該屬性,則當媒介檔案完成播放後再次開始播放。 <br>preload:值(preload)如果出現該屬性,則影片在頁面加載時進行加載,並預備播放。如果使用"autoplay",則忽略該屬性。 <br>src:值(url)要播放的影片的url。 <br>width:值(pixels)設定視訊播放器的寬度。 </p> <p>27、標籤<source><br>作用:標籤為媒介元素,定義媒介資源。 <br>屬性:media:值(media query)規定媒體資源的型別。 <br>src:值(url)規定媒體檔案的URL。 <br>type:值(numeric value)規定媒體資源的MIME型別。 </p> <p>28、標籤:<form><br>作用:標籤用於為使用者輸入建立HTML表單。 <br>屬性:accept:值(MIME_type)HTML5中不支援。 <br>accept-charset:值(charset_list)規定伺服器可處理的表單資料字元集。 <br>action:值(URL)規定提交表單時要向何處傳送表單資料。 <br>autocomplete:值(on,off)規定是否啟用表單的<a href="http://www.php.cn/code/6615.html" target="_blank">自動完成</a>功能。 <br>method:值(get,post)規定用來傳送form-data 的http方法。 <br>name:值(form_name)規定表單的名稱。 <br>target:值(_blank,_self,_parent,_top,foamename)規定在何處開啟 action URL。 </p> <p>29、標籤:<input><br>作用:標籤用來收集使用者資訊。 <br>屬性:accept:值(mime_type)規定透過<a href="http://www.php.cn/code/6649.html" target="_blank">檔案上傳</a>來提交的檔案的類型。 <br>align:值(left,right,top,middle,bottom)不贊成使用。規定影像輸入的對齊方式。 <br>alt:值(text)定義影像輸入的替代文字。 <br>autocomplete:值(on,off)規定是否使用輸入欄位的自動完成功能。 <br>autofocus:值(autofocus)規定輸入欄位在頁面載入時是否獲得焦點。 <br>checked:值(checked)規定此input元素首次載入時應被選取。 <br>disabled:值(disabled)當input元素載入時停用此元素。 <br>form:值(formname)規定輸入欄位所屬的一個或多個表單。 <br>formaction:值(url)覆寫表單的action屬性。 <br>height:值(pixels %)定義input欄位的高度。 <br>list:值(datalist-id)引用包含輸入欄位的預先定義選項的datalist。 <br>max:值(number,date)規定輸入欄位的最大值。 <br>maxlength:值(number)規定輸入欄位中的字元的最大長度。 <br>min:值(number,date)規定輸入欄位的最小值。 <br>name:值(field_name)定義input元素的名稱。 <br>readonly:值(readonly)規定輸入欄位為唯讀。 <br>size:值(number_of_char)定義輸入欄位的寬度。 <br>type:值(button,checkbox,file,hidden,image,password,radio,reset,submit,text)規定input元素的型別。 <br>value:值(value)規定input元素的值。 <br>width:值(pixels,%)定義input欄位的寬度。 </p> <p>30、標籤:<textarea><br>作用:標籤定義多行的文字輸入控制項。 <br>屬性:autofocus:值(autofocus)規定在頁面載入後文字區域自動取得焦點。 <br>cols:值(number)規定文字區內的可見寬度。 <br>disabled:值(disabled)規定停用該文字區。 <br>form:值(form_id)規定文字區域所屬的一個或多個表單。 <br>maxlength:值(number)規定文字區域的最大字元數。 <br>name:值(name_of_textarea)規定文字區的名稱。 <br>placeholder:值(text)規定描述文字區域預期值的簡短提示。 <br>readonly:值(readonly)規定文字區為唯讀。 <br>rows:值(number)規定文字區域的可見行數。 </p> <p>31、標籤:<button><br>作用:標籤定義一個按鈕。 <br>屬性:disabled:值(disabled)規定應該禁用該按鈕。 <br>form:值(form_name)規定按鈕屬於一個或多個表單。 <br>name:值(button_name)規定按鈕的名稱。 <br>type:值(button,reset,submit)規定按鈕的類型。 <br>value:值(text)規定按鈕的初始值。 </p> <p>32、標籤:<select><br>作用:元素可建立單選或多選選單。 <br>屬性:data:值(url)供自動<a href="http://www.php.cn/code/5336.html" target="_blank">插入資料</a>。 <br>disabled:值(true,false)當該屬性為true時,會停用該選單。 <br>form:值(true,false)定義select欄位所屬的一個或多個表單。 <br>multiple:值(true,false)當該屬性為true時,規定可一次選定多個項目。 <br>name:值(unique_name)定義<a href="http://www.php.cn/code/7266.html" target="_blank">下拉清單</a>的唯一識別碼。 <br>size:值(number)定義選單中可見項目的數目。不支援</p> <p>33、標籤:<optgroup><br>作用:標籤定義選項組。 <br>屬性:label:值(text)為選項組規定描述。 <br>disabled:值(disabled)規定停用該選項組。 </p> <p>34、標籤:<option><br>作用:元素定義下拉清單中的一個選項。 <br>屬性:disabled:值(disabled)規定次選項應在首次載入時被停用。 <br>label:值(text)定義使用<optgroup>時所使用的標註。 <br>selected:值(selected)規定選項表現為選取狀態。 <br>value:值(text)定義送到伺服器的選項值。 </p> <p>35、標籤:表單域<br>{<br>  單行文字域:<input type="text" /><br>  密碼文字域:<input type="password" / ><br>  <a href="http://www.php.cn/code/5979.html" target="_blank">單選按鈕</a>:<input type="radio" /><br>  多選按鈕:<input type="checkbox" /><br>  隱藏域: <input type="hidden" /><br>  提交按鈕:<input type="submit" /><br>  重置按鈕:<input type="reset" /><br>  自重 自定義按鈕:<input type="button" /><br>  檔案上傳:<input type="file"/><br>  多行文字域:<textarea /><br> 下拉清單清單域:<select /><br>}</p> <p> </p> <p>#註:可能不是很齊全,但基本上都是一些常用的。 </p><p>以上是HTML5常用的標籤總結的詳細內容。更多資訊請關注PHP中文網其他相關文章!</p></div><div class="nphpQianMsg"><div class="clear"></div></div><div class="nphpQianSheng"><span>陳述:</span><div>本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn</div></div></div><div class="nphpSytBox"><span>上一篇:<a class="dBlack" title="史上最全的標籤總結大全" href="http://m.php.cn/zh-tw/faq/367599.html">史上最全的標籤總結大全</a></span><span>下一篇:<a class="dBlack" title="史上最全的標籤總結大全" href="http://m.php.cn/zh-tw/faq/367601.html">史上最全的標籤總結大全</a></span></div><div class="nphpSytBox2"><div class="nphpZbktTitle"><h2>相關文章</h2><em><a href="http://m.php.cn/zh-tw/article.html" class="bBlack"><i>看更多</i><b></b></a></em><div class="clear"></div></div><ins class="adsbygoogle" style="display:block" data-ad-format="fluid" data-ad-layout-key="-6t+ed+2i-1n-4w" data-ad-client="ca-pub-5902227090019525" data-ad-slot="8966999616"></ins><script> (adsbygoogle = window.adsbygoogle || []).push({}); </script><ul class="nphpXgwzList"><li><b></b><a href="http://m.php.cn/zh-tw/faq/348757.html" title="Html小知識總結" class="aBlack">Html小知識總結</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/zh-tw/faq/348804.html" title="如何快速學習HTML" class="aBlack">如何快速學習HTML</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/zh-tw/faq/348873.html" title="html xhtml xml的區別" class="aBlack">html xhtml xml的區別</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/zh-tw/faq/348884.html" title="src與href屬性的差別" class="aBlack">src與href屬性的差別</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/zh-tw/faq/348902.html" title="關於HTML5和CSS替換使用" class="aBlack">關於HTML5和CSS替換使用</a><div class="clear"></div></li></ul></div></div><ins class="adsbygoogle" style="display:block" data-ad-format="autorelaxed" data-ad-client="ca-pub-5902227090019525" data-ad-slot="5027754603"></ins><script> (adsbygoogle = window.adsbygoogle || []).push({}); </script><div class="nphpFoot"><div class="nphpFootBg"><ul class="nphpFootMenu"><li><a href="http://m.php.cn/zh-tw/"><b class="icon1"></b><p>首頁</p></a></li><li><a href="http://m.php.cn/zh-tw/course.html"><b class="icon2"></b><p>課程</p></a></li><li><a href="http://m.php.cn/zh-tw/wenda.html"><b class="icon4"></b><p>問答</p></a></li><li><a href="http://m.php.cn/zh-tw/login"><b class="icon5"></b><p>我的</p></a></li><div class="clear"></div></ul></div></div><div class="nphpYouBox" style="display: none;"><div class="nphpYouBg"><div class="nphpYouTitle"><span onclick="$('.nphpYouBox').hide()"></span><a href="http://m.php.cn/zh-tw/"></a><div class="clear"></div></div><ul class="nphpYouList"><li><a href="http://m.php.cn/zh-tw/"><b class="icon1"></b><span>首頁</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/zh-tw/course.html"><b class="icon2"></b><span>課程</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/zh-tw/article.html"><b class="icon3"></b><span>文章</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/zh-tw/wenda.html"><b class="icon4"></b><span>問答</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/zh-tw/dic.html"><b class="icon6"></b><span>詞典</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/zh-tw/course/type/99.html"><b class="icon7"></b><span>手册</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/zh-tw/xiazai/"><b class="icon8"></b><span>下載</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/zh-tw/faq/zt" title="專題"><b class="icon12"></b><span>專題</span><div class="clear"></div></a></li><div class="clear"></div></ul></div></div><div class="nphpDing" style="display: none;"><div class="nphpDinglogo"><a href="http://m.php.cn/zh-tw/"></a></div><div class="nphpNavIn1"><div class="swiper-container nphpNavSwiper1"><div class="swiper-wrapper"><div class="swiper-slide"><a href="http://m.php.cn/zh-tw/" >首頁</a></div><div class="swiper-slide"><a href="http://m.php.cn/zh-tw/article.html" class="hover">文章</a></div><div class="swiper-slide"><a href="http://m.php.cn/zh-tw/wenda.html" >問答</a></div><div class="swiper-slide"><a href="http://m.php.cn/zh-tw/course.html" >課程</a></div><div class="swiper-slide"><a href="http://m.php.cn/zh-tw/faq/zt" >專題</a></div><div class="swiper-slide"><a href="http://m.php.cn/zh-tw/xiazai" >下載</a></div><div class="swiper-slide"><a href="http://m.php.cn/zh-tw/game" >遊戲</a></div><div class="swiper-slide"><a href="http://m.php.cn/zh-tw/dic.html" >詞典</a></div><div class="clear"></div></div></div><div class="langadivs" ><a href="javascript:;" class="bg4 bglanguage"></a><div class="langadiv" ><a onclick="javascript:setlang('zh-cn');" class="language course-right-orders chooselan " href="javascript:;"><span>简体中文</span><span>(ZH-CN)</span></a><a onclick="javascript:setlang('en');" class="language course-right-orders chooselan " href="javascript:;"><span>English</span><span>(EN)</span></a><a onclick="javascript:;" class="language course-right-orders chooselan chooselanguage" href="javascript:;"><span>繁体中文</span><span>(ZH-TW)</span></a><a onclick="javascript:setlang('ja');" class="language course-right-orders chooselan " href="javascript:;"><span>日本語</span><span>(JA)</span></a><a onclick="javascript:setlang('ko');" class="language course-right-orders chooselan " href="javascript:;"><span>한국어</span><span>(KO)</span></a><a onclick="javascript:setlang('ms');" class="language course-right-orders chooselan " href="javascript:;"><span>Melayu</span><span>(MS)</span></a><a onclick="javascript:setlang('fr');" class="language course-right-orders chooselan " href="javascript:;"><span>Français</span><span>(FR)</span></a><a onclick="javascript:setlang('de');" class="language course-right-orders chooselan " href="javascript:;"><span>Deutsch</span><span>(DE)</span></a></div></div><script> var swiper = new Swiper('.nphpNavSwiper1', { slidesPerView : 'auto', observer: true,//修改swiper自己或子元素时,自动初始化swiper observeParents: true,//修改swiper的父元素时,自动初始化swiper }); </script></div></div><!--顶部导航 end--><script>isLogin = 0;</script><script type="text/javascript" src="/static/layui/layui.js"></script><script type="text/javascript" src="/static/js/global.js?4.9.47"></script></div><script src="https://vdse.bdstatic.com//search-video.v1.min.js"></script><link rel='stylesheet' id='_main-css' href='/static/css/viewer.min.css' type='text/css' media='all'/><script type='text/javascript' src='/static/js/viewer.min.js?1'></script><script type='text/javascript' src='/static/js/jquery-viewer.min.js'></script><script>jQuery.fn.wait = function (func, times, interval) { var _times = times || -1, //100次 _interval = interval || 20, //20毫秒每次 _self = this, _selector = this.selector, //选择器 _iIntervalID; //定时器id if( this.length ){ //如果已经获取到了,就直接执行函数 func && func.call(this); } else { _iIntervalID = setInterval(function() { if(!_times) { //是0就退出 clearInterval(_iIntervalID); } _times <= 0 || _times--; //如果是正数就 -- _self = $(_selector); //再次选择 if( _self.length ) { //判断是否取到 func && func.call(_self); clearInterval(_iIntervalID); } }, _interval); } return this; } $("table.syntaxhighlighter").wait(function() { $('table.syntaxhighlighter').append("<p class='cnblogs_code_footer'><span class='cnblogs_code_footer_icon'></span></p>"); }); $(document).on("click", ".cnblogs_code_footer",function(){ $(this).parents('table.syntaxhighlighter').css('display','inline-table');$(this).hide(); }); $('.nphpQianCont').viewer({navbar:true,title:false,toolbar:false,movable:false,viewed:function(){$('img').click(function(){$('.viewer-close').trigger('click');});}}); </script></body></html>