<?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>div tag in html Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/div-tag-in-html/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/div-tag-in-html/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Fri, 13 Aug 2021 07:10:21 +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>HTML: div tag</title>
		<link>https://www.scmgalaxy.com/tutorials/html-div-tag/</link>
					<comments>https://www.scmgalaxy.com/tutorials/html-div-tag/#respond</comments>
		
		<dc:creator><![CDATA[vikashdev k]]></dc:creator>
		<pubDate>Fri, 13 Aug 2021 07:10:20 +0000</pubDate>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[div tag calling from the outside of the body tag]]></category>
		<category><![CDATA[div tag in html]]></category>
		<category><![CDATA[div tag use in html]]></category>
		<category><![CDATA[div tag use inside of the body]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7897</guid>

					<description><![CDATA[<p>The HTML &#60;div&#62;…..&#60;/div&#62; tag is used define a section of document. Using div tag, you can group large sections of [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/html-div-tag/">HTML: div tag</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">The HTML &lt;div&gt;…..&lt;/div&gt; tag is used define a section of document. Using div tag, you can group large sections of HTML elements together and format them with CSS. The &lt;div&gt; element is very often used together with CSS, to layout a web page.</p>



<p class="wp-block-paragraph">By default, browsers always place a line break before and after the &lt;div> element. However, this can be changed with CSS.</p>



<h2 class="wp-block-heading">Inside: Body tag</h2>



<pre class="wp-block-code"><code>&lt;html>
	&lt;head> &lt;/head>
	&lt;body>
		&lt;p>paragraph outside div tag&lt;/p>

		&lt;div style="color: red">
  		         &lt;h3>heading tag is inside div tag&lt;/h3>
  		          &lt;p>paragraph tag is inside div tag&lt;/p>
		&lt;/div>

	&lt;/body>
&lt;/html></code></pre>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="539" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/div_tag_inside_h3_and_p-1-1024x539.png" alt="" class="wp-image-7900" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/div_tag_inside_h3_and_p-1-1024x539.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/div_tag_inside_h3_and_p-1-300x158.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/div_tag_inside_h3_and_p-1-768x404.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/div_tag_inside_h3_and_p-1-1536x808.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/div_tag_inside_h3_and_p-1.png 1924w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2 class="wp-block-heading">Outside: Body tag</h2>



<pre class="wp-block-code"><code>&lt;html>
	&lt;head>
		&lt;style>
			div {
    				color: red;
			       }
		&lt;/style>
	&lt;/head>
	&lt;body>
		This is body. 
	&lt;div> inside div tag which is calling form the out side of the body&lt;/div>
	&lt;/body>
&lt;/html>

</code></pre>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="552" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/div_tag_calling_from_the_ouside-1-1024x552.png" alt="" class="wp-image-7901" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/div_tag_calling_from_the_ouside-1-1024x552.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/div_tag_calling_from_the_ouside-1-300x162.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/div_tag_calling_from_the_ouside-1-768x414.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/div_tag_calling_from_the_ouside-1-1536x828.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/div_tag_calling_from_the_ouside-1.png 1908w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/html-div-tag/">HTML: div tag</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/html-div-tag/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
