<?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>element Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/element/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/element/</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 to Use jQuery Filters to Specify Your Element Selections?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-use-jquery-filters-to-specify-your-element-selections/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-use-jquery-filters-to-specify-your-element-selections/#comments</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Mon, 27 Sep 2021 12:50:01 +0000</pubDate>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[element]]></category>
		<category><![CDATA[filters]]></category>
		<category><![CDATA[index.html]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[main.js]]></category>
		<category><![CDATA[selectors]]></category>
		<category><![CDATA[specify]]></category>
		<category><![CDATA[style.css]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=9263</guid>

					<description><![CDATA[<p>So in this blog, we’re going to learn that How to Use jQuery Filters to Specify Your Element Selections? So [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-jquery-filters-to-specify-your-element-selections/">How to Use jQuery Filters to Specify Your Element Selections?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">So in this blog, we’re going to learn that How to Use <strong>jQuery Filters </strong>to Specify Your <strong>Element Selections</strong>?</p>



<p class="wp-block-paragraph">So let’s go ahead and do that for first in&nbsp;<strong>index.html</strong>, with help of&nbsp;<strong>style.css</strong>&nbsp;&amp;&nbsp;<strong>main.js</strong>.</p>



<script src="https://gist.github.com/ajcotocus/8c06a3ac4dff1d24d71a388d603999b2.js"></script>



<script src="https://gist.github.com/ajcotocus/040cc4abd1a1e482fb4cef76533c4a6e.js"></script>



<script src="https://gist.github.com/ajcotocus/45fdaa15e2b2637d7078738d9e83dadb.js"></script>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="604" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/image-109-1024x604.png" alt="" class="wp-image-9264" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/image-109-1024x604.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/image-109-300x177.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/image-109-768x453.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/image-109-1536x906.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/image-109.png 1591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>jQuery&nbsp;Filters&nbsp;to&nbsp;Specify&nbsp;Your&nbsp;Element&nbsp;Selections</figcaption></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-jquery-filters-to-specify-your-element-selections/">How to Use jQuery Filters to Specify Your Element Selections?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-use-jquery-filters-to-specify-your-element-selections/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to use Moving Elements in jQuery?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-use-moving-elements-in-jquery/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-use-moving-elements-in-jquery/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Wed, 22 Sep 2021 12:20:13 +0000</pubDate>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[element]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[moving]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=9134</guid>

					<description><![CDATA[<p>In this blog, I am creating a page using HTML, CSS &#38; jQuery after that define Moving Elements. So, Let’s create an index.html, main.js &#38; style.css below- [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-moving-elements-in-jquery/">How to use Moving Elements in jQuery?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">In this blog, I am creating a page using <strong>HTML</strong>, <strong>CSS </strong>&amp; <strong>jQuery </strong>after that define <strong>Moving Elements</strong>. So, Let’s create an <strong>index.html, main.js &amp; style.css </strong>below-</p>



<p class="wp-block-paragraph">Are right let&#8217;s create our first animation that&#8217;s not actually built in any nation but a custom one. And to get started with custom animations we&#8217;re just going to create a very simple one and this blog-</p>



<script src="https://gist.github.com/ajcotocus/1e490f901a4eb0c847e6047253884b27.js"></script>



<script src="https://gist.github.com/ajcotocus/e24279a525dfc3bd091ade22e4b5d9ee.js"></script>



<script src="https://gist.github.com/ajcotocus/24706e9c12a0e082a35e6d4a605d127d.js"></script>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="205" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/image-96-1024x205.png" alt="" class="wp-image-9136" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/image-96-1024x205.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/image-96-300x60.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/image-96-768x154.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/image-96-1536x308.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/image-96.png 1617w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Moving Elements in jQuery which just moves around elements on the page.</figcaption></figure>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="220" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/image-97-1024x220.png" alt="" class="wp-image-9137" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/image-97-1024x220.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/image-97-300x64.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/image-97-768x165.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/image-97-1536x329.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/image-97.png 1646w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption> Moving Elements in jQuery values to change the position of element.</figcaption></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-moving-elements-in-jquery/">How to use Moving Elements in jQuery?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-use-moving-elements-in-jquery/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How does Attribute Selector work in CSS?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-does-attribute-selector-work-in-css/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-does-attribute-selector-work-in-css/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Tue, 10 Aug 2021 13:05:17 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[attribute]]></category>
		<category><![CDATA[element]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[selector]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[Work]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7753</guid>

					<description><![CDATA[<p>We can set style using attribute or its value. Set Style using attribute : &#8211; Syntax: &#8211; Selector [attribute] { [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-does-attribute-selector-work-in-css/">How does Attribute Selector work in CSS?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">We can set style using attribute or its value.</p>



<h3 class="wp-block-heading"><strong>Set Style using attribute : &#8211;</strong></h3>



<p class="wp-block-paragraph"><strong>Syntax: &#8211;</strong></p>



<p class="wp-block-paragraph">Selector [attribute] { CSS ;}</p>



<p class="wp-block-paragraph"><strong>Ex: &#8211;</strong></p>



<p class="wp-block-paragraph">div [id] { color: red; }</p>



<h3 class="wp-block-heading">Set style using attribute and its value: &#8211;</h3>



<p class="wp-block-paragraph"><strong>Syntax: &#8211;</strong></p>



<p class="wp-block-paragraph">Selector [attribute = “value”] {  CSS  }</p>



<p class="wp-block-paragraph"><strong>Ex: &#8211;</strong></p>



<p class="wp-block-paragraph">div[id=“data”] { color: red; }</p>



<h3 class="wp-block-heading">Set Style using an attribute value containing a specified word.</h3>



<p class="wp-block-paragraph"><strong>Syntax: &#8211;</strong></p>



<p class="wp-block-paragraph">[attribute <strong>~=</strong> “value”] { CSS }</p>



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



<p class="wp-block-paragraph">[class <strong>~=</strong> “game”] { color: red; }</p>



<div class="game">game</div>
<div class="supergame">supergame</div>
<div class="game-super">game-super</div>
<div class="gamesuper">gamesuper</div>
<div class="super-game">super-game</div>
<div class="game super">game super</div>
<div class="super game">super game</div>



<h3 class="wp-block-heading">Set Style using with the specified attribute starting with the specified value.</h3>



<p class="wp-block-paragraph"><strong>Syntax: &#8211;</strong></p>



<p class="wp-block-paragraph">[attribute <strong>|=</strong> “value”] { CSS }</p>



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



<p class="wp-block-paragraph">[class <strong>|=</strong> “game”] {color: red;}</p>



<p class="wp-block-paragraph">The value must be a whole word.</p>



<p class="wp-block-paragraph"><strong>Ex: &#8211;</strong></p>



<p class="wp-block-paragraph">“game” or “game-super”</p>



<div class="game">game</div>
<div class="supergame">supergame</div>
<div class="game-super">game-super</div>
<div class="gamesuper">gamesuper</div>
<div class="super-game">super-game</div>
<div class="game super">game super</div>
<div class="super game">super game</div>



<h3 class="wp-block-heading">Set Style whose attribute value begins with a specified value.</h3>



<p class="wp-block-paragraph"><strong>Syntax: &#8211;</strong></p>



<p class="wp-block-paragraph">[attribute <strong>^=</strong> “value”] { CSS }</p>



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



<p class="wp-block-paragraph">[class <strong>^=</strong> “game”] {color: red;}</p>



<div class="game">game</div>
<div class="supergame">supergame</div>
<div class="game-super">game-super</div>
<div class="gamesuper">gamesuper</div>
<div class="super-game">super-game</div>
<div class="game super">game super</div>
<div class="super game">super game</div>



<p class="wp-block-paragraph">It is not necessary that the value should be a whole word.</p>



<h3 class="wp-block-heading">Set Style whose attribute value ends with a specified value.</h3>



<p class="wp-block-paragraph"><strong>Syntax: &#8211;</strong></p>



<p class="wp-block-paragraph">[attribute <strong>$=</strong> “value”] { CSS }</p>



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



<p class="wp-block-paragraph">[class <strong>$=</strong> “game”] {color: red;}</p>



<div class="game">game</div>
<div class="supergame">supergame</div>
<div class="game-super">game-super</div>
<div class="gamesuper">gamesuper</div>
<div class="super-game">super-game</div>
<div class="game super">game super</div>
<div class="super game">super game</div>



<p class="wp-block-paragraph">It is not necessary that the value should be a whole word.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-does-attribute-selector-work-in-css/">How does Attribute Selector work in CSS?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-does-attribute-selector-work-in-css/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Types of Selector in CSS &#038; How to Use CSS Selector in HTML?</title>
		<link>https://www.scmgalaxy.com/tutorials/types-of-selector-in-css-how-to-use-css-selector-in-html/</link>
					<comments>https://www.scmgalaxy.com/tutorials/types-of-selector-in-css-how-to-use-css-selector-in-html/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Mon, 02 Aug 2021 12:21:24 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[attribute]]></category>
		<category><![CDATA[combinator]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[element]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[id]]></category>
		<category><![CDATA[pseudo-class]]></category>
		<category><![CDATA[pseudo-element]]></category>
		<category><![CDATA[selector]]></category>
		<category><![CDATA[Simple]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7248</guid>

					<description><![CDATA[<p>There are five types of Selector in CSS. Simple selectors (select elements based on name, id, class) Combinator selectors (select [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/types-of-selector-in-css-how-to-use-css-selector-in-html/">Types of Selector in CSS &#038; How to Use CSS Selector in HTML?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">There are five types of Selector in CSS. </p>



<ul class="wp-block-list"><li><strong>Simple selectors</strong> (select elements based on name, id, class)</li><li><strong>Combinator selectors</strong> (select elements based on a specific relationship between them)</li><li><strong>Pseudo-class selectors</strong> (select elements based on a certain state)</li><li><strong>Pseudo-elements selectors</strong> (select and style a part of an element)</li><li><strong>Attribute selectors</strong> (select elements based on an attribute or attribute value)</li></ul>



<h3 class="wp-block-heading"><strong>The CSS element Selector</strong>&#8211;</h3>



<ul class="wp-block-list"><li><strong>ID</strong></li><li><strong>Class</strong></li><li><strong>Element</strong></li></ul>



<h3 class="wp-block-heading"><strong>Id Selector</strong>&#8211;</h3>



<pre class="wp-block-code"><code>&lt;html>
	&lt;head>
		&lt;style>
		          #id_selector {
			              color: red; font-size: 60px;
			         }
		&lt;/style>
	&lt;/head>
	&lt;body>
		&lt;p id="id_selector">Hello World!&lt;/p>
		&lt;p>This paragraph is not affected by the style.&lt;/p>
	&lt;/body>
&lt;/html></code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="475" height="243" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-1.png" alt="" class="wp-image-7257" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-1.png 475w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-1-300x153.png 300w" sizes="auto, (max-width: 475px) 100vw, 475px" /></figure>



<h3 class="wp-block-heading"><strong>Class Selector</strong>&#8211;</h3>



<h4 class="wp-block-heading">Universal-</h4>



<pre class="wp-block-code"><code>&lt;html>
	&lt;head>
		&lt;style>
			.red {color: #FF0000; font-size: 60px;}
		&lt;/style> 
	&lt;/head>
	&lt;body>
	            &lt;h2 class="red">I am Heading&lt;/h2>
	            &lt;p class ="red">I am first paragraph&lt;/p>
	            &lt;p>I am second paragraph&lt;/p>
	&lt;/body>
&lt;/html></code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="648" height="379" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-2.png" alt="" class="wp-image-7262" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-2.png 648w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-2-300x175.png 300w" sizes="auto, (max-width: 648px) 100vw, 648px" /></figure>



<h4 class="wp-block-heading">Element Specific-</h4>



<pre class="wp-block-code"><code>&lt;html>
	&lt;head>
		&lt;style>
			p.red {color: #FF0000; font-size: 60px;}
		&lt;/style> 
	&lt;/head>
	&lt;body>
	            &lt;h2 class="red">I am Heading&lt;/h2>
	            &lt;p class ="red">I am first paragraph&lt;/p>
	            &lt;p>I am second paragraph&lt;/p>
	&lt;/body>
&lt;/html></code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="661" height="346" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-3.png" alt="" class="wp-image-7263" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-3.png 661w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-3-300x157.png 300w" sizes="auto, (max-width: 661px) 100vw, 661px" /></figure>



<h4 class="wp-block-heading"><strong>Use Two or more class</strong>&#8211;</h4>



<pre class="wp-block-code"><code>&lt;html>
	&lt;head>
		&lt;style>
			p.red {color: #FF0000;}
			p.look{font-size: 60px;}
			.algn{text-align: center;}
		&lt;/style> 
	&lt;/head>
	&lt;body>
	                    &lt;h2 class="algn">I am Heading&lt;/h2>
	                    &lt;p class ="red look">I am first paragraph&lt;/p>
	                    &lt;p class="red algn">I am second paragraph&lt;/p>
	&lt;/body>
&lt;/html></code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="172" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-4-1024x172.png" alt="" class="wp-image-7264" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-4-1024x172.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-4-300x50.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-4-768x129.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-4-1536x258.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-4.png 1917w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/types-of-selector-in-css-how-to-use-css-selector-in-html/">Types of Selector in CSS &#038; How to Use CSS Selector in HTML?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/types-of-selector-in-css-how-to-use-css-selector-in-html/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to set element Layer (z-index) in CSS?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-set-element-layer-z-index-in-css/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-set-element-layer-z-index-in-css/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Fri, 30 Jul 2021 12:49:03 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[element]]></category>
		<category><![CDATA[layer]]></category>
		<category><![CDATA[z-index]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7205</guid>

					<description><![CDATA[<p>z-index property is used to set the layer of elements. We can set this property to auto (default) and number. [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-set-element-layer-z-index-in-css/">How to set element Layer (z-index) in CSS?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">z-index property is used to set the layer of elements. We can set this property to <em>auto</em> (default) and <em>number</em>. It works only with position property value: fixed, relative, absolute.</p>



<p class="wp-block-paragraph">The element which has a higher number appears at the top.</p>



<p class="wp-block-paragraph"><strong>Ex: &#8211;</strong></p>



<p class="wp-block-paragraph"><strong>img {<br>position: fixed;<br>z-index: 565;<br>}</strong></p>



<figure class="wp-block-image"><img decoding="async" src="https://spyrestudios.com/wp-content/uploads/css-z-index-c87ef0.png" alt="What is Z-Index and How Does It Work? - SpyreStudios"/></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-set-element-layer-z-index-in-css/">How to set element Layer (z-index) in CSS?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-set-element-layer-z-index-in-css/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to use the position property in CSS to align elements?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-use-the-position-property-in-css-to-align-elements/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-use-the-position-property-in-css-to-align-elements/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Fri, 30 Jul 2021 12:30:09 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[align]]></category>
		<category><![CDATA[bottom]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[element]]></category>
		<category><![CDATA[left]]></category>
		<category><![CDATA[position]]></category>
		<category><![CDATA[property]]></category>
		<category><![CDATA[Right]]></category>
		<category><![CDATA[Top]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7197</guid>

					<description><![CDATA[<p>In This tutorial, I am going to explain that how to How to use the position property in CSS to [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-the-position-property-in-css-to-align-elements/">How to use the position property in CSS to align elements?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">In This tutorial, I am going to explain that how to How to use the position property in CSS to align elements? Below Property to uses in align elements-</p>



<h2 class="wp-block-heading">Position-</h2>



<ul class="wp-block-list"><li>Left</li><li>Right</li><li>Bottom</li><li>Top</li><li>static</li><li>Fixed</li><li>Relative</li><li>Absolute</li></ul>



<p class="wp-block-paragraph"><strong>Length (cm, px, %)</strong></p>



<h2 class="wp-block-heading">Left Align Property-</h2>



<ul class="wp-block-list"><li>left: auto</li><li>left: 55px</li><li>left: 50%</li></ul>



<h2 class="wp-block-heading">Right Align Property-</h2>



<ul class="wp-block-list"><li>right: auto</li><li>right: 23px</li><li>right: 50%</li></ul>



<h2 class="wp-block-heading">Bottom Align Property-</h2>



<ul class="wp-block-list"><li>bottom: auto</li><li>bottom: 23cm</li><li>bottom: 40%</li></ul>



<h2 class="wp-block-heading">Top Align Property-</h2>



<ul class="wp-block-list"><li>top: auto</li><li>top: 20%</li><li>top: 40px</li></ul>



<h2 class="wp-block-heading"><strong>static</strong>&#8211;</h2>



<p class="wp-block-paragraph">When we set static position for an element then it is not positioned in any special way, it is always positioned according to the normal flow of the page. left, right, top and bottom property won’t work with static position.</p>



<p class="wp-block-paragraph"><strong>Ex: &#8211;</strong></p>



<p class="wp-block-paragraph"><strong>h1 {<br>position: static;<br>border: 5px solid red;<br>}</strong></p>



<p class="wp-block-paragraph"><strong>h1 {<br>position: static;<br>border: 5px solid red;<br>left: 50px;<br>}</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="634" height="215" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/image-24.png" alt="" class="wp-image-7202" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/image-24.png 634w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/image-24-300x102.png 300w" sizes="auto, (max-width: 634px) 100vw, 634px" /></figure>



<h2 class="wp-block-heading">fixed-</h2>



<p class="wp-block-paragraph">When we set fixed position for an element it always stays in the same place even if the page is scrolled. The top, right, bottom, and left properties are used to position the element.</p>



<p class="wp-block-paragraph"><strong>img {<br>position: fixed;<br>right: 0;<br>top: 50%;<br>border: 3px solid red;<br>}</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="282" height="258" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/image-25.png" alt="" class="wp-image-7203"/></figure>



<h2 class="wp-block-heading">relative-</h2>



<p class="wp-block-paragraph">When we set relative position for an element, elements positioned to its normal flow.</p>



<p class="wp-block-paragraph"><strong>h1 {<br>position: relative;<br>left: 50px;<br>border: 3px solid red;<br>}</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="642" height="246" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/image-23.png" alt="" class="wp-image-7201" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/image-23.png 642w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/image-23-300x115.png 300w" sizes="auto, (max-width: 642px) 100vw, 642px" /></figure>



<h2 class="wp-block-heading">absolute-</h2>



<p class="wp-block-paragraph">When we set absolute position for an element, element is positioned to the nearest positioned ancestor. If there is no positioned ancestor then it follow the normal position according to browser.</p>



<p class="wp-block-paragraph"><strong>div {<br>position: absolute;<br>top: 80px;<br>right: 0;<br>width: 200px;<br>height: 100px;<br>border: 3px solid red;<br>}</strong></p>



<figure class="wp-block-image"><img decoding="async" src="https://i2.wp.com/css-tricks.com/wp-content/uploads/2020/07/Screen-Shot-2020-07-24-at-11.46.45-AM.png?resize=1022%2C1024&amp;ssl=1" alt="Absolute Positioning Inside Relative Positioning | CSS-Tricks"/></figure>



<p class="wp-block-paragraph">These properties are used to position an element.</p>



<p class="wp-block-paragraph">We can not use any of these properties without setting up position property.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-the-position-property-in-css-to-align-elements/">How to use the position property in CSS to align elements?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-use-the-position-property-in-css-to-align-elements/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How an element should display in CSS?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-an-element-should-display-in-css/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-an-element-should-display-in-css/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Thu, 29 Jul 2021 12:53:53 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[element]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[inline]]></category>
		<category><![CDATA[table]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7175</guid>

					<description><![CDATA[<p>This property is used to define how an element should display. Every HTML element has a default display value depending [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-an-element-should-display-in-css/">How an element should display in CSS?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">This property is used to define how an element should display. Every HTML element has a default display value depending on what type of element it is. The default display value for most elements is block or inline.</p>



<figure class="wp-block-table"><table><tbody><tr><td>inline</td><td>table-row-group</td></tr><tr><td>block</td><td>table-caption</td></tr><tr><td>flex</td><td>table-column-group</td></tr><tr><td>inline-block</td><td>table-header-group</td></tr><tr><td>inline-flex</td><td>table-footer-group</td></tr><tr><td>inline-table</td><td>table-cell</td></tr><tr><td>list-item</td><td>table-column</td></tr><tr><td>run-in</td><td>table-row</td></tr><tr><td>table</td><td>none</td></tr></tbody></table><figcaption><strong>p { display: inline; }</strong></figcaption></figure>



<figure class="wp-block-image"><img decoding="async" src="https://daqxzxzy8xq3u.cloudfront.net/wp-content/uploads/2019/05/20122804/display-block-example-css-code-2.png" alt="How to use the top 5 CSS display values: none, block, inline-block, table,  and flex"/></figure>



<h2 class="wp-block-heading"><strong>Block-level Elements</strong>&#8211;</h2>



<p class="wp-block-paragraph">A Block-level element always starts on a new line and takes up the full width available.</p>



<p class="wp-block-paragraph"><strong>Ex: &#8211;</strong></p>



<p class="wp-block-paragraph">&lt;div&gt;</p>



<p class="wp-block-paragraph">&lt;h1&gt;</p>



<p class="wp-block-paragraph"> &lt;p></p>



<figure class="wp-block-image"><img decoding="async" src="https://wonderfulengineering.com/wp-content/uploads/2021/03/sublime-syntax-1024x614-1024x614-1.jpg" alt="Best JavaScript Development Services Provided by Developers"/></figure>



<h2 class="wp-block-heading"><strong>Inline Elements</strong>&#8211;</h2>



<p class="wp-block-paragraph">An inline element does not start on a new line and only takes up as much width as necessary.</p>



<p class="wp-block-paragraph"><strong>Ex: &#8211;</strong></p>



<p class="wp-block-paragraph">&lt;span&gt;</p>



<p class="wp-block-paragraph">&lt;a&gt;</p>



<p class="wp-block-paragraph">&lt;img></p>



<figure class="wp-block-image"><img decoding="async" src="https://www.udacity.com/blog/wp-content/uploads/2021/06/CSSImageGallery1.png" alt="The Easy Guide to Building A CSS Image Gallery | Udacity"/></figure>



<h2 class="wp-block-heading"><strong>Display</strong>&#8211;</h2>



<p class="wp-block-paragraph">•<strong>inline</strong> – When we set this value, the element does not start on a new line and only takes up as much width as necessary (we can’t set width/height it won’t work)</p>



<p class="wp-block-paragraph">•<strong>block</strong> – When we set this value, element always starts on a new line and takes up the full width available (we can set width/height)</p>



<p class="wp-block-paragraph">•<strong>inline-block</strong> – It is combination of inline and block value. It doesn’t start on new line but we can set width and height.</p>



<p class="wp-block-paragraph">•<strong>none </strong>&#8211; The element will not be displayed at all (has no effect on layout)</p>



<p class="wp-block-paragraph">•<strong>flex</strong> &#8211; Displays an element as a block-level flex container.</p>



<p class="wp-block-paragraph">•<strong>inline-flex</strong> &#8211;  Displays an element as an inline-level flex container.</p>



<p class="wp-block-paragraph">•<strong>inline-table</strong> &#8211; The element is displayed as an inline-level table </p>



<p class="wp-block-paragraph">•<strong>run-in</strong> &#8211; Displays an element as either block or inline, depending on context</p>



<h2 class="wp-block-heading">How to use Display?</h2>



<ul class="wp-block-list"><li>table – It works like a element</li><li>table-caption &#8211; It works like a element</li><li>table-header-group &#8211; It works like a element</li><li>table-footer-group &#8211; It works like a element</li><li>table-row-group &#8211; It works like a element</li><li>table-cell &#8211; It works like a element</li><li>table-row &#8211; It works like a element</li><li>list-item &#8211; It works like a element</li></ul>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-an-element-should-display-in-css/">How an element should display in CSS?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-an-element-should-display-in-css/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Html tags and its type?</title>
		<link>https://www.scmgalaxy.com/tutorials/html-tags-and-its-type/</link>
					<comments>https://www.scmgalaxy.com/tutorials/html-tags-and-its-type/#comments</comments>
		
		<dc:creator><![CDATA[vikashdev k]]></dc:creator>
		<pubDate>Tue, 20 Jul 2021 13:19:29 +0000</pubDate>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[element]]></category>
		<category><![CDATA[html tags]]></category>
		<category><![CDATA[Html tags and its type]]></category>
		<category><![CDATA[tag type]]></category>
		<category><![CDATA[type]]></category>
		<category><![CDATA[used]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6812</guid>

					<description><![CDATA[<p>html Tags A tag is a bit of text that acts as a point demarcation. To create a tag, HTML [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/html-tags-and-its-type/">Html tags and its type?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"></p>



<h2 class="wp-block-heading"><strong>html Tags</strong></h2>



<p class="wp-block-paragraph">A tag is a bit of text that acts as a point demarcation. To create a tag, HTML gives certain characters special meaning: the angle brackets &lt; and >.<br>Putting characters within angle brackets creates a tag.</p>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/basic-classification-of-html-tags-0.jpg" alt="" class="wp-image-6836" width="385" height="185" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/basic-classification-of-html-tags-0.jpg 360w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/basic-classification-of-html-tags-0-300x144.jpg 300w" sizes="auto, (max-width: 385px) 100vw, 385px" /></figure>



<pre class="wp-block-code"><code>&lt;h1> A heading &lt;/h1></code></pre>



<h2 class="wp-block-heading">tags used</h2>



<p class="wp-block-paragraph">Start tag or opening tag and End tag or closing tag. An end tag always matches a start tag, except that it has an extra forward slash after the opening angle bracket.</p>



<pre class="wp-block-code"><code>&lt;h1> A heading &lt;/h1></code></pre>



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



<p class="wp-block-paragraph"><strong>Container Tag </strong>– Which has opening and closing Tag.</p>



<p class="wp-block-paragraph"><strong>Ex-</strong><br><code><span class="has-inline-color has-vivid-red-color">&lt;html> ……. &lt;/html><br>&lt;head> ……. &lt;/head><br>&lt;body> ……. &lt;/body></span></code></p>



<p class="wp-block-paragraph"><strong>Empty Tag</strong> – which has only opening tag.</p>



<p class="wp-block-paragraph">Ex: &#8211;</p>



<pre class="wp-block-code"><code><span class="has-inline-color has-vivid-red-color">&lt;br>
&lt;area>
&lt;base>
&lt;hr>
&lt;img>
&lt;input></span></code></pre>



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



<p class="wp-block-paragraph">The combination of a start and end tags define an element. Everything between the two tags is referred to as the contents of the element.</p>



<pre class="wp-block-code"><code><span class="has-inline-color has-vivid-red-color">&lt;h1> A heading &lt;/h1></span>
</code></pre>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/html-tags-and-its-type/">Html tags and its type?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/html-tags-and-its-type/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
