成人无码视频,亚洲精品久久久久av无码,午夜精品久久久久久毛片,亚洲 中文字幕 日韩 无码

資訊專欄INFORMATION COLUMN

前端常用屬性/方法/命令積累

wupengyu / 2756人閱讀

摘要:定義表格中的表注內(nèi)容腳注樣式節(jié)標(biāo)簽描述屬性定義文檔的樣式信息。原始值是由從對象下來的所有對象繼承的。方法通常由在后臺自動進(jìn)行調(diào)用,而不是顯式地處于代碼中。

HTML常用標(biāo)簽

其實在w3school上都有詳細(xì)的總結(jié)和描述,寫在這里是為了理清自己的思路,整理比較常用的標(biāo)簽。
原地址:http://www.w3school.com.cn/ta...




   


   //tag

基礎(chǔ)標(biāo)簽
標(biāo)簽 描述
定義文檔類型。
定義 HTML 文檔。
</td> <td>定義文檔的標(biāo)題。</td> </tr> <tr> <td><body></td> <td>定義文檔的主體。</td> </tr> <tr> <td><h1> to <h6></td> <td>定義 HTML 標(biāo)題,塊級元素。</td> </tr> <tr> <td>p</td> <td>定義段落,塊級元素。</td> </tr> <tr> <td>br</td> <td>定義簡單的折行。</td> </tr> <tr> <td>hr</td> <td>定義水平線。</td> </tr> <tr> <td><!--...--></td> <td>定義注釋。</td> </tr> </tbody> </table> <b>格式標(biāo)簽</b> <table> <thead><tr> <th>標(biāo)簽</th> <th>描述</th> </tr></thead> <tbody> <tr> <td>b</td> <td>文本加粗</td> </tr> <tr> <td>strong</td> <td>語義化,文本加粗</td> </tr> <tr> <td>i</td> <td>文本傾斜</td> </tr> <tr> <td>em</td> <td>語義化,文本傾斜</td> </tr> <tr> <td>s</td> <td>文本添加刪除線(不贊成)</td> </tr> <tr> <td>del</td> <td>文本添加刪除線</td> </tr> <tr> <td>u</td> <td>文本添加下劃線(不贊成)</td> </tr> <tr> <td><ins></td> <td>文本添加下劃線</td> </tr> <tr> <td>center</td> <td>定義居中文本(不贊成)</td> </tr> <tr> <td>font</td> <td>定義文本的字體、顏色、尺寸(不建議)</td> </tr> <tr> <td>sup</td> <td>上標(biāo)文本</td> </tr> <tr> <td>sub</td> <td>下標(biāo)文本</td> </tr> </tbody> </table> <b>表單標(biāo)簽</b> <p>說明:標(biāo)簽后面帶*,說明是單標(biāo)簽</p> <table> <thead><tr> <th>標(biāo)簽</th> <th>描述</th> <th>屬性</th> </tr></thead> <tbody> <tr> <td>form</td> <td>為用戶輸入創(chuàng)建HTML表單,用于向服務(wù)器傳輸數(shù)據(jù),塊級元素</td> <td>action/method</td> </tr> <tr> <td>input*</td> <td>文本輸入框,行內(nèi)塊</td> <td>type(text/button/checkbox/password/radio/submit)/value</td> </tr> <tr> <td>textarea*</td> <td>多行文本輸入框</td> <td>rows/cols</td> </tr> <tr> <td>button*</td> <td>按鈕</td> <td>type="button"/value</td> </tr> <tr> <td>select</td> <td>下拉選擇列表,內(nèi)嵌option標(biāo)簽</td> <td>/</td> </tr> <tr> <td>option</td> <td>select選擇列表中的選項</td> <td>value</td> </tr> <tr> <td>optgroup</td> <td>選擇列表中選項的組合,不能選中,內(nèi)嵌option標(biāo)簽</td> <td>label="華北"</td> </tr> <tr> <td>label</td> <td>為input元素定義標(biāo)記</td> <td>for(類似id)</td> </tr> <tr> <td>fieldset</td> <td>在form中,定義圍繞表單中元素的邊框,可分類打包</td> <td>/</td> </tr> <tr> <td>legend</td> <td>為fieldset元素定義標(biāo)題</td> <td>/</td> </tr> </tbody> </table> <b>框架標(biāo)簽</b> <table> <thead><tr> <th>標(biāo)簽</th> <th>描述</th> <th>屬性</th> </tr></thead> <tbody> <tr> <td>frameset</td> <td>框架集,內(nèi)嵌frame</td> <td>rows/cols</td> </tr> <tr> <td>frame</td> <td>框架</td> <td>src</td> </tr> <tr> <td>noframes</td> <td>在frameset中添加非frame標(biāo)簽,用于在瀏覽器不支持frame的時候顯示文本,包括在body標(biāo)簽內(nèi)部</td> <td>/</td> </tr> <tr> <td>iframe</td> <td>創(chuàng)建包含另外一個文檔的內(nèi)聯(lián)框架(即行內(nèi)框架</td> <td>src/scrolling/width/height</td> </tr> </tbody> </table> <b>圖像標(biāo)簽</b> <table> <thead><tr> <th>標(biāo)簽</th> <th>描述</th> <th>屬性</th> </tr></thead> <tbody> <tr> <td>img*</td> <td>圖像,行內(nèi)塊</td> <td>src/alt(替代文本)</td> </tr> <tr> <td>canvas</td> <td>圖形容器,必須用JS腳本來繪制圖形</td> <td>width/height</td> </tr> </tbody> </table> <b>音頻/視頻</b> <table> <thead><tr> <th>標(biāo)簽</th> <th>描述</th> <th>屬性</th> </tr></thead> <tbody> <tr> <td>audio</td> <td>音頻</td> <td>src/controls(顯示控件)</td> </tr> <tr> <td>source*</td> <td>內(nèi)嵌于<audio controls>,定義多個媒介資源,由瀏覽器自動選擇支持的類型</td> <td>src/type</td> </tr> <tr> <td>video</td> <td>視頻</td> <td>src/controls(顯示控件)</td> </tr> </tbody> </table> <b>鏈接</b> <table> <thead><tr> <th>標(biāo)簽</th> <th>描述</th> <th>屬性</th> </tr></thead> <tbody> <tr> <td>a</td> <td>超鏈接,行元素</td> <td>href</td> </tr> <tr> <td>link*</td> <td>鏈接外部樣式</td> <td>rel="stylesheet"/type="text/css"/href="main.css"</td> </tr> <tr> <td>nav</td> <td>導(dǎo)航鏈接,內(nèi)嵌a標(biāo)簽</td> <td>/</td> </tr> </tbody> </table> <b>列表</b> <table> <thead><tr> <th>標(biāo)簽</th> <th>描述</th> <th>屬性</th> </tr></thead> <tbody> <tr> <td>ul-li</td> <td>無序列表</td> <td>/</td> </tr> <tr> <td>ol-li</td> <td>有序列表</td> <td>/</td> </tr> <tr> <td>dl-dt-dd</td> <td>自定義列表</td> <td>/</td> </tr> </tbody> </table> <p></p> <b>表格</b> <table> <thead><tr> <th>標(biāo)簽</th> <th>描述</th> </tr></thead> <tbody> <tr> <td><table></td> <td>定義表格</td> </tr> <tr> <td><caption></td> <td>定義表格標(biāo)題。</td> </tr> <tr> <td><th></td> <td>定義表格中的表頭單元格。</td> </tr> <tr> <td><tr></td> <td>定義表格中的行。</td> </tr> <tr> <td><td></td> <td>定義表格中的單元。</td> </tr> <tr> <td><thead></td> <td>定義表格中的表頭內(nèi)容。</td> </tr> <tr> <td><tbody></td> <td>定義表格中的主體內(nèi)容。</td> </tr> <tr> <td><tfoot></td> <td>定義表格中的表注內(nèi)容(腳注)</td> </tr> </tbody> </table> <pre> <table> <thead> <tr> <th></th> </tr> </thead> <tbody> <tr> <td></td> </tr> </tbody> <tfoot> <tr> <td></td> </tr> </tfoot> </table></pre> <b>樣式/節(jié)</b> <table> <thead><tr> <th>標(biāo)簽</th> <th>描述</th> <th>屬性</th> </tr></thead> <tbody> <tr> <td><style></td> <td>定義文檔的樣式信息。</td> <td>type="text/css"</td> </tr> <tr> <td><div></td> <td>定義文檔中的節(jié)。</td> <td> </td> </tr> <tr> <td><span></td> <td>定義文檔中的節(jié),組合行內(nèi)元素</td> <td> </td> </tr> <tr> <td><header></td> <td>定義 section 或 page 的頁眉。</td> <td> </td> </tr> <tr> <td><footer></td> <td>定義 section 或 page 的頁腳。</td> <td> </td> </tr> <tr> <td><section></td> <td>定義 section。</td> <td> </td> </tr> <tr> <td><article></td> <td>定義文章。</td> <td> </td> </tr> </tbody> </table> <b>元信息</b> <table> <thead><tr> <th>標(biāo)簽</th> <th>描述</th> <th>屬性</th> </tr></thead> <tbody><tr> <td>meta*</td> <td>頁面的元信息</td> <td>content(必須,http-equiv、name)/http-equiv/name</td> </tr></tbody> </table> <pre><meta name="keywords" content="Java培訓(xùn),web前端">//給SEO搜索引擎看的 <meta name="description" content="我們是正規(guī)的培訓(xùn)機(jī)構(gòu)XXX">//給用戶搜索看的簡介 <meta name="http-equiv" content="5;http://www.baidu.com">//網(wǎng)頁重定向</pre> <b>編程</b> <table> <thead><tr> <th>標(biāo)簽</th> <th>描述</th> <th>屬性</th> </tr></thead> <tbody><tr> <td></p> <p></p> <b>transform</b> <pre>div { transform:rotate(7deg); -ms-transform:rotate(7deg); /* IE 9 */ -moz-transform:rotate(7deg); /* Firefox */ -webkit-transform:rotate(7deg); /* Safari 和 Chrome */ -o-transform:rotate(7deg); /* Opera */ }</pre> <p></p> <b>JS</b> <b>String</b> <b>屬性</b> <p><strong>legth</strong></p> <pre>var str = "123"; str.length;//3</pre> <b>方法</b> <p><strong>substring()</strong></p> <pre>stringObject.substring(start,stop) //提取子字符串,從 start 處到 stop-1 處的所有字符 //如果 start 比 stop 大,那么該方法在提取子串之前會先交換這兩個參數(shù) //不接受負(fù)的參數(shù) var str="How are you doing today?" str.substring(2,3);//"ow"</pre> <p><strong>slice()</strong></p> <pre>stringObject.slice(start,end) //從 start 開始(包括 start)到 end 結(jié)束(不包括 end)為止的所有字符 //如果start/end是負(fù)數(shù),則該參數(shù)規(guī)定的是從字符串的尾部開始算起的位置。也就是說,-1 指字符串的最后一個字符,-2 指倒數(shù)第二個字符,以此類推。 var str="How are you doing today?" str.slice(-3,-1)//"ay" //(-1,-3)返回的時"" </pre> <p><strong>split()</strong></p> <pre>stringObject.split(separator,howmany) //返回一個字符串?dāng)?shù)組,從參數(shù)separator指定的地方分割 stringObject //如果 separator 是包含子表達(dá)式的正則表達(dá)式,那么返回的數(shù)組中包括與這些子表達(dá)式匹配的字串(但不包括與整個正則表達(dá)式匹配的文本)</pre> <p>注釋:String.split() 執(zhí)行的操作與 Array.join 執(zhí)行的操作是相反的</p> <p><strong>indexOf()</strong></p> <pre>stringObject.indexOf(searchvalue,fromindex) //檢索指定的字符串值searchvalue在字符串中首次出現(xiàn)的位置,fromindex指的是開始檢索的位置 //不存在的時候返回-1</pre> <p><strong>lastindexOf()</strong></p> <pre>stringObject.lastIndexOf(searchvalue,fromindex) //返回一個指定的字符串值最后出現(xiàn)的位置,在一個字符串中的指定位置從后向前搜索。</pre> <p><strong>charAt()</strong></p> <pre>stringObject.charAt(index) //返回指定位置的字符</pre> <p><strong>contact()</strong></p> <pre>stringObject.concat(stringX,stringX,...,stringX) //連接兩個或多個字符串</pre> <p><strong>match()</strong></p> <pre>stringObject.match(searchvalue) stringObject.match(regexp) //在字符串內(nèi)檢索指定的值,或找到一個或多個正則表達(dá)式的匹配. //與indexOf()不同,match返回的是匹配到的值,而indexOf返回的是位置</pre> <p><strong>replace()</strong></p> <pre>stringObject.replace(regexp/substr,replacement) //在字符串中用一些字符替換另一些字符,或替換一個與正則表達(dá)式匹配的子串 //對大小寫不敏感</pre> <p><strong>search()</strong></p> <pre>stringObject.search(regexp) //返回stringObject 中第一個與 regexp 相匹配的子串的起始位置 //從字符串的開始進(jìn)行檢索</pre> <p><strong>valueOf()</strong></p> <pre>stringObject.valueOf() //valueOf() 方法可返回 String 對象的原始值。 //原始值是由從 String 對象下來的所有對象繼承的。 //valueOf() 方法通常由 JavaScript 在后臺自動進(jìn)行調(diào)用,而不是顯式地處于代碼中。</pre> <p><strong>toString()</strong></p> <pre>stringObject.toString() //返回原始字符串值</pre> <p>今日頭條面試題:<br>www.baidu.com.cn==>cn.com.baidu.www</p> <pre>var arry = str.split(".")-->var newArry = arry.reverse()-->newArry.join(".")</pre> <b>Array</b> <p>(2019.1.7更)</p> <b>創(chuàng)建數(shù)組的方法</b> <p><strong>數(shù)組字面量法</strong></p> <pre>var array = [1,2,3];</pre> <p><strong>構(gòu)造函數(shù)法</strong></p> <pre>var array = new Array(/n/1,2,3);</pre> <b>屬性</b> <p><strong>length</strong></p> <pre>array.length;</pre> <b>方法</b> <p><strong>concat()</strong></p> <pre>arrayObject.concat(arrayX,arrayX,......,arrayX) //在arrayObject后面連接兩個或多個數(shù)組,返回一個新數(shù)組 //不改變現(xiàn)有數(shù)組</pre> <p><strong>join()</strong></p> <pre>arrayObject.join(separator) //以separator作為分隔符,把數(shù)組中的元素放入字符串 //與String對象的split()方法相反</pre> <p><strong>pop()</strong></p> <pre>arrayObject.pop() //刪除數(shù)組的最后一個元素,并返回該元素</pre> <p><strong>shift()</strong></p> <pre>arrayObject.shift() //刪除數(shù)組的第一個元素,并返回該元素</pre> <p><strong>push()</strong></p> <pre>arrayObject.push(newelement1,newelement2,....,newelementX) //添加一個或更多元素到數(shù)組的末尾,并返回新的數(shù)組長度</pre> <p><strong>unshift()</strong></p> <pre>arrayObject.unshift(newelement1,newelement2,....,newelementX) //添加一個或更多元素到數(shù)組的開頭,并返回新的數(shù)組長度</pre> <p><strong>reverse()</strong></p> <pre>arrayObject.reverse() //反轉(zhuǎn)數(shù)組 //注意:改變的是原來的數(shù)組,不會創(chuàng)建新數(shù)組</pre> <p><strong>slice()</strong></p> <pre>arrayObject.slice(start,end) //返回已有數(shù)組從start到end(不包括)的元素 //返回一個子數(shù)組,不改變原數(shù)組</pre> <p><strong>splice()</strong></p> <pre>arrayObject.splice(index,howmany,item1,.....,itemX) //刪除從index開始的howmany(可以為0)個元素,并從刪除的位置開始添加新的元素到原數(shù)組 //返回數(shù)組,改變原數(shù)組</pre> <p><strong>sort()</strong></p> <pre>arrayObject.sort(sortby) //對數(shù)組元素排序,在原數(shù)組上進(jìn)行 //默認(rèn)按照字母順序進(jìn)行排序</pre> <p>如果想按照其他標(biāo)準(zhǔn)進(jìn)行排序,就需要提供比較函數(shù),該函數(shù)要比較兩個值,然后返回一個用于說明這兩個值的相對順序的數(shù)字。比較函數(shù)應(yīng)該具有兩個參數(shù) a 和 b,其返回值如下:</p> <pre>- 若 a 小于 b,在排序后的數(shù)組中 a 應(yīng)該出現(xiàn)在 b 之前,則返回一個小于 0 的值。 - 若 a 等于 b,則返回 0。 - 若 a 大于 b,則返回一個大于 0 的值。</pre> <pre>function sortNum(a,b) { return a - b;//升序 //return b - a;//降序 } array.sort(sortNum);//數(shù)值字符串?dāng)?shù)組按照數(shù)值的大小對數(shù)字排序</pre> <p><strong>toString()</strong></p> <pre>array.toString() //把數(shù)組轉(zhuǎn)換為字符串,并返回該字符串</pre> <p><br><strong>valueOf()</strong></p> <pre>array.valueOf() //返回數(shù)組對象的原始值</pre> <p><br></p> <b>對比String和Array</b> <table> <thead><tr> <th>String</th> <th>Array</th> </tr></thead> <tbody> <tr> <td>slice</td> <td>slice</td> </tr> <tr> <td>split</td> <td>join</td> </tr> <tr> <td>concat</td> <td>concat</td> </tr> </tbody> </table> <p>注意:Array里面slice和splice的區(qū)別——slice返回子數(shù)組,且不會改變原數(shù)組;splice從某個位置刪除數(shù)組內(nèi)元素,并添加新元素,改變原數(shù)組。</p> </div> <div id="6a22guqa" class="mt-64 tags-seach" > <div id="6a22guqa" class="tags-info"> <a style="width:120px;" title="GPU云服務(wù)器" href="http://m.hztianpu.com/site/product/gpu.html">GPU云服務(wù)器</a> <a style="width:120px;" title="云服務(wù)器" href="http://m.hztianpu.com/site/active/kuaijiesale.html?ytag=seo">云服務(wù)器</a> <a style="width:120px;" title="屬性定義方法" href="http://m.hztianpu.com/yun/tag/shuxingdingyifangfa/">屬性定義方法</a> <a style="width:120px;" title="linux常用常用命令" href="http://m.hztianpu.com/yun/tag/linuxchangyongchangyongmingling/">linux常用常用命令</a> <a style="width:120px;" title="方法屬性 java" href="http://m.hztianpu.com/yun/tag/fangfashuxing java/">方法屬性 java</a> <a style="width:120px;" title="linux命令常用命令" href="http://m.hztianpu.com/yun/tag/linuxminglingchangyongmingling/">linux命令常用命令</a> </div> </div> <div id="6a22guqa" class="entry-copyright mb-30"> <p class="mb-15"> 文章版權(quán)歸作者所有,未經(jīng)允許請勿轉(zhuǎn)載,若此文章存在違規(guī)行為,您可以聯(lián)系管理員刪除。</p> <p>轉(zhuǎn)載請注明本文地址:http://m.hztianpu.com/yun/117184.html</p> </div> <ul class="pre-next-page"> <li id="6a22guqa" class="ellipsis"><a class="hpf" href="http://m.hztianpu.com/yun/117183.html">上一篇:不要再問我移動適配的問題了</a></li> <li id="6a22guqa" class="ellipsis"><a class="hpf" href="http://m.hztianpu.com/yun/117185.html">下一篇:從“雅虎軍規(guī)”看性能優(yōu)化</a></li> </ul> </div> <div id="6a22guqa" class="about_topicone-mid"> <h3 class="top-com-title mb-0"><span data-id="0">相關(guān)文章</span></h3> <ul class="com_white-left-mid atricle-list-box"> <li> <div id="6a22guqa" class="atricle-list-right"> <h2 class="ellipsis2"><a class="hpf" href="http://m.hztianpu.com/yun/53530.html"><b><em>前端</em><em>常用</em><em>屬性</em>/<em>方法</em>/<em>命令</em><em>積累</em></b></a></h2> <p class="ellipsis2 good">摘要:定義表格中的表注內(nèi)容腳注樣式節(jié)標(biāo)簽描述屬性定義文檔的樣式信息。原始值是由從對象下來的所有對象繼承的。方法通常由在后臺自動進(jìn)行調(diào)用,而不是顯式地處于代碼中。 HTML常用標(biāo)簽 其實在w3school上都有詳細(xì)的總結(jié)和描述,寫在這里是為了理清自己的思路,整理比較常用的標(biāo)簽。原地址:http://www.w3school.com.cn/ta... //tag 基礎(chǔ)...</p> <div id="6a22guqa" class="com_white-left-info"> <div id="6a22guqa" class="com_white-left-infol"> <a href="http://m.hztianpu.com/yun/u-136.html"><img src="http://m.hztianpu.com/yun/data/avatar/000/00/01/small_000000136.jpg" alt=""><span id="6a22guqa" class="layui-hide64">lastSeries</span></a> <time datetime="">2019-08-02 14:02</time> <span><i class="fa fa-commenting"></i>評論0</span> <span><i class="fa fa-star"></i>收藏0</span> </div> </div> </div> </li> <li> <div id="6a22guqa" class="atricle-list-right"> <h2 class="ellipsis2"><a class="hpf" href="http://m.hztianpu.com/yun/100742.html"><b><em>前端</em><em>常用</em><em>屬性</em>/<em>方法</em>/<em>命令</em><em>積累</em></b></a></h2> <p class="ellipsis2 good">摘要:定義表格中的表注內(nèi)容腳注樣式節(jié)標(biāo)簽描述屬性定義文檔的樣式信息。原始值是由從對象下來的所有對象繼承的。方法通常由在后臺自動進(jìn)行調(diào)用,而不是顯式地處于代碼中。 HTML常用標(biāo)簽 其實在w3school上都有詳細(xì)的總結(jié)和描述,寫在這里是為了理清自己的思路,整理比較常用的標(biāo)簽。原地址:http://www.w3school.com.cn/ta... //tag 基礎(chǔ)...</p> <div id="6a22guqa" class="com_white-left-info"> <div id="6a22guqa" class="com_white-left-infol"> <a href="http://m.hztianpu.com/yun/u-657.html"><img src="http://m.hztianpu.com/yun/data/avatar/000/00/06/small_000000657.jpg" alt=""><span id="6a22guqa" class="layui-hide64">xcold</span></a> <time datetime="">2019-08-23 14:31</time> <span><i class="fa fa-commenting"></i>評論0</span> <span><i class="fa fa-star"></i>收藏0</span> </div> </div> </div> </li> <li> <div id="6a22guqa" class="atricle-list-right"> <h2 class="ellipsis2"><a class="hpf" href="http://m.hztianpu.com/yun/97721.html"><b><em>前端</em><em>常用</em>函數(shù)<em>積累</em></b></a></h2> <p class="ellipsis2 good">摘要:參數(shù)對象數(shù)組,需要排序的目標(biāo)要按排序的對象屬性名稱排序的方向,為從小到大是否使用模式,默認(rèn)為,注意,使用該參數(shù)時前面的必須傳入。使用場景想要排列一個對象數(shù)組,條件是根據(jù)這些對象中的某個屬性。 cdd-lib 個人常用庫積累 說明 本庫是完全的es2015模塊語法,也使用了ts源碼。所以使用commonjs方式導(dǎo)致不可用。 路徑和引用說明 /index.js 根路徑的index.js文件...</p> <div id="6a22guqa" class="com_white-left-info"> <div id="6a22guqa" class="com_white-left-infol"> <a href="http://m.hztianpu.com/yun/u-863.html"><img src="http://m.hztianpu.com/yun/data/avatar/000/00/08/small_000000863.jpg" alt=""><span id="6a22guqa" class="layui-hide64">ACb0y</span></a> <time datetime="">2019-08-23 11:57</time> <span><i class="fa fa-commenting"></i>評論0</span> <span><i class="fa fa-star"></i>收藏0</span> </div> </div> </div> </li> <li> <div id="6a22guqa" class="atricle-list-right"> <h2 class="ellipsis2"><a class="hpf" href="http://m.hztianpu.com/yun/115635.html"><b><em>常用</em><em>前端</em>知識<em>積累</em></b></a></h2> <p class="ellipsis2 good">摘要:閉包的理解使用閉包主要是為了設(shè)計私有的方法和變量。只在中存放不敏感數(shù)據(jù),即使被盜也不會有重大損失。每個最多只能有條,每個長度不能超過,否則會被截掉。有些狀態(tài)不可能保存在客戶端。例如,為了防止重復(fù)提交表單,我們需要在服務(wù)器端保存一個計數(shù)器。 閉包的理解 使用閉包主要是為了設(shè)計私有的方法和變量。 優(yōu)點是可以避免全局變量的污染, 缺點是閉包會常駐內(nèi)存,會增大內(nèi)存使用量,使用不當(dāng)很容易造成內(nèi)存...</p> <div id="6a22guqa" class="com_white-left-info"> <div id="6a22guqa" class="com_white-left-infol"> <a href="http://m.hztianpu.com/yun/u-1678.html"><img src="http://m.hztianpu.com/yun/data/avatar/000/00/16/small_000001678.jpg" alt=""><span id="6a22guqa" class="layui-hide64">B0B0</span></a> <time datetime="">2019-08-30 13:55</time> <span><i class="fa fa-commenting"></i>評論0</span> <span><i class="fa fa-star"></i>收藏0</span> </div> </div> </div> </li> <li> <div id="6a22guqa" class="atricle-list-right"> <h2 class="ellipsis2"><a class="hpf" href="http://m.hztianpu.com/yun/107180.html"><b><em>常用</em><em>前端</em>知識<em>積累</em></b></a></h2> <p class="ellipsis2 good">摘要:閉包的理解使用閉包主要是為了設(shè)計私有的方法和變量。只在中存放不敏感數(shù)據(jù),即使被盜也不會有重大損失。每個最多只能有條,每個長度不能超過,否則會被截掉。有些狀態(tài)不可能保存在客戶端。例如,為了防止重復(fù)提交表單,我們需要在服務(wù)器端保存一個計數(shù)器。 閉包的理解 使用閉包主要是為了設(shè)計私有的方法和變量。 優(yōu)點是可以避免全局變量的污染, 缺點是閉包會常駐內(nèi)存,會增大內(nèi)存使用量,使用不當(dāng)很容易造成內(nèi)存...</p> <div id="6a22guqa" class="com_white-left-info"> <div id="6a22guqa" class="com_white-left-infol"> <a href="http://m.hztianpu.com/yun/u-1036.html"><img src="http://m.hztianpu.com/yun/data/avatar/000/00/10/small_000001036.jpg" alt=""><span id="6a22guqa" class="layui-hide64">haobowd</span></a> <time datetime="">2019-08-26 11:35</time> <span><i class="fa fa-commenting"></i>評論0</span> <span><i class="fa fa-star"></i>收藏0</span> </div> </div> </div> </li> </ul> </div> <div id="6a22guqa" class="topicone-box-wangeditor"> <h3 class="top-com-title mb-64"><span>發(fā)表評論</span></h3> <div id="6a22guqa" class="xcp-publish-main flex_box_zd"> <div id="6a22guqa" class="unlogin-pinglun-box"> <a href="javascript:login()" class="grad">登陸后可評論</a> </div> </div> </div> <div id="6a22guqa" class="site-box-content"> <div id="6a22guqa" class="site-content-title"> <h3 class="top-com-title mb-64"><span>0條評論</span></h3> </div> <div id="6a22guqa" class="pages"></ul></div> </div> </div> <div id="6a22guqa" class="layui-col-md4 layui-col-lg3 com_white-right site-wrap-right"> <div id="6a22guqa" class=""> <div id="6a22guqa" class="com_layuiright-box user-msgbox"> <a href="http://m.hztianpu.com/yun/u-760.html"><img src="http://m.hztianpu.com/yun/data/avatar/000/00/07/small_000000760.jpg" alt=""></a> <h3><a href="http://m.hztianpu.com/yun/u-760.html" rel="nofollow">wupengyu</a></h3> <h6>男<span>|</span>高級講師</h6> <div id="6a22guqa" class="flex_box_zd user-msgbox-atten"> <a href="javascript:attentto_user(760)" id="attenttouser_760" class="grad follow-btn notfollow attention">我要關(guān)注</a> <a href="javascript:login()" title="發(fā)私信" >我要私信</a> </div> <div id="6a22guqa" class="user-msgbox-list flex_box_zd"> <h3 class="hpf">TA的文章</h3> <a href="http://m.hztianpu.com/yun/ut-760.html" class="box_hxjz">閱讀更多</a> </div> <ul class="user-msgbox-ul"> <li><h3 class="ellipsis"><a href="http://m.hztianpu.com/yun/130872.html">tensorflow</a></h3> <p>閱讀 3157<span>·</span>2023-04-26 00:53</p></li> <li><h3 class="ellipsis"><a href="http://m.hztianpu.com/yun/124005.html">騰訊云基礎(chǔ)網(wǎng)絡(luò)產(chǎn)品下線通知:2022年1月31日停止基礎(chǔ)網(wǎng)絡(luò)產(chǎn)品創(chuàng)建</a></h3> <p>閱讀 3617<span>·</span>2021-11-19 09:58</p></li> <li><h3 class="ellipsis"><a href="http://m.hztianpu.com/yun/121521.html">工作5年后我才發(fā)現(xiàn):90%的技術(shù)問題,可以解決</a></h3> <p>閱讀 1775<span>·</span>2021-09-29 09:35</p></li> <li><h3 class="ellipsis"><a href="http://m.hztianpu.com/yun/121434.html">RangCloud:慶國慶活動,香港CN2+BGP線路VPS七折優(yōu)惠;1核/1G套餐月付13.8元起</a></h3> <p>閱讀 3369<span>·</span>2021-09-28 09:46</p></li> <li><h3 class="ellipsis"><a href="http://m.hztianpu.com/yun/120547.html">如何搭建虛擬主機(jī)-如何在虛擬主機(jī)上搭建一個網(wǎng)站?</a></h3> <p>閱讀 3966<span>·</span>2021-09-22 15:38</p></li> <li><h3 class="ellipsis"><a href="http://m.hztianpu.com/yun/117184.html">前端常用屬性/方法/命令積累</a></h3> <p>閱讀 2757<span>·</span>2019-08-30 15:55</p></li> <li><h3 class="ellipsis"><a href="http://m.hztianpu.com/yun/100206.html">基本排序算法</a></h3> <p>閱讀 3086<span>·</span>2019-08-23 14:10</p></li> <li><h3 class="ellipsis"><a href="http://m.hztianpu.com/yun/95691.html">isNaN的理解</a></h3> <p>閱讀 3898<span>·</span>2019-08-22 18:17</p></li> </ul> </div> <!-- 文章詳情右側(cè)廣告--> <div id="6a22guqa" class="com_layuiright-box"> <h6 class="top-com-title"><span>最新活動</span></h6> <div id="6a22guqa" class="com_adbox"> <div id="6a22guqa" class="layui-carousel" id="right-item"> <div carousel-item> <div> <a href="http://m.hztianpu.com/site/active/kuaijiesale.html?ytag=seo" rel="nofollow"> <img src="http://m.hztianpu.com/yun/data/attach/240625/2rTjEHmi.png" alt="云服務(wù)器"> </a> </div> <div> <a href="http://m.hztianpu.com/site/product/gpu.html" rel="nofollow"> <img src="http://m.hztianpu.com/yun/data/attach/240807/7NjZjdrd.png" alt="GPU云服務(wù)器"> </a> </div> </div> </div> </div> <!-- banner結(jié)束 --> <div id="6a22guqa" class="adhtml"> </div> </div> </div> </div> </div> </div> </section> <!-- wap拉出按鈕 --> <div id="6a22guqa" class="site-tree-mobile layui-hide"> <i class="layui-icon layui-icon-spread-left"></i> </div> <!-- wap遮罩層 --> <div id="6a22guqa" class="site-mobile-shade"></div> <!--付費閱讀 --> <div class="6a22guqa" id="payread"> <div id="6a22guqa" class="layui-form-item">閱讀需要支付1元查看</div> <div id="6a22guqa" class="layui-form-item"><button class="btn-right">支付并查看</button></div> </div> <link rel="stylesheet" type="text/css" href="http://m.hztianpu.com/yun/static/js/neweditor/code/styles/tomorrow-night-eighties.css"> <footer> <div id="6a22guqa" class="layui-container"> <div id="6a22guqa" class="flex_box_zd"> <div id="6a22guqa" class="left-footer"> <h6><a href="http://m.hztianpu.com/"><img src="http://m.hztianpu.com/yun/static/theme/ukd//images/logo.png" alt="UCloud (優(yōu)刻得科技股份有限公司)"></a></h6> <p>UCloud (優(yōu)刻得科技股份有限公司)是中立、安全的云計算服務(wù)平臺,堅持中立,不涉足客戶業(yè)務(wù)領(lǐng)域。公司自主研發(fā)IaaS、PaaS、大數(shù)據(jù)流通平臺、AI服務(wù)平臺等一系列云計算產(chǎn)品,并深入了解互聯(lián)網(wǎng)、傳統(tǒng)企業(yè)在不同場景下的業(yè)務(wù)需求,提供公有云、混合云、私有云、專有云在內(nèi)的綜合性行業(yè)解決方案。</p> </div> <div id="6a22guqa" class="right-footer layui-hidemd"> <ul class="flex_box_zd"> <li> <h6>UCloud與云服務(wù)</h6> <p><a href="http://m.hztianpu.com/site/about/intro/">公司介紹</a></p> <p><a >加入我們</a></p> <p><a href="http://m.hztianpu.com/site/ucan/onlineclass/">UCan線上公開課</a></p> <p><a href="http://m.hztianpu.com/site/solutions.html" >行業(yè)解決方案</a></p> <p><a href="http://m.hztianpu.com/site/pro-notice/">產(chǎn)品動態(tài)</a></p> </li> <li> <h6>友情鏈接</h6> <p><a >GPU算力平臺</a></p> <p><a >UCloud私有云</a></p> <p><a >SurferCloud</a></p> <p><a >工廠仿真軟件</a></p> <p><a >AI繪畫</a></p> <p><a >Wavespeed AI</a></p> </li> <li> <h6>社區(qū)欄目</h6> <p><a href="http://m.hztianpu.com/yun/column/index.html">專欄文章</a></p> <p><a href="http://m.hztianpu.com/yun/udata/">專題地圖</a></p> </li> <li> <h6>常見問題</h6> <p><a href="http://m.hztianpu.com/site/ucsafe/notice.html" >安全中心</a></p> <p><a href="http://m.hztianpu.com/site/about/news/recent/" >新聞動態(tài)</a></p> <p><a href="http://m.hztianpu.com/site/about/news/report/">媒體動態(tài)</a></p> <p><a href="http://m.hztianpu.com/site/cases.html">客戶案例</a></p> <p><a href="http://m.hztianpu.com/site/notice/">公告</a></p> </li> <li> <span><img src="https://static.ucloud.cn/7a4b6983f4b94bcb97380adc5d073865.png" alt="優(yōu)刻得"></span> <p>掃掃了解更多</p></div> </div> <div id="6a22guqa" class="copyright">Copyright ? 2012-2025 UCloud 優(yōu)刻得科技股份有限公司<i>|</i><a rel="nofollow" >滬公網(wǎng)安備 31011002000058號</a><i>|</i><a rel="nofollow" ></a> 滬ICP備12020087號-3</a><i>|</i> <!-- Global site tag (gtag.js) - Google Analytics --> </div> </div> </footer> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <h1><a href="http://m.hztianpu.com/">成人无码视频,亚洲精品久久久久av无码,午夜精品久久久久久毛片,亚洲 中文字幕 日韩 无码</a></h1> <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="5lpv7" class="pl_css_ganrao" style="display: none;"><acronym id="5lpv7"><legend id="5lpv7"><dfn id="5lpv7"><u id="5lpv7"></u></dfn></legend></acronym><mark id="5lpv7"><form id="5lpv7"></form></mark><optgroup id="5lpv7"><ruby id="5lpv7"></ruby></optgroup><style id="5lpv7"><nobr id="5lpv7"></nobr></style><strong id="5lpv7"><optgroup id="5lpv7"></optgroup></strong><track id="5lpv7"><b id="5lpv7"></b></track><optgroup id="5lpv7"><ruby id="5lpv7"><thead id="5lpv7"><big id="5lpv7"></big></thead></ruby></optgroup><i id="5lpv7"><listing id="5lpv7"></listing></i><th id="5lpv7"><tt id="5lpv7"></tt></th><track id="5lpv7"></track><meter id="5lpv7"></meter><style id="5lpv7"><nobr id="5lpv7"></nobr></style><dfn id="5lpv7"></dfn><dfn id="5lpv7"><output id="5lpv7"><sub id="5lpv7"><thead id="5lpv7"></thead></sub></output></dfn><menuitem id="5lpv7"><span id="5lpv7"><strike id="5lpv7"><strong id="5lpv7"></strong></strike></span></menuitem><track id="5lpv7"></track><label id="5lpv7"><strong id="5lpv7"></strong></label><label id="5lpv7"><pre id="5lpv7"><th id="5lpv7"><tt id="5lpv7"></tt></th></pre></label><form id="5lpv7"><p id="5lpv7"><var id="5lpv7"><form id="5lpv7"></form></var></p></form><strike id="5lpv7"></strike><pre id="5lpv7"><i id="5lpv7"><nobr id="5lpv7"><small id="5lpv7"></small></nobr></i></pre><big id="5lpv7"><dl id="5lpv7"><strong id="5lpv7"><ruby id="5lpv7"></ruby></strong></dl></big><ins id="5lpv7"><address id="5lpv7"></address></ins><th id="5lpv7"></th><menuitem id="5lpv7"><span id="5lpv7"></span></menuitem><label id="5lpv7"></label><font id="5lpv7"><div id="5lpv7"><ol id="5lpv7"><label id="5lpv7"></label></ol></div></font><track id="5lpv7"><tt id="5lpv7"><progress id="5lpv7"><dl id="5lpv7"></dl></progress></tt></track><dl id="5lpv7"><pre id="5lpv7"></pre></dl><sub id="5lpv7"></sub><div id="5lpv7"><sup id="5lpv7"><label id="5lpv7"><rp id="5lpv7"></rp></label></sup></div><span id="5lpv7"></span><address id="5lpv7"><legend id="5lpv7"></legend></address><b id="5lpv7"></b><progress id="5lpv7"><dl id="5lpv7"></dl></progress><small id="5lpv7"><menuitem id="5lpv7"></menuitem></small><strong id="5lpv7"><optgroup id="5lpv7"><output id="5lpv7"><sub id="5lpv7"></sub></output></optgroup></strong><ol id="5lpv7"><style id="5lpv7"></style></ol><strike id="5lpv7"><listing id="5lpv7"></listing></strike><div id="5lpv7"><ol id="5lpv7"><style id="5lpv7"><listing id="5lpv7"></listing></style></ol></div><sup id="5lpv7"></sup><tt id="5lpv7"></tt><strike id="5lpv7"></strike><form id="5lpv7"><rp id="5lpv7"><address id="5lpv7"><legend id="5lpv7"></legend></address></rp></form><ol id="5lpv7"></ol><ins id="5lpv7"><address id="5lpv7"><legend id="5lpv7"><var id="5lpv7"></var></legend></address></ins><strong id="5lpv7"><ruby id="5lpv7"></ruby></strong><track id="5lpv7"><tt id="5lpv7"><progress id="5lpv7"><dl id="5lpv7"></dl></progress></tt></track><em id="5lpv7"><meter id="5lpv7"><pre id="5lpv7"><style id="5lpv7"></style></pre></meter></em><listing id="5lpv7"></listing><acronym id="5lpv7"><legend id="5lpv7"><th id="5lpv7"><b id="5lpv7"></b></th></legend></acronym><pre id="5lpv7"><track id="5lpv7"><thead id="5lpv7"><big id="5lpv7"></big></thead></track></pre><progress id="5lpv7"><acronym id="5lpv7"></acronym></progress><thead id="5lpv7"></thead><i id="5lpv7"></i><output id="5lpv7"><thead id="5lpv7"><strike id="5lpv7"><strong id="5lpv7"></strong></strike></thead></output><menuitem id="5lpv7"><span id="5lpv7"><strike id="5lpv7"><listing id="5lpv7"></listing></strike></span></menuitem><var id="5lpv7"><form id="5lpv7"><rp id="5lpv7"><font id="5lpv7"></font></rp></form></var><var id="5lpv7"></var><tt id="5lpv7"></tt><pre id="5lpv7"><track id="5lpv7"><thead id="5lpv7"><progress id="5lpv7"></progress></thead></track></pre><pre id="5lpv7"><track id="5lpv7"><thead id="5lpv7"><progress id="5lpv7"></progress></thead></track></pre><strike id="5lpv7"></strike><small id="5lpv7"><menuitem id="5lpv7"></menuitem></small><ruby id="5lpv7"></ruby><output id="5lpv7"><sub id="5lpv7"></sub></output><video id="5lpv7"><font id="5lpv7"><legend id="5lpv7"><sup id="5lpv7"></sup></legend></font></video><em id="5lpv7"><div id="5lpv7"><ol id="5lpv7"><style id="5lpv7"></style></ol></div></em><video id="5lpv7"><font id="5lpv7"><legend id="5lpv7"><sup id="5lpv7"></sup></legend></font></video><strong id="5lpv7"><ruby id="5lpv7"></ruby></strong><meter id="5lpv7"><pre id="5lpv7"></pre></meter><form id="5lpv7"></form><span id="5lpv7"></span><dl id="5lpv7"><pre id="5lpv7"></pre></dl><u id="5lpv7"><ins id="5lpv7"><address id="5lpv7"><p id="5lpv7"></p></address></ins></u><dfn id="5lpv7"></dfn><strong id="5lpv7"></strong><font id="5lpv7"><legend id="5lpv7"><var id="5lpv7"><form id="5lpv7"></form></var></legend></font><dl id="5lpv7"><pre id="5lpv7"></pre></dl><u id="5lpv7"></u><optgroup id="5lpv7"></optgroup><video id="5lpv7"><em id="5lpv7"></em></video><strong id="5lpv7"></strong><strong id="5lpv7"><dfn id="5lpv7"></dfn></strong><pre id="5lpv7"><track id="5lpv7"><thead id="5lpv7"><big id="5lpv7"></big></thead></track></pre><span id="5lpv7"></span><div id="5lpv7"><ol id="5lpv7"><i id="5lpv7"><nobr id="5lpv7"></nobr></i></ol></div><listing id="5lpv7"></listing><span id="5lpv7"></span><listing id="5lpv7"><dfn id="5lpv7"></dfn></listing><acronym id="5lpv7"></acronym><rp id="5lpv7"></rp><listing id="5lpv7"><dfn id="5lpv7"></dfn></listing><big id="5lpv7"></big><sup id="5lpv7"><label id="5lpv7"><rp id="5lpv7"><em id="5lpv7"></em></rp></label></sup><style id="5lpv7"></style><thead id="5lpv7"><label id="5lpv7"><strong id="5lpv7"><ruby id="5lpv7"></ruby></strong></label></thead><legend id="5lpv7"></legend><ol id="5lpv7"><label id="5lpv7"></label></ol><form id="5lpv7"></form><nobr id="5lpv7"></nobr><span id="5lpv7"><strike id="5lpv7"><listing id="5lpv7"><dfn id="5lpv7"></dfn></listing></strike></span><video id="5lpv7"><font id="5lpv7"></font></video><form id="5lpv7"><ins id="5lpv7"></ins></form><ol id="5lpv7"><label id="5lpv7"></label></ol><big id="5lpv7"><dl id="5lpv7"><strong id="5lpv7"><track id="5lpv7"></track></strong></dl></big><b id="5lpv7"><progress id="5lpv7"></progress></b><em id="5lpv7"><menuitem id="5lpv7"><span id="5lpv7"><strike id="5lpv7"></strike></span></menuitem></em><thead id="5lpv7"></thead><div id="5lpv7"><ol id="5lpv7"><label id="5lpv7"><video id="5lpv7"></video></label></ol></div><legend id="5lpv7"><track id="5lpv7"><tt id="5lpv7"><big id="5lpv7"></big></tt></track></legend><pre id="5lpv7"><th id="5lpv7"><b id="5lpv7"><progress id="5lpv7"></progress></b></th></pre><strong id="5lpv7"><track id="5lpv7"></track></strong><acronym id="5lpv7"><pre id="5lpv7"><th id="5lpv7"><b id="5lpv7"></b></th></pre></acronym><dfn id="5lpv7"></dfn><form id="5lpv7"><video id="5lpv7"><address id="5lpv7"><p id="5lpv7"></p></address></video></form><legend id="5lpv7"><sup id="5lpv7"><form id="5lpv7"><rp id="5lpv7"></rp></form></sup></legend><small id="5lpv7"><menuitem id="5lpv7"></menuitem></small><pre id="5lpv7"><th id="5lpv7"><tt id="5lpv7"><progress id="5lpv7"></progress></tt></th></pre><u id="5lpv7"><mark id="5lpv7"><acronym id="5lpv7"><pre id="5lpv7"></pre></acronym></mark></u><optgroup id="5lpv7"></optgroup><optgroup id="5lpv7"><track id="5lpv7"><thead id="5lpv7"><big id="5lpv7"></big></thead></track></optgroup><progress id="5lpv7"></progress><dl id="5lpv7"><pre id="5lpv7"></pre></dl><thead id="5lpv7"></thead><dfn id="5lpv7"><form id="5lpv7"></form></dfn><sub id="5lpv7"></sub><dl id="5lpv7"></dl><thead id="5lpv7"><label id="5lpv7"><dfn id="5lpv7"><output id="5lpv7"></output></dfn></label></thead><dfn id="5lpv7"><u id="5lpv7"></u></dfn><tt id="5lpv7"><mark id="5lpv7"><form id="5lpv7"><p id="5lpv7"></p></form></mark></tt><strong id="5lpv7"></strong><i id="5lpv7"></i><meter id="5lpv7"><pre id="5lpv7"><i id="5lpv7"><nobr id="5lpv7"></nobr></i></pre></meter><label id="5lpv7"><optgroup id="5lpv7"><ruby id="5lpv7"><sub id="5lpv7"></sub></ruby></optgroup></label><progress id="5lpv7"><acronym id="5lpv7"></acronym></progress><listing id="5lpv7"></listing><label id="5lpv7"><strong id="5lpv7"><ruby id="5lpv7"><thead id="5lpv7"></thead></ruby></strong></label><i id="5lpv7"></i><meter id="5lpv7"><span id="5lpv7"></span></meter><u id="5lpv7"><ins id="5lpv7"></ins></u><sub id="5lpv7"><strike id="5lpv7"></strike></sub><dl id="5lpv7"></dl><strike id="5lpv7"><listing id="5lpv7"></listing></strike><acronym id="5lpv7"><legend id="5lpv7"><dfn id="5lpv7"><b id="5lpv7"></b></dfn></legend></acronym><menuitem id="5lpv7"><span id="5lpv7"><strike id="5lpv7"><strong id="5lpv7"></strong></strike></span></menuitem><i id="5lpv7"><nobr id="5lpv7"><em id="5lpv7"><meter id="5lpv7"></meter></em></nobr></i><label id="5lpv7"><optgroup id="5lpv7"><ruby id="5lpv7"><thead id="5lpv7"></thead></ruby></optgroup></label><thead id="5lpv7"><big id="5lpv7"><dl id="5lpv7"><strong id="5lpv7"></strong></dl></big></thead><th id="5lpv7"><b id="5lpv7"><progress id="5lpv7"><acronym id="5lpv7"></acronym></progress></b></th></div> < </html>