<?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>document.write Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/document-write/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/document-write/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Wed, 13 Apr 2022 16:34:32 +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 many ways to Display (Print) data in JavaScript?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-many-ways-to-display-print-javascript/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-many-ways-to-display-print-javascript/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Wed, 21 Jul 2021 12:56:07 +0000</pubDate>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[console.log]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[document.write]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[window.alert]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6871</guid>

					<description><![CDATA[<p>Display • document.write( )• window.alert( )• console.log( )• innerHTML document.write( ) This function is used to write arbitrary HTML and [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-many-ways-to-display-print-javascript/">How many ways to Display (Print) data in JavaScript?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">Display</h2>



<p class="wp-block-paragraph">• document.write( )<br>• window.alert( )<br>• console.log( )<br>• innerHTML</p>



<h3 class="wp-block-heading">document.write( )</h3>



<p class="wp-block-paragraph">This function is used to write arbitrary HTML and content into the page. If we use this function after an HTML document is fully loaded, will delete all existing HTML. It is used only for testing purposes.</p>



<p class="wp-block-paragraph"><strong>Ex-</strong></p>



<p class="wp-block-paragraph">document.write(“Hello World”);<br>document.write(variable);<br>document.write(4+2);<br>document.write(“Hello World.”);<br>document.write(“Hello World. ” + variable + “ ”);</p>



<h3 class="wp-block-heading">window.alert( )</h3>



<p class="wp-block-paragraph">This function is used to display data in alert dialog box. alert really should be used only when you truly want to stop everything and let the user know something.</p>



<p class="wp-block-paragraph"><strong>Ex-</strong></p>



<p class="wp-block-paragraph">window.alert(“Hello World”);<br>window.alert(variable);<br>window.alert(4+2);<br>window.alert(“Hello World” + variable);</p>



<h3 class="wp-block-heading">console.log( )</h3>



<p class="wp-block-paragraph">This function is used to display data in the console. This is used for debugging purpose. We can identify our code‟s error.</p>



<p class="wp-block-paragraph"><strong>Ex-</strong></p>



<p class="wp-block-paragraph">console.log(“Hello World”);<br>console.log(variable);<br>console.log(4+2);<br>console.log(“Hello World” + variable);</p>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-many-ways-to-display-print-javascript/">How many ways to Display (Print) data in 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-many-ways-to-display-print-javascript/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
