<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Creating Nodes Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/creating-nodes/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/creating-nodes/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Wed, 13 Apr 2022 16:30:46 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>How is Node.js created with JavaScript?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-is-node-js-created-with-javascript/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-is-node-js-created-with-javascript/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Sat, 07 Aug 2021 09:51:39 +0000</pubDate>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Creating Nodes]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Method]]></category>
		<category><![CDATA[Node]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7557</guid>

					<description><![CDATA[<p>Creating Nodes createElement(element_name) createTextNode(string) createComment(string) createDocumentFragment( ) Create Element Node The createElement(element_name) method is used to create the HTML element [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-is-node-js-created-with-javascript/">How is Node.js created with JavaScript?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading"><strong>Creating Nodes</strong></h2>



<ul class="wp-block-list"><li><strong>createElement(element_name)</strong></li><li><strong>createTextNode(string)</strong></li><li><strong>createComment(string)</strong></li><li><strong>createDocumentFragment( )</strong></li></ul>



<h2 class="wp-block-heading"><strong>Create Element Node</strong></h2>



<p class="wp-block-paragraph">The createElement(element_name) method is used to create the HTML element specified by tagName, or an HTMLUnknownElement if tagName isn&#8217;t recognized. It returns the New Element.</p>



<p class="wp-block-paragraph"><strong>Syntax:-<br>createElement(element_name)</strong></p>



<script src="https://gist.github.com/vijaypk376/34c15626162fac8ba62b0f573c4ed81c.js"></script>



<h2 class="wp-block-heading"><strong>Create Text Node</strong></h2>



<p class="wp-block-paragraph">The createTextNode(string) method is used to create the Text Node with the specified text (string).</p>



<p class="wp-block-paragraph"><strong>Syntax:-<br>createTextNode(string)</strong></p>



<script src="https://gist.github.com/vijaypk376/97708d1cbec9cf2cd98339c07b9a5f15.js"></script>



<h2 class="wp-block-heading"><strong>Create Comment Node</strong></h2>



<p class="wp-block-paragraph">The createComment(string) method is used to create the Comment Node with the specified string and returns it.</p>



<p class="wp-block-paragraph"><strong>Syntax:-<br>createComment (string)</strong></p>



<script src="https://gist.github.com/vijaypk376/e4df6fc09f92d126d7ec4e3a0c13a552.js"></script>



<h2 class="wp-block-heading"><strong>Document Fragment</strong></h2>



<ul class="wp-block-list"><li>The DocumentFragment interface represents a minimal document object that has no parent.</li><li>A common use for Document Fragment is to create one, assemble a DOM subtree within it, then append or insert the fragment into the DOM using Node interface methods such as appendChild( ) or insertBefore( ).</li><li>Document fragment isn&#8217;t part of the active document tree structure, changes made to the fragment don&#8217;t affect the document.</li><li>Doing this moves the fragment&#8217;s nodes into the DOM, leaving behind an empty Document Fragment.</li><li>An empty Document Fragment can be created using the document.createDocumentFragment() method.</li></ul>



<h2 class="wp-block-heading"><strong>Create Document Fragment</strong></h2>



<p class="wp-block-paragraph">The createDocumentFragment() method creates a imaginary Node object, with all the properties and methods of the Node object.</p>



<script src="https://gist.github.com/vijaypk376/261c28528a9b7721cfa74889aec2e8ba.js"></script>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-is-node-js-created-with-javascript/">How is Node.js created with JavaScript?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-is-node-js-created-with-javascript/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
