<?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>inside head tag javaScript use Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/inside-head-tag-javascript-use/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/inside-head-tag-javascript-use/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Wed, 29 Sep 2021 13:22:07 +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>JavaScript : Where to use javaScript code</title>
		<link>https://www.scmgalaxy.com/tutorials/javascript-where-to-use-javascript-code/</link>
					<comments>https://www.scmgalaxy.com/tutorials/javascript-where-to-use-javascript-code/#respond</comments>
		
		<dc:creator><![CDATA[vikashdev k]]></dc:creator>
		<pubDate>Wed, 29 Sep 2021 13:22:05 +0000</pubDate>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[External javaScript use code]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[inside head tag javaScript use]]></category>
		<category><![CDATA[inside html tag use javaScript]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[javaScript code use]]></category>
		<category><![CDATA[javascript example]]></category>
		<category><![CDATA[Perforce]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[What]]></category>
		<category><![CDATA[where to use javaScript code]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=9306</guid>

					<description><![CDATA[<p>JavaScript code use in following : Between the body tag of html Between the head tag of html In .js [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/javascript-where-to-use-javascript-code/">JavaScript : Where to use javaScript code</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">JavaScript code use in following  :</h3>



<ol class="wp-block-list"><li><strong>Between the body tag of html</strong></li><li><strong>Between the head tag of html</strong></li><li><strong>In .js file (external javaScript)</strong></li></ol>



<h3 class="wp-block-heading">1. JavaScript use between html body tag :</h3>



<p class="wp-block-paragraph">Example of javaScript using inside html between body tag.</p>



<script src="https://gist.github.com/vikash-cotocus/b3adcb37910e12eb873a41c8a6b3548c.js"></script>



<h4 class="wp-block-heading">Output :- Hello World</h4>



<h3 class="wp-block-heading">2. JavaScript use between head tag in html :</h3>



<p class="wp-block-paragraph">Example to use javaScript between head tag in html.</p>



<script src="https://gist.github.com/vikash-cotocus/be67ab438fea34845da19ce966a8a33e.js"></script>



<h4 class="wp-block-heading">Output :</h4>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="492" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/js-1024x492.png" alt="" class="wp-image-9310" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/js-1024x492.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/js-300x144.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/js-768x369.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/js-1536x739.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/js.png 1907w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading">3. External JavaScript file :</h3>



<p class="wp-block-paragraph">We can create external JavaScript file and embed it in many html page. If you want to run the same <strong>JavaScript</strong> on several pages in a web site, you should create an <strong>external</strong> <strong>JavaScript</strong> <strong>file</strong>, instead of writing the same script over and over again.</p>



<h4 class="wp-block-heading">message.js </h4>



<script src="https://gist.github.com/vikash-cotocus/0e11e819cc715ed4cef04554e711242f.js"></script>



<h4 class="wp-block-heading">index.html</h4>



<script src="https://gist.github.com/vikash-cotocus/7a3420785b7ee4571c7fb2c7eddb311d.js"></script>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="441" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/jss-1024x441.png" alt="" class="wp-image-9311" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/jss-1024x441.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/jss-300x129.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/jss-768x331.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/jss-1536x662.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/jss.png 1822w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/javascript-where-to-use-javascript-code/">JavaScript : Where to use javaScript code</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/javascript-where-to-use-javascript-code/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
