\n

    \n\n\n\n

    The DOM represents it as:
    \n<\/p>\n\n

    - Document\n  - html\n    - head\n      - title\n    - body\n      - h1\n      - p\n<\/pre>\n\n\n\n\n
    \n\n

    \n \n \n 訪問 DOM<\/strong>\n<\/h3>\n\n

    JavaScript 提供了選擇和操作 DOM 元素的方法。 <\/p>\n\n

    \n \n \n 常見的選擇方法<\/strong>\n<\/h4>\n\n
      \n
    1. \ngetElementById<\/strong>\n通過 ID 選擇元素。\n<\/li>\n<\/ol>\n\n
         const title = document.getElementById(\"title\");\n   console.log(title.innerText); \/\/ Output: Hello, DOM!\n<\/pre>\n\n\n\n
        \n
      1. \ngetElementsByClassName<\/strong>\n按類名選擇元素(返回集合)。\n<\/li>\n<\/ol>\n\n
           const paragraphs = document.getElementsByClassName(\"description\");\n   console.log(paragraphs[0].innerText);\n<\/pre>\n\n\n\n
          \n
        1. \ngetElementsByTagName<\/strong>\n按標簽名稱選擇元素(例如 div、p)。\n<\/li>\n<\/ol>\n\n
             const headings = document.getElementsByTagName(\"h1\");\n   console.log(headings[0].innerText);\n<\/pre>\n\n\n\n
            \n
          1. \n查詢選擇器<\/strong>\n選擇與 CSS 選擇器匹配的第一個元素。\n<\/li>\n<\/ol>\n\n
               const title = document.querySelector(\"#title\");\n<\/pre>\n\n\n\n
              \n
            1. \nquerySelectorAll<\/strong>\n選擇與 CSS 選擇器匹配的所有元素(返回 NodeList)。\n<\/li>\n<\/ol>\n\n
                 const paragraphs = document.querySelectorAll(\".description\");\n<\/pre>\n\n\n\n\n
              \n\n

              \n \n \n DOM 操作<\/strong>\n<\/h3>\n\n

              選擇后,您可以動態(tài)修改元素、屬性和內(nèi)容。<\/p>\n\n

              \n \n \n 1.更改內(nèi)容<\/strong>\n<\/h4>\n\n<\/pre>\n
                \n
              • \ninnerHTML<\/strong>:設(shè)置或獲取 HTML 內(nèi)容。\n<\/li>\n<\/ul>\n\n
                  document.getElementById(\"title\").innerHTML = \"Welcome to the DOM!\";\n<\/pre>\n\n\n\n
                  \n
                • \ninnerText<\/strong> 或 textContent<\/strong>:設(shè)置或獲取純文本。\n<\/li>\n<\/ul>\n\n
                    document.getElementById(\"title\").innerText = \"Hello, World!\";\n<\/pre>\n\n\n\n

                  \n \n \n 2.更改屬性<\/strong>\n<\/h4>\n\n
                    \n
                  • 使用setAttribute和getAttribute修改元素屬性。\n<\/li>\n<\/ul>\n\n
                      const link = document.querySelector(\"a\");\n  link.setAttribute(\"href\", \"https:\/\/example.com\");\n<\/pre>\n\n\n\n
                      \n
                    • 直接修改 id、className 或 src 等屬性。\n<\/li>\n<\/ul>\n\n
                        const image = document.querySelector(\"img\");\n  image.src = \"image.jpg\";\n<\/pre>\n\n\n\n

                      \n \n \n 3.改變風格<\/strong>\n<\/h4>\n\n

                      直接修改 CSS 屬性。
                      \n<\/p>\n

                      \n\n  \n    DOM Example<\/title>\n  <\/head>\n  <body>
                      <h1><a href="http://ipnx.cn/">亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱</a></h1>\n    <h1>\n\n\n\n<p>The DOM represents it as:<br>\n<\/p>\n\n<pre>- Document\n  - html\n    - head\n      - title\n    - body\n      - h1\n      - p\n<\/pre>\n\n\n\n\n<hr>\n\n<h3>\n  \n  \n  <strong>添加和刪除元素<\/strong>\n<\/h3>\n\n<h4>\n  \n  \n  <strong>1.添加元素<\/strong>\n<\/h4>\n\n<\/pre>\n<ul>\n<li>\n<strong>createElement<\/strong>:創(chuàng)建一個新元素。\n<\/li>\n<li>\n<strong>appendChild<\/strong>:將元素追加到父元素。\n<\/li>\n<\/ul>\n\n<pre>   const title = document.getElementById(\"title\");\n   console.log(title.innerText); \/\/ Output: Hello, DOM!\n<\/pre>\n\n\n\n<h4>\n  \n  \n  <strong>2.刪除元素<\/strong>\n<\/h4>\n\n<ul>\n<li>\n<strong>removeChild<\/strong>:刪除子元素。\n<\/li>\n<\/ul>\n\n<pre>   const paragraphs = document.getElementsByClassName(\"description\");\n   console.log(paragraphs[0].innerText);\n<\/pre>\n\n\n\n\n<hr>\n\n<h3>\n  \n  \n  <strong>DOM 中的事件處理<\/strong>\n<\/h3>\n\n<p>事件是瀏覽器檢測到的操作或事件,例如單擊或按鍵。  <\/p>\n\n<h4>\n  \n  \n  <strong>添加事件監(jiān)聽器<\/strong>\n<\/h4>\n\n<p>使用 addEventListener 將事件綁定到元素。<br>\n<\/p>\n\n<pre>   const headings = document.getElementsByTagName(\"h1\");\n   console.log(headings[0].innerText);\n<\/pre>\n\n\n\n<h4>\n  \n  \n  <strong>常見事件<\/strong>\n<\/h4>\n\n<ol>\n<li>\n<strong>鼠標事件<\/strong>:單擊、雙擊、鼠標懸停、鼠標移出\n<\/li>\n<li>\n<strong>鍵盤事件<\/strong>:keydown、keyup\n<\/li>\n<li>\n<strong>表單事件<\/strong>:提交、更改、聚焦\n<\/li>\n<\/ol>\n\n\n<hr>\n\n<h3>\n  \n  \n  <strong>遍歷 DOM<\/strong>\n<\/h3>\n\n<p>您可以使用 DOM 樹中的關(guān)系在元素之間導航。<\/p>\n\n<h4>\n  \n  \n  <strong>家長和孩子<\/strong>\n<\/h4>\n\n<ul>\n<li>\n<strong>parentNode<\/strong>:獲取父節(jié)點。\n<\/li>\n<li>\n<strong>childNodes<\/strong>:列出所有子節(jié)點。\n<\/li>\n<li>\n<strong>children<\/strong>:列出所有子元素。\n<\/li>\n<\/ul>\n\n<pre>   const title = document.querySelector(\"#title\");\n<\/pre>\n\n\n\n<h4>\n  \n  \n  <strong>兄弟姐妹<\/strong>\n<\/h4>\n\n<ul>\n<li>\n<strong>nextSibling<\/strong>:獲取下一個兄弟節(jié)點。\n<\/li>\n<li>\n<strong>previousSibling<\/strong>:獲取上一個兄弟節(jié)點。\n<\/li>\n<\/ul>\n\n\n<hr>\n\n<h3>\n  \n  \n  <strong>高級 DOM 功能<\/strong>\n<\/h3>\n\n<h4>\n  \n  \n  <strong>1.克隆元素<\/strong>\n<\/h4>\n\n<p>使用cloneNode創(chuàng)建元素的副本。<br>\n<\/p>\n\n<pre>   const paragraphs = document.querySelectorAll(\".description\");\n<\/pre>\n\n\n\n<h4>\n  \n  \n  <strong>2.使用類<\/strong>\n<\/h4>\n\n<p>使用 classList 屬性來操作類。<br>\n<\/p>\n\n<pre>  document.getElementById(\"title\").innerHTML = \"Welcome to the DOM!\";\n<\/pre>\n\n\n\n<h4>\n  \n  \n  <strong>3.使用模板<\/strong>\n<\/h4>\n\n<p>HTML 模板允許重復使用內(nèi)容。<br>\n<\/p>\n\n<pre>  document.getElementById(\"title\").innerText = \"Hello, World!\";\n<\/pre>\n\n\n\n\n<hr>\n\n<h3>\n  \n  \n  <strong>DOM 操作的最佳實踐<\/strong>\n<\/h3>\n\n<ol>\n<li>\n<p><strong>最小化回流和重繪<\/strong>:<\/p>\n\n<ul>\n<li>批量 DOM 更改以避免過度渲染。\n<\/li>\n<li>使用 documentFragment 進行多次更新。\n<\/li>\n<\/ul>\n<\/li>\n<li><p><strong>使用事件委托<\/strong>:<br><br>\n將事件附加到父元素而不是單個子元素。<br>\n<\/p><\/li>\n<\/ol>\n\n<pre><!DOCTYPE html>\n<html>\n  <head>\n    <title>DOM Example<\/title>\n  <\/head>\n  <body>\n    <h1>\n\n\n\n<p>The DOM represents it as:<br>\n<\/p>\n\n<pre>- Document\n  - html\n    - head\n      - title\n    - body\n      - h1\n      - p\n<\/pre>\n\n\n\n<ol>\n<li>\n<strong>避免內(nèi)聯(lián) JavaScript<\/strong>:\n使用外部腳本或 addEventListener 來干凈地分離代碼。<\/li>\n<\/ol>\n\n\n<hr>\n\n<h3>\n  \n  \n  <strong>結(jié)論<\/strong>\n<\/h3>\n\n<p>JavaScript HTML DOM 是創(chuàng)建動態(tài)和交互式網(wǎng)頁的強大工具。通過掌握 DOM 操作、事件處理和最佳實踐,開發(fā)人員可以構(gòu)建響應迅速且用戶友好的應用程序,從而增強整體用戶體驗。<\/p>\n\n<p><strong>嗨,我是 Abhay Singh Kathayat!<\/strong><br>\n我是一名全棧開發(fā)人員,精通前端和后端技術(shù)。我使用各種編程語言和框架來構(gòu)建高效、可擴展且用戶友好的應用程序。<br>\n請隨時通過我的商務(wù)電子郵件與我聯(lián)系:kaashshorts28@gmail.com。<\/p>\n\n\n          \n\n            \n        <\/pre>"}	</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="wjcelcm34c"   class="head">
                              <div   id="wjcelcm34c"   class="haed_left">
                                  <div   id="wjcelcm34c"   class="haed_logo">
                                      <a href="http://ipnx.cn/zh/" title="" class="haed_logo_a">
                                          <img src="/static/imghw/logo.png" alt="" class="haed_logoimg">
                                      </a>
                                  </div>
                                  <div   id="wjcelcm34c"   class="head_nav">
                                      <div   id="wjcelcm34c"   class="head_navs">
                                          <a href="javascript:;" title="社區(qū)" class="head_nava head_nava-template1">社區(qū)</a>
                                          <div   class="wjcelcm34c"   id="dropdown-template1" style="display: none;">
                                              <div   id="wjcelcm34c"   class="languagechoose">
                                                  <a href="http://ipnx.cn/zh/article.html" title="文章" class="languagechoosea on">文章</a>
                                                  <a href="http://ipnx.cn/zh/faq/zt" title="合集" class="languagechoosea">合集</a>
                                                  <a href="http://ipnx.cn/zh/wenda.html" title="問答" class="languagechoosea">問答</a>
                                              </div>
                                          </div>
                                      </div>
                      
                                      <div   id="wjcelcm34c"   class="head_navs">
                                          <a href="javascript:;" title="學習" class="head_nava head_nava-template1_1">學習</a>
                                          <div   class="wjcelcm34c"   id="dropdown-template1_1" style="display: none;">
                                              <div   id="wjcelcm34c"   class="languagechoose">
                                                  <a href="http://ipnx.cn/zh/course.html" title="課程" class="languagechoosea on">課程</a>
                                                  <a href="http://ipnx.cn/zh/dic/" title="編程詞典" class="languagechoosea">編程詞典</a>
                                              </div>
                                          </div>
                                      </div>
                      
                                      <div   id="wjcelcm34c"   class="head_navs">
                                          <a href="javascript:;" title="工具庫" class="head_nava head_nava-template1_2">工具庫</a>
                                          <div   class="wjcelcm34c"   id="dropdown-template1_2" style="display: none;">
                                              <div   id="wjcelcm34c"   class="languagechoose">
                                                  <a href="http://ipnx.cn/zh/toolset/development-tools" title="開發(fā)工具" class="languagechoosea on">開發(fā)工具</a>
                                                  <a href="http://ipnx.cn/zh/toolset/website-source-code" title="網(wǎng)站源碼" class="languagechoosea">網(wǎng)站源碼</a>
                                                  <a href="http://ipnx.cn/zh/toolset/php-libraries" title="PHP 庫" class="languagechoosea">PHP 庫</a>
                                                  <a href="http://ipnx.cn/zh/toolset/js-special-effects" title="JS特效" class="languagechoosea on">JS特效</a>
                                                  <a href="http://ipnx.cn/zh/toolset/website-materials" title="網(wǎng)站素材" class="languagechoosea on">網(wǎng)站素材</a>
                                                  <a href="http://ipnx.cn/zh/toolset/extension-plug-ins" title="擴展插件" class="languagechoosea on">擴展插件</a>
                                              </div>
                                          </div>
                                      </div>
                      
                                      <div   id="wjcelcm34c"   class="head_navs">
                                          <a href="http://ipnx.cn/zh/ai" title="AI工具" class="head_nava head_nava-template1_3">AI工具</a>
                                      </div>
                      
                                      <div   id="wjcelcm34c"   class="head_navs">
                                          <a href="javascript:;" title="休閑" class="head_nava head_nava-template1_3">休閑</a>
                                          <div   class="wjcelcm34c"   id="dropdown-template1_3" style="display: none;">
                                              <div   id="wjcelcm34c"   class="languagechoose">
                                                  <a href="http://ipnx.cn/zh/game" title="游戲下載" class="languagechoosea on">游戲下載</a>
                                                  <a href="http://ipnx.cn/zh/mobile-game-tutorial/" title="游戲教程" class="languagechoosea">游戲教程</a>
                      
                                              </div>
                                          </div>
                                      </div>
                                  </div>
                              </div>
                                          <div   id="wjcelcm34c"   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="wjcelcm34c"   class="head_right">
                                  <div   id="wjcelcm34c"   class="haed_language">
                                      <a href="javascript:;" class="layui-btn haed_language_btn">簡體中文<i class="layui-icon layui-icon-triangle-d"></i></a>
                                      <div   class="wjcelcm34c"   id="dropdown-template" style="display: none;">
                                          <div   id="wjcelcm34c"   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="wjcelcm34c"    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="wjcelcm34c"   class="Article_Details_main">
                      			<div   id="wjcelcm34c"   class="Article_Details_main1">
                      							<div   id="wjcelcm34c"   class="Article_Details_main1M">
                      					<div   id="wjcelcm34c"   class="phpgenera_Details_mainL1">
                      						<a href="http://ipnx.cn/zh/" title="首頁"
                      							class="phpgenera_Details_mainL1a">首頁</a>
                      						<img src="/static/imghw/top_right.png" alt="" />
                      												<a href="http://ipnx.cn/zh/web-designer.html"
                      							class="phpgenera_Details_mainL1a">web前端</a>
                      						<img src="/static/imghw/top_right.png" alt="" />
                      												<a href="http://ipnx.cn/zh/js-tutorial.html"
                      							class="phpgenera_Details_mainL1a">js教程</a>
                      						<img src="/static/imghw/top_right.png" alt="" />
                      						<span>掌握 JavaScript HTML DOM:構(gòu)建動態(tài)和交互式網(wǎng)頁</span>
                      					</div>
                      					
                      					<div   id="wjcelcm34c"   class="Articlelist_txts">
                      						<div   id="wjcelcm34c"   class="Articlelist_txts_info">
                      							<h1 class="Articlelist_txts_title">掌握 JavaScript HTML DOM:構(gòu)建動態(tài)和交互式網(wǎng)頁</h1>
                      							<div   id="wjcelcm34c"   class="Articlelist_txts_info_head">
                      								<div   id="wjcelcm34c"   class="author_info">
                      									<a href="http://ipnx.cn/zh/member/1468492.html"  class="author_avatar">
                      									<img class="lazy"  data-src="https://img.php.cn/upload/avatar/000/000/001/66ea8147b1057383.png" src="/static/imghw/default1.png" alt="Mary-Kate Olsen">
                      									</a>
                      									<div   id="wjcelcm34c"   class="author_detail">
                      																			<a href="http://ipnx.cn/zh/member/1468492.html" class="author_name">Mary-Kate Olsen</a>
                                                      										</div>
                      								</div>
                                      			</div>
                      							<span id="wjcelcm34c"    class="Articlelist_txts_time">Dec 20, 2024 am	 02:57 AM</span>
                      														
                      						</div>
                      					</div>
                      					<hr />
                      					<div   id="wjcelcm34c"   class="article_main php-article">
                      						<div   id="wjcelcm34c"   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><img src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/000/000/173463463582725.jpg" class="lazy" alt="Mastering the JavaScript HTML DOM: Building Dynamic and Interactive Webpages"></p>
                      <h3>
                        
                        
                        <strong>JavaScript HTML DOM:完整指南</strong>
                      </h3>
                      
                      <p><strong>文檔對象模型 (DOM)</strong> 是 Web 文檔的編程接口。它將網(wǎng)頁的結(jié)構(gòu)表示為對象樹,使開發(fā)人員能夠使用 JavaScript 操作 HTML 和 CSS。通過掌握 DOM,您可以創(chuàng)建動態(tài)的交互式網(wǎng)頁。</p>
                      
                      
                      <hr>
                      
                      <h3>
                        
                        
                        <strong>什么是 DOM?</strong>
                      </h3>
                      
                      <p>DOM 是 HTML 文檔的結(jié)構(gòu)化表示。它允許 JavaScript 動態(tài)訪問和操作網(wǎng)頁的元素、屬性和內(nèi)容。  </p>
                      
                      <h4>
                        
                        
                        例子:
                      </h4>
                      
                      <p>對于此 HTML:<br>
                      </p>
                      
                      <pre class="brush:php;toolbar:false"><!DOCTYPE html>
                      <html>
                        <head>
                          <title>DOM Example</title>
                        </head>
                        <body>
                          <h1>
                      
                      
                      
                      <p>The DOM represents it as:<br>
                      </p>
                      
                      <pre class="brush:php;toolbar:false">- Document
                        - html
                          - head
                            - title
                          - body
                            - h1
                            - p
                      </pre>
                      
                      
                      
                      
                      <hr>
                      
                      <h3>
                        
                        
                        <strong>訪問 DOM</strong>
                      </h3>
                      
                      <p>JavaScript 提供了選擇和操作 DOM 元素的方法。  </p>
                      
                      <h4>
                        
                        
                        <strong>常見的選擇方法</strong>
                      </h4>
                      
                      <ol>
                      <li>
                      <strong>getElementById</strong>
                      通過 ID 選擇元素。
                      </li>
                      </ol>
                      
                      <pre class="brush:php;toolbar:false">   const title = document.getElementById("title");
                         console.log(title.innerText); // Output: Hello, DOM!
                      </pre>
                      
                      
                      
                      <ol>
                      <li>
                      <strong>getElementsByClassName</strong>
                      按類名選擇元素(返回集合)。
                      </li>
                      </ol>
                      
                      <pre class="brush:php;toolbar:false">   const paragraphs = document.getElementsByClassName("description");
                         console.log(paragraphs[0].innerText);
                      </pre>
                      
                      
                      
                      <ol>
                      <li>
                      <strong>getElementsByTagName</strong>
                      按標簽名稱選擇元素(例如 div、p)。
                      </li>
                      </ol>
                      
                      <pre class="brush:php;toolbar:false">   const headings = document.getElementsByTagName("h1");
                         console.log(headings[0].innerText);
                      </pre>
                      
                      
                      
                      <ol>
                      <li>
                      <strong>查詢選擇器</strong>
                      選擇與 CSS 選擇器匹配的第一個元素。
                      </li>
                      </ol>
                      
                      <pre class="brush:php;toolbar:false">   const title = document.querySelector("#title");
                      </pre>
                      
                      
                      
                      <ol>
                      <li>
                      <strong>querySelectorAll</strong>
                      選擇與 CSS 選擇器匹配的所有元素(返回 NodeList)。
                      </li>
                      </ol>
                      
                      <pre class="brush:php;toolbar:false">   const paragraphs = document.querySelectorAll(".description");
                      </pre>
                      
                      
                      
                      
                      <hr>
                      
                      <h3>
                        
                        
                        <strong>DOM 操作</strong>
                      </h3>
                      
                      <p>選擇后,您可以動態(tài)修改元素、屬性和內(nèi)容。</p>
                      
                      <h4>
                        
                        
                        <strong>1.更改內(nèi)容</strong>
                      </h4>
                      
                      </pre>
                      <ul>
                      <li>
                      <strong>innerHTML</strong>:設(shè)置或獲取 HTML 內(nèi)容。
                      </li>
                      </ul>
                      
                      <pre class="brush:php;toolbar:false">  document.getElementById("title").innerHTML = "Welcome to the DOM!";
                      </pre>
                      
                      
                      
                      <ul>
                      <li>
                      <strong>innerText</strong> 或 <strong>textContent</strong>:設(shè)置或獲取純文本。
                      </li>
                      </ul>
                      
                      <pre class="brush:php;toolbar:false">  document.getElementById("title").innerText = "Hello, World!";
                      </pre>
                      
                      
                      
                      <h4>
                        
                        
                        <strong>2.更改屬性</strong>
                      </h4>
                      
                      <ul>
                      <li>使用setAttribute和getAttribute修改元素屬性。
                      </li>
                      </ul>
                      
                      <pre class="brush:php;toolbar:false">  const link = document.querySelector("a");
                        link.setAttribute("href", "https://example.com");
                      </pre>
                      
                      
                      
                      <ul>
                      <li>直接修改 id、className 或 src 等屬性。
                      </li>
                      </ul>
                      
                      <pre class="brush:php;toolbar:false">  const image = document.querySelector("img");
                        image.src = "image.jpg";
                      </pre>
                      
                      
                      
                      <h4>
                        
                        
                        <strong>3.改變風格</strong>
                      </h4>
                      
                      <p>直接修改 CSS 屬性。<br>
                      </p>
                      <pre class="brush:php;toolbar:false"><!DOCTYPE html>
                      <html>
                        <head>
                          <title>DOM Example</title>
                        </head>
                        <body>
                          <h1>
                      
                      
                      
                      <p>The DOM represents it as:<br>
                      </p>
                      
                      <pre class="brush:php;toolbar:false">- Document
                        - html
                          - head
                            - title
                          - body
                            - h1
                            - p
                      </pre>
                      
                      
                      
                      
                      <hr>
                      
                      <h3>
                        
                        
                        <strong>添加和刪除元素</strong>
                      </h3>
                      
                      <h4>
                        
                        
                        <strong>1.添加元素</strong>
                      </h4>
                      
                      </pre>
                      <ul>
                      <li>
                      <strong>createElement</strong>:創(chuàng)建一個新元素。
                      </li>
                      <li>
                      <strong>appendChild</strong>:將元素追加到父元素。
                      </li>
                      </ul>
                      
                      <pre class="brush:php;toolbar:false">   const title = document.getElementById("title");
                         console.log(title.innerText); // Output: Hello, DOM!
                      </pre>
                      
                      
                      
                      <h4>
                        
                        
                        <strong>2.刪除元素</strong>
                      </h4>
                      
                      <ul>
                      <li>
                      <strong>removeChild</strong>:刪除子元素。
                      </li>
                      </ul>
                      
                      <pre class="brush:php;toolbar:false">   const paragraphs = document.getElementsByClassName("description");
                         console.log(paragraphs[0].innerText);
                      </pre>
                      
                      
                      
                      
                      <hr>
                      
                      <h3>
                        
                        
                        <strong>DOM 中的事件處理</strong>
                      </h3>
                      
                      <p>事件是瀏覽器檢測到的操作或事件,例如單擊或按鍵。  </p>
                      
                      <h4>
                        
                        
                        <strong>添加事件監(jiān)聽器</strong>
                      </h4>
                      
                      <p>使用 addEventListener 將事件綁定到元素。<br>
                      </p>
                      
                      <pre class="brush:php;toolbar:false">   const headings = document.getElementsByTagName("h1");
                         console.log(headings[0].innerText);
                      </pre>
                      
                      
                      
                      <h4>
                        
                        
                        <strong>常見事件</strong>
                      </h4>
                      
                      <ol>
                      <li>
                      <strong>鼠標事件</strong>:單擊、雙擊、鼠標懸停、鼠標移出
                      </li>
                      <li>
                      <strong>鍵盤事件</strong>:keydown、keyup
                      </li>
                      <li>
                      <strong>表單事件</strong>:提交、更改、聚焦
                      </li>
                      </ol>
                      
                      
                      <hr>
                      
                      <h3>
                        
                        
                        <strong>遍歷 DOM</strong>
                      </h3>
                      
                      <p>您可以使用 DOM 樹中的關(guān)系在元素之間導航。</p>
                      
                      <h4>
                        
                        
                        <strong>家長和孩子</strong>
                      </h4>
                      
                      <ul>
                      <li>
                      <strong>parentNode</strong>:獲取父節(jié)點。
                      </li>
                      <li>
                      <strong>childNodes</strong>:列出所有子節(jié)點。
                      </li>
                      <li>
                      <strong>children</strong>:列出所有子元素。
                      </li>
                      </ul>
                      
                      <pre class="brush:php;toolbar:false">   const title = document.querySelector("#title");
                      </pre>
                      
                      
                      
                      <h4>
                        
                        
                        <strong>兄弟姐妹</strong>
                      </h4>
                      
                      <ul>
                      <li>
                      <strong>nextSibling</strong>:獲取下一個兄弟節(jié)點。
                      </li>
                      <li>
                      <strong>previousSibling</strong>:獲取上一個兄弟節(jié)點。
                      </li>
                      </ul>
                      
                      
                      <hr>
                      
                      <h3>
                        
                        
                        <strong>高級 DOM 功能</strong>
                      </h3>
                      
                      <h4>
                        
                        
                        <strong>1.克隆元素</strong>
                      </h4>
                      
                      <p>使用cloneNode創(chuàng)建元素的副本。<br>
                      </p>
                      
                      <pre class="brush:php;toolbar:false">   const paragraphs = document.querySelectorAll(".description");
                      </pre>
                      
                      
                      
                      <h4>
                        
                        
                        <strong>2.使用類</strong>
                      </h4>
                      
                      <p>使用 classList 屬性來操作類。<br>
                      </p>
                      
                      <pre class="brush:php;toolbar:false">  document.getElementById("title").innerHTML = "Welcome to the DOM!";
                      </pre>
                      
                      
                      
                      <h4>
                        
                        
                        <strong>3.使用模板</strong>
                      </h4>
                      
                      <p>HTML 模板允許重復使用內(nèi)容。<br>
                      </p>
                      
                      <pre class="brush:php;toolbar:false">  document.getElementById("title").innerText = "Hello, World!";
                      </pre>
                      
                      
                      
                      
                      <hr>
                      
                      <h3>
                        
                        
                        <strong>DOM 操作的最佳實踐</strong>
                      </h3>
                      
                      <ol>
                      <li>
                      <p><strong>最小化回流和重繪</strong>:</p>
                      
                      <ul>
                      <li>批量 DOM 更改以避免過度渲染。
                      </li>
                      <li>使用 documentFragment 進行多次更新。
                      </li>
                      </ul>
                      </li>
                      <li><p><strong>使用事件委托</strong>:<br><br>
                      將事件附加到父元素而不是單個子元素。<br>
                      </p></li>
                      </ol>
                      
                      <pre class="brush:php;toolbar:false"><!DOCTYPE html>
                      <html>
                        <head>
                          <title>DOM Example</title>
                        </head>
                        <body>
                          <h1>
                      
                      
                      
                      <p>The DOM represents it as:<br>
                      </p>
                      
                      <pre class="brush:php;toolbar:false">- Document
                        - html
                          - head
                            - title
                          - body
                            - h1
                            - p
                      </pre>
                      
                      
                      
                      <ol>
                      <li>
                      <strong>避免內(nèi)聯(lián) JavaScript</strong>:
                      使用外部腳本或 addEventListener 來干凈地分離代碼。</li>
                      </ol>
                      
                      
                      <hr>
                      
                      <h3>
                        
                        
                        <strong>結(jié)論</strong>
                      </h3>
                      
                      <p>JavaScript HTML DOM 是創(chuàng)建動態(tài)和交互式網(wǎng)頁的強大工具。通過掌握 DOM 操作、事件處理和最佳實踐,開發(fā)人員可以構(gòu)建響應迅速且用戶友好的應用程序,從而增強整體用戶體驗。</p>
                      
                      <p><strong>嗨,我是 Abhay Singh Kathayat!</strong><br>
                      我是一名全棧開發(fā)人員,精通前端和后端技術(shù)。我使用各種編程語言和框架來構(gòu)建高效、可擴展且用戶友好的應用程序。<br>
                      請隨時通過我的商務(wù)電子郵件與我聯(lián)系:kaashshorts28@gmail.com。</p>
                      
                      
                                
                      
                                  
                              </pre><p>以上是掌握 JavaScript HTML DOM:構(gòu)建動態(tài)和交互式網(wǎng)頁的詳細內(nèi)容。更多信息請關(guān)注PHP中文網(wǎng)其他相關(guān)文章!</p>
                      
                      
                      						</div>
                      					</div>
                      					<div   id="wjcelcm34c"   class="wzconShengming_sp">
                      						<div   id="wjcelcm34c"   class="bzsmdiv_sp">本站聲明</div>
                      						<div>本文內(nèi)容由網(wǎng)友自發(fā)貢獻,版權(quán)歸原作者所有,本站不承擔相應法律責任。如您發(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="wjcelcm34c"   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="wjcelcm34c"   class="phpgenera_Details_mainR4">
                      						<div   id="wjcelcm34c"   class="phpmain1_4R_readrank">
                      							<div   id="wjcelcm34c"   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="wjcelcm34c"   class="phpgenera_Details_mainR4_bottom">
                      															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
                      									<a href="http://ipnx.cn/zh/faq/1796832397.html" title="Grass Wonder Build Guide |烏瑪媽媽漂亮的德比" class="phpgenera_Details_mainR4_bottom_title">Grass Wonder Build Guide |烏瑪媽媽漂亮的德比</a>
                      									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
                      										<span>3 周前</span>
                      										<span>By Jack chen</span>
                      									</div>
                      								</div>
                      															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
                      									<a href="http://ipnx.cn/zh/faq/1796833110.html" title="<??>:在森林里99夜 - 所有徽章以及如何解鎖" class="phpgenera_Details_mainR4_bottom_title"><??>:在森林里99夜 - 所有徽章以及如何解鎖</a>
                      									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
                      										<span>3 周前</span>
                      										<span>By DDD</span>
                      									</div>
                      								</div>
                      															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
                      									<a href="http://ipnx.cn/zh/faq/1796831605.html" title="烏瑪?shù)姆劢z漂亮的德比橫幅日程(2025年7月)" class="phpgenera_Details_mainR4_bottom_title">烏瑪?shù)姆劢z漂亮的德比橫幅日程(2025年7月)</a>
                      									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
                      										<span>4 周前</span>
                      										<span>By Jack chen</span>
                      									</div>
                      								</div>
                      															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
                      									<a href="http://ipnx.cn/zh/faq/1796829586.html" title="今天的連接提示并回答753年7月3日" class="phpgenera_Details_mainR4_bottom_title">今天的連接提示并回答753年7月3日</a>
                      									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
                      										<span>1 個月前</span>
                      										<span>By Jack chen</span>
                      									</div>
                      								</div>
                      															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
                      									<a href="http://ipnx.cn/zh/faq/1796831905.html" title="Windows安全是空白或不顯示選項" class="phpgenera_Details_mainR4_bottom_title">Windows安全是空白或不顯示選項</a>
                      									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
                      										<span>3 周前</span>
                      										<span>By 下次還敢</span>
                      									</div>
                      								</div>
                      														</div>
                      							<div   id="wjcelcm34c"   class="phpgenera_Details_mainR3_more">
                      								<a href="http://ipnx.cn/zh/article.html">顯示更多</a>
                      							</div>
                      						</div>
                      					</div> -->
                      
                      
                      											<div   id="wjcelcm34c"   class="phpgenera_Details_mainR3">
                      							<div   id="wjcelcm34c"   class="phpmain1_4R_readrank">
                      								<div   id="wjcelcm34c"   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="wjcelcm34c"   class="phpgenera_Details_mainR3_bottom">
                      																		<div   id="wjcelcm34c"   class="phpmain_tab2_mids_top">
                      											<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_info">
                      												<a href="http://ipnx.cn/zh/ai/undress-ai-tool" title="Undress AI Tool" class="phpmain_tab2_mids_title">
                      													<h3>Undress AI Tool</h3>
                      												</a>
                      												<p>免費脫衣服圖片</p>
                      											</div>
                      										</div>
                      																		<div   id="wjcelcm34c"   class="phpmain_tab2_mids_top">
                      											<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_info">
                      												<a href="http://ipnx.cn/zh/ai/undresserai-undress" title="Undresser.AI Undress" class="phpmain_tab2_mids_title">
                      													<h3>Undresser.AI Undress</h3>
                      												</a>
                      												<p>人工智能驅(qū)動的應用程序,用于創(chuàng)建逼真的裸體照片</p>
                      											</div>
                      										</div>
                      																		<div   id="wjcelcm34c"   class="phpmain_tab2_mids_top">
                      											<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_info">
                      												<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_top">
                      											<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_info">
                      												<a href="http://ipnx.cn/zh/ai/clothoffio" title="Clothoff.io" class="phpmain_tab2_mids_title">
                      													<h3>Clothoff.io</h3>
                      												</a>
                      												<p>AI脫衣機</p>
                      											</div>
                      										</div>
                      																		<div   id="wjcelcm34c"   class="phpmain_tab2_mids_top">
                      											<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_info">
                      												<a href="http://ipnx.cn/zh/ai/video-swap" title="Video Face Swap" class="phpmain_tab2_mids_title">
                      													<h3>Video Face Swap</h3>
                      												</a>
                      												<p>使用我們完全免費的人工智能換臉工具輕松在任何視頻中換臉!</p>
                      											</div>
                      										</div>
                      																</div>
                      								<div   id="wjcelcm34c"   class="phpgenera_Details_mainR3_more">
                      									<a href="http://ipnx.cn/zh/ai">顯示更多</a>
                      								</div>
                      							</div>
                      						</div>
                      					
                      
                      
                      					<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4">
                      						<div   id="wjcelcm34c"   class="phpmain1_4R_readrank">
                      							<div   id="wjcelcm34c"   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="wjcelcm34c"   class="phpgenera_Details_mainR4_bottom">
                      															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
                      									<a href="http://ipnx.cn/zh/faq/1796832397.html" title="Grass Wonder Build Guide |烏瑪媽媽漂亮的德比" class="phpgenera_Details_mainR4_bottom_title">Grass Wonder Build Guide |烏瑪媽媽漂亮的德比</a>
                      									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
                      										<span>3 周前</span>
                      										<span>By Jack chen</span>
                      									</div>
                      								</div>
                      															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
                      									<a href="http://ipnx.cn/zh/faq/1796833110.html" title="<??>:在森林里99夜 - 所有徽章以及如何解鎖" class="phpgenera_Details_mainR4_bottom_title"><??>:在森林里99夜 - 所有徽章以及如何解鎖</a>
                      									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
                      										<span>3 周前</span>
                      										<span>By DDD</span>
                      									</div>
                      								</div>
                      															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
                      									<a href="http://ipnx.cn/zh/faq/1796831605.html" title="烏瑪?shù)姆劢z漂亮的德比橫幅日程(2025年7月)" class="phpgenera_Details_mainR4_bottom_title">烏瑪?shù)姆劢z漂亮的德比橫幅日程(2025年7月)</a>
                      									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
                      										<span>4 周前</span>
                      										<span>By Jack chen</span>
                      									</div>
                      								</div>
                      															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
                      									<a href="http://ipnx.cn/zh/faq/1796829586.html" title="今天的連接提示并回答753年7月3日" class="phpgenera_Details_mainR4_bottom_title">今天的連接提示并回答753年7月3日</a>
                      									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
                      										<span>1 個月前</span>
                      										<span>By Jack chen</span>
                      									</div>
                      								</div>
                      															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
                      									<a href="http://ipnx.cn/zh/faq/1796831905.html" title="Windows安全是空白或不顯示選項" class="phpgenera_Details_mainR4_bottom_title">Windows安全是空白或不顯示選項</a>
                      									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
                      										<span>3 周前</span>
                      										<span>By 下次還敢</span>
                      									</div>
                      								</div>
                      														</div>
                      							<div   id="wjcelcm34c"   class="phpgenera_Details_mainR3_more">
                      								<a href="http://ipnx.cn/zh/article.html">顯示更多</a>
                      							</div>
                      						</div>
                      					</div>
                      
                      
                      											<div   id="wjcelcm34c"   class="phpgenera_Details_mainR3">
                      							<div   id="wjcelcm34c"   class="phpmain1_4R_readrank">
                      								<div   id="wjcelcm34c"   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="wjcelcm34c"   class="phpgenera_Details_mainR3_bottom">
                      																		<div   id="wjcelcm34c"   class="phpmain_tab2_mids_top">
                      											<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_info">
                      												<a href="http://ipnx.cn/zh/toolset/development-tools/92" title="記事本++7.3.1" class="phpmain_tab2_mids_title">
                      													<h3>記事本++7.3.1</h3>
                      												</a>
                      												<p>好用且免費的代碼編輯器</p>
                      											</div>
                      										</div>
                      																			<div   id="wjcelcm34c"   class="phpmain_tab2_mids_top">
                      											<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_info">
                      												<a href="http://ipnx.cn/zh/toolset/development-tools/93" title="SublimeText3漢化版" class="phpmain_tab2_mids_title">
                      													<h3>SublimeText3漢化版</h3>
                      												</a>
                      												<p>中文版,非常好用</p>
                      											</div>
                      										</div>
                      																			<div   id="wjcelcm34c"   class="phpmain_tab2_mids_top">
                      											<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_info">
                      												<a href="http://ipnx.cn/zh/toolset/development-tools/121" title="禪工作室 13.0.1" class="phpmain_tab2_mids_title">
                      													<h3>禪工作室 13.0.1</h3>
                      												</a>
                      												<p>功能強大的PHP集成開發(fā)環(huán)境</p>
                      											</div>
                      										</div>
                      																			<div   id="wjcelcm34c"   class="phpmain_tab2_mids_top">
                      											<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_info">
                      												<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_top">
                      											<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_info">
                      												<a href="http://ipnx.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="wjcelcm34c"   class="phpgenera_Details_mainR3_more">
                      									<a href="http://ipnx.cn/zh/ai">顯示更多</a>
                      								</div>
                      							</div>
                      						</div>
                      										
                      
                      					
                      					<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4">
                      						<div   id="wjcelcm34c"   class="phpmain1_4R_readrank">
                      							<div   id="wjcelcm34c"   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="wjcelcm34c"   class="phpgenera_Details_mainR4_bottom">
                      															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
                      									<a href="http://ipnx.cn/zh/faq/laravel-tutori" title="Laravel 教程" class="phpgenera_Details_mainR4_bottom_title">Laravel 教程</a>
                      									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
                      										<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_infos">
                      											<img src="/static/imghw/eyess.png" alt="" />
                      											<span>1597</span>
                      										</div>
                      										<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_infos">
                      											<img src="/static/imghw/tiezi.png" alt="" />
                      											<span>29</span>
                      										</div>
                      									</div>
                      								</div>
                      															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
                      									<a href="http://ipnx.cn/zh/faq/php-tutorial" title="PHP教程" class="phpgenera_Details_mainR4_bottom_title">PHP教程</a>
                      									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
                      										<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_infos">
                      											<img src="/static/imghw/eyess.png" alt="" />
                      											<span>1488</span>
                      										</div>
                      										<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_infos">
                      											<img src="/static/imghw/tiezi.png" alt="" />
                      											<span>72</span>
                      										</div>
                      									</div>
                      								</div>
                      															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
                      									<a href="http://ipnx.cn/zh/faq/nytminicrosswordanswe" title="NYT迷你填字游戲答案" class="phpgenera_Details_mainR4_bottom_title">NYT迷你填字游戲答案</a>
                      									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
                      										<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_infos">
                      											<img src="/static/imghw/eyess.png" alt="" />
                      											<span>268</span>
                      										</div>
                      										<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_infos">
                      											<img src="/static/imghw/tiezi.png" alt="" />
                      											<span>587</span>
                      										</div>
                      									</div>
                      								</div>
                      															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
                      									<a href="http://ipnx.cn/zh/faq/newyorktimesdailybrief" title="NYT連接提示和答案" class="phpgenera_Details_mainR4_bottom_title">NYT連接提示和答案</a>
                      									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
                      										<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_infos">
                      											<img src="/static/imghw/eyess.png" alt="" />
                      											<span>131</span>
                      										</div>
                      										<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_infos">
                      											<img src="/static/imghw/tiezi.png" alt="" />
                      											<span>836</span>
                      										</div>
                      									</div>
                      								</div>
                      														</div>
                      							<div   id="wjcelcm34c"   class="phpgenera_Details_mainR3_more">
                      								<a href="http://ipnx.cn/zh/faq/zt">顯示更多</a>
                      							</div>
                      						</div>
                      					</div>
                      				</div>
                      			</div>
                      							<div   id="wjcelcm34c"   class="Article_Details_main2">
                      					<div   id="wjcelcm34c"   class="phpgenera_Details_mainL4">
                      						<div   id="wjcelcm34c"   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="wjcelcm34c"   class="phpgenera_Details_mainL4_info">
                      
                      													<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
                      								<a href="http://ipnx.cn/zh/faq/1796829560.html" title="垃圾收集如何在JavaScript中起作用?" 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/175156097152256.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="垃圾收集如何在JavaScript中起作用?" />
                      								</a>
                      								<a href="http://ipnx.cn/zh/faq/1796829560.html" title="垃圾收集如何在JavaScript中起作用?" class="phphistorical_Version2_mids_title">垃圾收集如何在JavaScript中起作用?</a>
                      								<span id="wjcelcm34c"    class="Articlelist_txts_time">Jul 04, 2025 am	 12:42 AM</span>
                      								<p class="Articlelist_txts_p">JavaScript的垃圾回收機制通過標記-清除算法自動管理內(nèi)存,以減少內(nèi)存泄漏風險。引擎從根對象出發(fā)遍歷并標記活躍對象,未被標記的則被視為垃圾并被清除。例如,當對象不再被引用(如將變量設(shè)為null),它將在下一輪回收中被釋放。常見的內(nèi)存泄漏原因包括:①未清除的定時器或事件監(jiān)聽器;②閉包中對外部變量的引用;③全局變量持續(xù)持有大量數(shù)據(jù)。V8引擎通過分代回收、增量標記、并行/并發(fā)回收等策略優(yōu)化回收效率,降低主線程阻塞時間。開發(fā)時應避免不必要的全局引用、及時解除對象關(guān)聯(lián),以提升性能與穩(wěn)定性。</p>
                      							</div>
                      														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
                      								<a href="http://ipnx.cn/zh/faq/1796836217.html" title="如何在node.js中提出HTTP請求?" 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/431/639/175234432058757.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="如何在node.js中提出HTTP請求?" />
                      								</a>
                      								<a href="http://ipnx.cn/zh/faq/1796836217.html" title="如何在node.js中提出HTTP請求?" class="phphistorical_Version2_mids_title">如何在node.js中提出HTTP請求?</a>
                      								<span id="wjcelcm34c"    class="Articlelist_txts_time">Jul 13, 2025 am	 02:18 AM</span>
                      								<p class="Articlelist_txts_p">在Node.js中發(fā)起HTTP請求有三種常用方式:使用內(nèi)置模塊、axios和node-fetch。1.使用內(nèi)置的http/https模塊無需依賴,適合基礎(chǔ)場景,但需手動處理數(shù)據(jù)拼接和錯誤監(jiān)聽,例如用https.get()獲取數(shù)據(jù)或通過.write()發(fā)送POST請求;2.axios是基于Promise的第三方庫,語法簡潔且功能強大,支持async/await、自動JSON轉(zhuǎn)換、攔截器等,推薦用于簡化異步請求操作;3.node-fetch提供類似瀏覽器fetch的風格,基于Promise且語法簡單</p>
                      							</div>
                      														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
                      								<a href="http://ipnx.cn/zh/faq/1796836292.html" title="JavaScript數(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/431/639/175234579081669.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="JavaScript數(shù)據(jù)類型:原始與參考" />
                      								</a>
                      								<a href="http://ipnx.cn/zh/faq/1796836292.html" title="JavaScript數(shù)據(jù)類型:原始與參考" class="phphistorical_Version2_mids_title">JavaScript數(shù)據(jù)類型:原始與參考</a>
                      								<span id="wjcelcm34c"    class="Articlelist_txts_time">Jul 13, 2025 am	 02:43 AM</span>
                      								<p class="Articlelist_txts_p">JavaScript的數(shù)據(jù)類型分為原始類型和引用類型。原始類型包括string、number、boolean、null、undefined和symbol,其值不可變且賦值時復制副本,因此互不影響;引用類型如對象、數(shù)組和函數(shù)存儲的是內(nèi)存地址,指向同一對象的變量會相互影響。判斷類型可用typeof和instanceof,但需注意typeofnull的歷史問題。理解這兩類差異有助于編寫更穩(wěn)定可靠的代碼。</p>
                      							</div>
                      														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
                      								<a href="http://ipnx.cn/zh/faq/1796832745.html" title="JavaScript時間對象,某人構(gòu)建了一個eactexe,在Google Chrome上更快的網(wǎ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/246/273/173914572643912.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="JavaScript時間對象,某人構(gòu)建了一個eactexe,在Google Chrome上更快的網(wǎng)站等等" />
                      								</a>
                      								<a href="http://ipnx.cn/zh/faq/1796832745.html" title="JavaScript時間對象,某人構(gòu)建了一個eactexe,在Google Chrome上更快的網(wǎng)站等等" class="phphistorical_Version2_mids_title">JavaScript時間對象,某人構(gòu)建了一個eactexe,在Google Chrome上更快的網(wǎng)站等等</a>
                      								<span id="wjcelcm34c"    class="Articlelist_txts_time">Jul 08, 2025 pm	 02:27 PM</span>
                      								<p class="Articlelist_txts_p">JavaScript開發(fā)者們,大家好!歡迎閱讀本周的JavaScript新聞!本周我們將重點關(guān)注:Oracle與Deno的商標糾紛、新的JavaScript時間對象獲得瀏覽器支持、GoogleChrome的更新以及一些強大的開發(fā)者工具。讓我們開始吧!Oracle與Deno的商標之爭Oracle試圖注冊“JavaScript”商標的舉動引發(fā)爭議。Node.js和Deno的創(chuàng)建者RyanDahl已提交請愿書,要求取消該商標,他認為JavaScript是一個開放標準,不應由Oracle</p>
                      							</div>
                      														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
                      								<a href="http://ipnx.cn/zh/faq/1796830657.html" title="React與Angular vs Vue:哪個JS框架最好?" 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/431/639/175165349052637.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="React與Angular vs Vue:哪個JS框架最好?" />
                      								</a>
                      								<a href="http://ipnx.cn/zh/faq/1796830657.html" title="React與Angular vs Vue:哪個JS框架最好?" class="phphistorical_Version2_mids_title">React與Angular vs Vue:哪個JS框架最好?</a>
                      								<span id="wjcelcm34c"    class="Articlelist_txts_time">Jul 05, 2025 am	 02:24 AM</span>
                      								<p class="Articlelist_txts_p">選哪個JavaScript框架最好?答案是根據(jù)需求選擇最適合的。1.React靈活自由,適合需要高度定制、團隊有架構(gòu)能力的中大型項目;2.Angular提供完整解決方案,適合企業(yè)級應用和長期維護的大項目;3.Vue上手簡單,適合中小型項目或快速開發(fā)。此外,是否已有技術(shù)棧、團隊規(guī)模、項目生命周期及是否需要SSR也都是選擇框架的重要因素??傊?,沒有絕對最好的框架,適合自己需求的就是最佳選擇。</p>
                      							</div>
                      														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
                      								<a href="http://ipnx.cn/zh/faq/1796829862.html" title="立即在JavaScript中立即調(diào)用功能表達式(IIFE)" 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/175156814092778.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="立即在JavaScript中立即調(diào)用功能表達式(IIFE)" />
                      								</a>
                      								<a href="http://ipnx.cn/zh/faq/1796829862.html" title="立即在JavaScript中立即調(diào)用功能表達式(IIFE)" class="phphistorical_Version2_mids_title">立即在JavaScript中立即調(diào)用功能表達式(IIFE)</a>
                      								<span id="wjcelcm34c"    class="Articlelist_txts_time">Jul 04, 2025 am	 02:42 AM</span>
                      								<p class="Articlelist_txts_p">IIFE(ImmediatelyInvokedFunctionExpression)是一種在定義后立即執(zhí)行的函數(shù)表達式,用于變量隔離和避免污染全局作用域。它通過將函數(shù)包裹在括號中使其成為表達式,并緊隨其后的一對括號來調(diào)用,如(function(){/code/})();。其核心用途包括:1.避免變量沖突,防止多個腳本間的命名重復;2.創(chuàng)建私有作用域,使函數(shù)內(nèi)部變量不可見;3.模塊化代碼,便于初始化工作而不暴露過多變量。常見寫法包括帶參數(shù)傳遞的版本和ES6箭頭函數(shù)版本,但需注意:必須使用表達式、結(jié)</p>
                      							</div>
                      														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
                      								<a href="http://ipnx.cn/zh/faq/1796832608.html" title="處理諾言:鏈接,錯誤處理和承諾在JavaScript中" 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/175191360175213.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="處理諾言:鏈接,錯誤處理和承諾在JavaScript中" />
                      								</a>
                      								<a href="http://ipnx.cn/zh/faq/1796832608.html" title="處理諾言:鏈接,錯誤處理和承諾在JavaScript中" class="phphistorical_Version2_mids_title">處理諾言:鏈接,錯誤處理和承諾在JavaScript中</a>
                      								<span id="wjcelcm34c"    class="Articlelist_txts_time">Jul 08, 2025 am	 02:40 AM</span>
                      								<p class="Articlelist_txts_p">Promise是JavaScript中處理異步操作的核心機制,理解鏈式調(diào)用、錯誤處理和組合器是掌握其應用的關(guān)鍵。1.鏈式調(diào)用通過.then()返回新Promise實現(xiàn)異步流程串聯(lián),每個.then()接收上一步結(jié)果并可返回值或Promise;2.錯誤處理應統(tǒng)一使用.catch()捕獲異常,避免靜默失敗,并可在catch中返回默認值繼續(xù)流程;3.組合器如Promise.all()(全成功才成功)、Promise.race()(首個完成即返回)和Promise.allSettled()(等待所有完成)</p>
                      							</div>
                      														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
                      								<a href="http://ipnx.cn/zh/faq/1796832618.html" title="什么是緩存API?如何與服務(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/175191380054750.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="什么是緩存API?如何與服務(wù)人員使用?" />
                      								</a>
                      								<a href="http://ipnx.cn/zh/faq/1796832618.html" title="什么是緩存API?如何與服務(wù)人員使用?" class="phphistorical_Version2_mids_title">什么是緩存API?如何與服務(wù)人員使用?</a>
                      								<span id="wjcelcm34c"    class="Articlelist_txts_time">Jul 08, 2025 am	 02:43 AM</span>
                      								<p class="Articlelist_txts_p">CacheAPI是瀏覽器提供的一種緩存網(wǎng)絡(luò)請求的工具,常與ServiceWorker配合使用,以提升網(wǎng)站性能和離線體驗。1.它允許開發(fā)者手動存儲如腳本、樣式表、圖片等資源;2.可根據(jù)請求匹配緩存響應;3.支持刪除特定緩存或清空整個緩存;4.通過ServiceWorker監(jiān)聽fetch事件實現(xiàn)緩存優(yōu)先或網(wǎng)絡(luò)優(yōu)先等策略;5.常用于離線支持、加快重復訪問速度、預加載關(guān)鍵資源及后臺更新內(nèi)容;6.使用時需注意緩存版本控制、存儲限制及與HTTP緩存機制的區(qū)別。</p>
                      							</div>
                      													</div>
                      
                      													<a href="http://ipnx.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="wjcelcm34c"   class="footer">
                              <div   id="wjcelcm34c"   class="footertop">
                                  <img src="/static/imghw/logo.png" alt="">
                                  <p>公益在線PHP培訓,幫助PHP學習者快速成長!</p>
                              </div>
                              <div   id="wjcelcm34c"   class="footermid">
                                  <a href="http://ipnx.cn/zh/about/us.html">關(guān)于我們</a>
                                  <a href="http://ipnx.cn/zh/about/disclaimer.html">免責聲明</a>
                                  <a href="http://ipnx.cn/zh/update/article_0_1.html">Sitemap</a>
                              </div>
                              <div   id="wjcelcm34c"   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://ipnx.cn/" title="亚洲国产日韩欧美一区二区三区">亚洲国产日韩欧美一区二区三区</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="3oiul" class="pl_css_ganrao" style="display: none;"><meter id="3oiul"><td id="3oiul"><strike id="3oiul"></strike></td></meter><wbr id="3oiul"><fieldset id="3oiul"><bdo id="3oiul"><form id="3oiul"></form></bdo></fieldset></wbr><form id="3oiul"><th id="3oiul"><object id="3oiul"></object></th></form><em id="3oiul"><address id="3oiul"></address></em><th id="3oiul"><s id="3oiul"><fieldset id="3oiul"></fieldset></s></th><del id="3oiul"></del><menu id="3oiul"><nobr id="3oiul"></nobr></menu><center id="3oiul"></center><big id="3oiul"><acronym id="3oiul"></acronym></big><acronym id="3oiul"><cite id="3oiul"></cite></acronym><tbody id="3oiul"></tbody><strike id="3oiul"></strike><tr id="3oiul"><pre id="3oiul"><big id="3oiul"><tbody id="3oiul"></tbody></big></pre></tr><dfn id="3oiul"><center id="3oiul"><tfoot id="3oiul"></tfoot></center></dfn><form id="3oiul"></form><strong id="3oiul"></strong><strike id="3oiul"><rt id="3oiul"><strong id="3oiul"><strong id="3oiul"></strong></strong></rt></strike><em id="3oiul"></em><tr id="3oiul"><td id="3oiul"><tfoot id="3oiul"></tfoot></td></tr><abbr id="3oiul"></abbr><bdo id="3oiul"><form id="3oiul"><option id="3oiul"><del id="3oiul"></del></option></form></bdo><legend id="3oiul"></legend><dfn id="3oiul"><em id="3oiul"><dfn id="3oiul"><thead id="3oiul"></thead></dfn></em></dfn><label id="3oiul"></label><tbody id="3oiul"></tbody><small id="3oiul"><abbr id="3oiul"><rp id="3oiul"></rp></abbr></small><delect id="3oiul"><dfn id="3oiul"><strike id="3oiul"></strike></dfn></delect><label id="3oiul"><small id="3oiul"><abbr id="3oiul"></abbr></small></label><acronym id="3oiul"><div id="3oiul"><rt id="3oiul"></rt></div></acronym><i id="3oiul"><optgroup id="3oiul"></optgroup></i><cite id="3oiul"></cite><dd id="3oiul"></dd><table id="3oiul"><abbr id="3oiul"><track id="3oiul"><ul id="3oiul"></ul></track></abbr></table><tt id="3oiul"><mark id="3oiul"><address id="3oiul"><div id="3oiul"></div></address></mark></tt><strong id="3oiul"></strong><tr id="3oiul"><wbr id="3oiul"></wbr></tr><abbr id="3oiul"><rp id="3oiul"><b id="3oiul"><pre id="3oiul"></pre></b></rp></abbr><acronym id="3oiul"></acronym><thead id="3oiul"><sup id="3oiul"></sup></thead><strike id="3oiul"></strike><td id="3oiul"></td><pre id="3oiul"></pre><xmp id="3oiul"></xmp><object id="3oiul"></object><ul id="3oiul"></ul><strike id="3oiul"><pre id="3oiul"></pre></strike><fieldset id="3oiul"></fieldset><rp id="3oiul"><samp id="3oiul"></samp></rp></div>
                      
                      </html>