कोडडब्ल्यू३सी ऑनलाइन ट्यूटोरियल
  • एचटीएमएल श्रृंखला ट्यूटोरियल
  • ब्राउज़र स्क्रिप्ट
  • सर्वर स्क्रिप्ट
  • प्रोग्रामिंग ट्यूटोरियल
  • एक्सएमएल श्रृंखला ट्यूटोरियल
  • वेबसाइट बुकमैन
  • रेफरेंस मैनुअल

क्लास टेबल

JS रेफरेंस मैनुअल

  • JS रेफरेंस मैनुअल (श्रेणी क्रमांक)
  • JS रेफरेंस मैनुअल (अक्षर क्रमांक)

JavaScript

  • JS Array
  • JS Boolean
  • JS Class
  • JS Date
  • JS Error
  • JS Global
  • JS JSON
  • JS Map
  • JS Math
  • JS Number
  • JS Promise
  • JS RegExp
  • JS Set
  • JS String
  • JS ऑब्जेक्ट
  • JS ऑपरेटर
  • JS ऑपरेटर प्राथमिकता
  • JS स्टेटमेंट
  • JS टाइपाइज्ड एरे

Window

  • विंडो ऑब्जैक्ट
  • Window Console
  • Window History
  • Window Location
  • Window Navigator
  • Window Screen

HTML DOM

  • HTML Document
  • HTML Element
  • HTML Attribute
  • HTML Event
  • HTML Event ऑब्जेक्ट
  • HTML Collection
  • HTML NodeList
  • HTML DOMTokenList
  • HTML Style

Web API

  • API Canvas
  • API Console
  • API Fetch
  • API Fullscreen
  • API Geolocation
  • API History
  • API MediaQueryList
  • API Storage
  • API Validation
  • API वेब

HTML ऑब्जेक्ट

  • <a>
  • <abbr>
  • <address>
  • <area>
  • <article>
  • <aside>
  • <audio>
  • <b>
  • <base>
  • <bdo>
  • <blockquote>
  • <body>
  • <br>
  • <button>
  • <canvas>
  • <caption>
  • <cite>
  • <code>
  • <col>
  • <colgroup>
  • <datalist>
  • <dd>
  • <del>
  • <details>
  • <dfn>
  • <dialog>
  • <div>
  • <dl>
  • <dt>
  • <em>
  • <embed>
  • <fieldset>
  • <figcaption>
  • <figure>
  • <footer>
  • <form>
  • <head>
  • <header>
  • <h1> - <h6>
  • <hr>
  • <html>
  • <i>
  • <iframe>
  • <img>
  • <ins>
  • <input> button
  • <input> checkbox
  • <input> color
  • <input> date
  • <input> datetime
  • <input> datetime-local
  • <input> email
  • <input> file
  • <input> hidden
  • <input> image
  • <input> month
  • <input> number
  • <input> password
  • <input> radio
  • <input> range
  • <input> reset
  • <input> search
  • <input> submit
  • <input> text
  • <input> time
  • <input> url
  • <input> week
  • <kbd>
  • <label>
  • <legend>
  • <li>
  • <link>
  • <map>
  • <mark>
  • <menu>
  • <menuitem>
  • <meta>
  • <meter>
  • <nav>
  • <object>
  • <ol>
  • <optgroup>
  • <option>
  • <output>
  • <p>
  • <param>
  • <pre>
  • <progress>
  • <q>
  • <s>
  • <samp>
  • <script>
  • <section>
  • <select>
  • <small>
  • <source>
  • <span>
  • <strong>
  • <sub>
  • <summary>
  • <sup>
  • <table>
  • <tbody>
  • <td>
  • <tfoot>
  • <th>
  • <thead>
  • <tr>
  • <textarea>
  • <time>
  • </a></li> <li><a href="/hi/jsref/dom_obj_track.html" title="HTML DOM Track ऑब्जेक्ट"><track></a></li> <li><a href="/hi/jsref/dom_obj_u.html" title="HTML DOM Underline ऑब्जेक्ट"><title></a></li> <li><a href="/hi/jsref/dom_obj_ul.html" title="HTML DOM Ul ऑब्जेक्ट"><track></a></li> <li><a href="/hi/jsref/dom_obj_var.html" title="HTML DOM Variable ऑब्जेक्ट"><u></a></li> <li><a href="/hi/jsref/dom_obj_video.html" title="HTML DOM Video ऑब्जेक्ट"><ul></a></li> </ul> <h2><var></h2> <ul> <li><a href="/hi/jsref/obj_cssstyledeclaration.html" title="CSSStyleDeclaration ऑब्जेक्ट"><video></a></li> <li><a href="/hi/jsref/jsref_type_conversion.html" title="JavaScript टाइप कनवर्शन">जेएस टाइप कनवर्शन</a></li> </ul> </div> <div><h3><center> चुनिंदा पाठ्यक्रम </center><h3> <h2>कोर्स पसंदीदा:</h2> <ul> <li><a href="/hi/howto/index.html" title="CodeW3C.com का भांडवल">CodeW3C.com का भांडवल</a></li> </ul> </div> </div> <div id="maincontent"> <div class="idea"> <a href="/"><button>English</button></a> <a href="/zh/"><button>中文</button></a> <a href="/oldzh/"><button>繁體中文</button></a> <a href="/ru/"><button>Русский</button></a> <a href="/fr/"><button>Français</button></a> <a href="/de/"><button>Deutsch</button></a> <a href="/es/"><button>Español</button></a> <a href="/pt/"><button>Português</button></a> <a href="/ja/"><button>日本語</button></a> <a href="/ko/"><button>한국어</button></a> <a href="/it/"><button>Italiano</button></a> <a href="/ar/"><button>عربي</button></a> <a href="/hi/"><button>हिंदी</button></a> <a href="/bn/"><button>বাংলা</button></a> <a href="/ms/"><button>Bahasa Malaysia</button></a> <a href="/my/"><button>မြန်မာ</button></a> <a href="/vi/"><button>Tiếng Việt</button></a> <a href="/th/"><button>ภาษาไทย</button></a> <a href="/lo/"><button>ລາວ</button></a> <a href="/id/"><button>Bahasa Indonesia</button></a> <a href="/ur/"><button>اردو</button></a> <a href="/ha/"><button>Hausa</button></a> <a href="/pl/"><button>Język polski</button></a> <a href="/pa/"><button>ਪੰਜਾਬੀ</button></a> <a href="/sv/"><button>Svenska</button></a> <a href="/da/"><button>Dansk</button></a> <a href="/nl/"><button>Nederlands</button></a> <a href="/tr/"><button>Türkçe</button></a> <a href="/fi/"><button>suom.</button></a> <a href="/el/"><button>Ελληνικά</button></a> <a href="/fa/"><button>فارسی</button></a> <a href="/sw/"><button>Kiswahili</button></a> <a href="/te/"><button>తెలుగు</button></a> <a href="/tl/"><button>wikang Galu</button></a> </div> <h1>HTML DOM Document createElement() विधि</h1> <div class="prenextnav-ref"> <ul> <li> पिछला पृष्ठ <a href="/hi/jsref/met_document_createdocumentfragment.html" title="HTML DOM Document createDocumentFragment() मेथड">createDocumentFragment()</a></li> <li> अगला पृष्ठ <a href="/hi/jsref/event_createevent.html" title="HTML DOM Document createEvent() मेथड">createEvent()</a></li> <li> एक स्तर ऊपर <a href="/hi/jsref/dom_obj_document.html" title="HTML DOM Documents">HTML DOM Documents</a></li> </ul> </div> <div> <h2>परिभाषा और उपयोग</h2> <p><code>createElement()</code> विधि एलिमेंट नोड बनाती है。</p> <h3>अन्य संदर्भ:</h3> <p><a href="/hi/jsref/met_node_appendchild.html" title="HTML DOM Element appendChild() मेथड">Element appendChild() विधि</a></p> <p><a href="/hi/jsref/met_node_insertbefore.html" title="HTML DOM Element insertBefore() मेथड">Element insertBefore() विधि</a></p> </div> <div> <h2>उदाहरण</h2> <h3>उदाहरण 1</h3> <p>एक <p> एलिमेंट बनाएं और इसे दस्तावेज़ में जोड़ें:</p> <pre class="language-js"> const para = document.createElement("p"); para.innerText = "This is a paragraph"; document.body.appendChild(para); </pre> <p class="tiy"><a target="_blank" href="/hi/tiy/t.html?f=jsck_document_createelement_1">अपने आप साफल्य प्रयोग करें</a></p> <h3>उदाहरण 2</h3> <p>एक <p> एलिमेंट बनाएं और इसे एलिमेंट पर जोड़ें:</p> <pre class="language-js"> const para = document.createElement("p"); para.innerHTML = "This is a paragraph."; document.getElementById("myDIV").appendChild(para); </pre> <p class="tiy"><a target="_blank" href="/hi/tiy/t.html?f=jsck_document_createelement_2">अपने आप साफल्य प्रयोग करें</a></p> <h3>उदाहरण 3</h3> <p>बटन बनाएं:</p> <pre class="language-js"> const btn = document.createElement("button"); btn.innerHTML = "Hello Button"; document.body.appendChild(btn); </pre> <p class="tiy"><a target="_blank" href="/hi/tiy/t.html?f=jsck_document_createelement_3">अपने आप साफल्य प्रयोग करें</a></p> </div> <div> <h2>व्याकरण</h2> <pre>document.createElement(<i>tagName</i>)</pre> <h3>पारामीटर</h3> <table class="dataintable"> <tr> <th style="width: 25%;">पारामीटर</th> <th>वर्णन</th> </tr> <tr> <td><i>tagName</i></td> <td> <p>अनिवार्य। बनाने के लिए एलिमेंट का टैग नाम。</p> <p>HTML टैग नाम किसी भी आकार को ले सकते हैं。</p> <p>XML टैग नाम आकारों को अलग अलग करना चाहिए。</p> </td> </tr> </table> <h3>वापसी मूल्य</h3> <table class="dataintable"> <tr> <th style="width: 25%;">क़िस्म</th> <th>वर्णन</th> </tr> <tr> <td>नोड</td> <td>नवीनतम बनाए गए एलिमेंट नोड, निर्दिष्ट टैग नाम का स्वामित्व करता है。</td> </tr> </table> <h3>फेंक</h3> <p>यदि tagName में अवैध अक्षर हैं, तो इस मथड़ाब को इस कोड के साथ फेंक दिया जाएगा <code>INVALID_CHARACTER_ERR</code> का DOMException अपवाद。</p> </div> <div> <h2>ब्राउज़र समर्थन</h2> <p><code>document.createElement()</code> यह DOM Level 1 (1998) विशेषता है。</p> <p>सभी ब्राउज़र इसे समर्थित करते हैं:</p> <table class="browser-support"> <tr> <th class="bsChrome">च्रोम</th> <th class="bsIE">आईई</th> <th class="bsEdge">एज</th> <th class="bsFirefox">फायरफॉक्स</th> <th class="bsSafari">सफारी</th> <th class="bsOpera">ओपेरा</th> </tr> <tr> <td>च्रोम</td> <td>आईई</td> <td>एज</td> <td>फायरफॉक्स</td> <td>सफारी</td> <td>ओपेरा</td> </tr> <tr> <td>समर्थित</td> <td>9-11</td> <td>समर्थित</td> <td>समर्थित</td> <td>समर्थित</td> <td>समर्थित</td> </tr> </table> </div> <div class="prenextnav-ref"> <ul> <li> पिछला पृष्ठ <a href="/hi/jsref/met_document_createdocumentfragment.html" title="HTML DOM Document createDocumentFragment() मेथड">createDocumentFragment()</a></li> <li> अगला पृष्ठ <a href="/hi/jsref/event_createevent.html" title="HTML DOM Document createEvent() मेथड">createEvent()</a></li> <li> एक स्तर ऊपर <a href="/hi/jsref/dom_obj_document.html" title="HTML DOM Documents">HTML DOM Documents</a></li> </ul> </div><div style="background-color:#fcfdf8; padding:0;"> </div> </div> <!-- maincontent end --> <div id="sidebar"> <div><h3><center> टूलबॉक्स </center><h3> <h5 id="tools_reference"><a href="/hi/jsref/index.html">जेसक्रिप्ट और एचटीएमएल डॉम रेफरेंस मैनुअल</a></h5> <h5 id="tools_example"><a href="/hi/js/js_examples.html">JavaScript इनस्टांस</a></h5> <h5 id="tools_quiz"><a href="/hi/js/js_quiz.html">JavaScript क्विज़</a></h5> <h5 id="tools_tutorial"><a href="/hi/js/index.html">JavaScript ट्यूटोरियल</a></h5> </div> <div><h3><center> सापोर्टर लिंक </center><h3> <div id="sbtg"> <script src="/myjs/zzsr.js"></script> </div> </div> </div> <div id="footer"> <p id="p1"> CodeW3C.com द्वारा प्रदान की गई सामग्री केवल प्रशिक्षण और टेस्टिंग के लिए है, सामग्री की सहीता का भरोसा नहीं किया जाता।इस साइट के साथ उपयोग से उठती हुई जोखिम का भार साइट से नहीं है।सर्वस्वामित्व, सभी अधिकार अवधारित </p> <p id="p2"> <a href="/hi/about/index.html" title="CodeW3C.com के बारे में">CodeW3C.com के बारे में</a> <a href="/hi/about/about_helping.html" title="CodeW3C.com की मदद">CodeW3C.com की मदद</a> <a href="/hi/about/about_use.html" title="उपयोग के बारे में">उपयोग शर्त</a> <a href="/hi/about/about_privacy.html" title="गोपनीयता के बारे में">गोपनीयता शर्त</a> <a href="http://www.comfortsoftwaregroup.com/" target="_blank"><img src="/comfortsoftwaregroup.png"></a> <a href="http://www.ce4e.com/" target="_blank"><img src="/poweredby.png" alt="सीई4ई.कॉम पर पावरड"></a> </p> </div> </div> <!-- wrapper end --> <script src="/myjs/tongji.js"></script> </body> </html>