<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Untitled Publication]]></title><description><![CDATA[Untitled Publication]]></description><link>https://preeti05.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Thu, 17 Sep 2026 03:16:03 GMT</lastBuildDate><atom:link href="https://preeti05.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[HTML Text Format]]></title><description><![CDATA[what is html ??
HTML stand for Hyper Text Markup Language. HTML is the code that is used to structure a web page and its content. using HTML, you can define headers, paragraphs, links, images, and much more things, so your browser knows how to struct...]]></description><link>https://preeti05.hashnode.dev/html-text-format</link><guid isPermaLink="true">https://preeti05.hashnode.dev/html-text-format</guid><category><![CDATA[HTML]]></category><dc:creator><![CDATA[preeti pal]]></dc:creator><pubDate>Tue, 06 Sep 2022 17:03:36 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/unsplash/wUbNvDTsOIc/upload/v1662476323120/8bCqiRk06.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2 id="heading-what-is-html">what is html ??</h2>
<p>HTML stand for<strong><em> Hyper Text Markup Language</em></strong>. HTML is the code that is used to structure a web page and its content. using HTML, you can define headers, paragraphs, links, images, and much more things, so your browser knows how to structure the web page you're looking at.</p>
<p> Hence, HTML is a markup language which is used for creating attractive web pages with the help of styling, and which looks in a good format on a web browser. An HTML document is made of many HTML tags and each HTML tag contains different contents.</p>
<h2 id="heading-html-formatting">HTML Formatting</h2>
<p>HTML Formatting is a process of formatting text for better look and feel. we can format text in HTML without using CSS. There are many formatting tags in HTML. These tags are used to make text bold, small or underlined.</p>
<h2 id="heading-types-of-html-formatting-tags">types of HTML formatting tags</h2>
<p>there are many formatting tags in HTML. these tags are designed to display special types of text.
it makes the text look bold, small, important etc.</p>
<ul>
<li>Bold text - &lt; b &gt; </li>
<li>Important text - &lt; strong &gt; </li>
<li>Italic text - &lt; i &gt;  </li>
<li>Emphasized text - &lt; em &gt; </li>
<li>Marked text - &lt; mark &gt;</li>
<li>Smaller text- &lt; small &gt; </li>
<li>Deleted text - &lt; del &gt; </li>
<li>Inserted text - &lt; ins &gt;</li>
<li>Subscript text - &lt; sub &gt;</li>
<li>Superscript text - &lt; sup &gt;</li>
</ul>
<p><strong>1. Bold Text </strong></p>
<p>The HTML &lt; b &gt; element defines bold text, without any extra importance.</p>
<p>example:</p>
<pre><code><span class="hljs-operator">&lt;</span>p<span class="hljs-operator">&gt;</span> <span class="hljs-built_in">this</span> <span class="hljs-keyword">is</span> normal and<span class="hljs-operator">&lt;</span>b<span class="hljs-operator">&gt;</span> <span class="hljs-built_in">this</span> text <span class="hljs-keyword">is</span> in bold. &lt;<span class="hljs-operator">/</span>b<span class="hljs-operator">&gt;</span><span class="hljs-operator">&lt;</span><span class="hljs-operator">/</span>p<span class="hljs-operator">&gt;</span>
</code></pre><blockquote>
<p>output : this is normal and<b> this text is in bold.</b></p>
</blockquote>
<p><strong>2. important text</strong></p>
<p>The HTML &lt; strong &gt; tag is a logical tag, which displays the content in bold font and informs the browser about its logical importance</p>
<p>example:</p>
<pre><code><span class="hljs-operator">&lt;</span>p<span class="hljs-operator">&gt;</span> <span class="hljs-built_in">this</span> <span class="hljs-keyword">is</span> normal and<span class="hljs-operator">&lt;</span>strong<span class="hljs-operator">&gt;</span> <span class="hljs-built_in">this</span> text <span class="hljs-keyword">is</span> important. &lt;<span class="hljs-operator">/</span>strong<span class="hljs-operator">&gt;</span><span class="hljs-operator">&lt;</span><span class="hljs-operator">/</span>p<span class="hljs-operator">&gt;</span>
</code></pre><blockquote>
<p>output : this is normal and<strong> this text is important.</strong></p>
</blockquote>
<p><strong>3. Italic text </strong></p>
<p>The HTML <i> element  display the enclosed content in italic font.</i></p>
<p>example:</p>
<pre><code><span class="hljs-operator">&lt;</span>p<span class="hljs-operator">&gt;</span> <span class="hljs-built_in">this</span> <span class="hljs-keyword">is</span> normal and<span class="hljs-operator">&lt;</span>i<span class="hljs-operator">&gt;</span> <span class="hljs-built_in">this</span> text <span class="hljs-keyword">is</span> italic. &lt;<span class="hljs-operator">/</span>i<span class="hljs-operator">&gt;</span><span class="hljs-operator">&lt;</span><span class="hljs-operator">/</span>p<span class="hljs-operator">&gt;</span>
</code></pre><blockquote>
<p>output : this is normal and<i> this text is italic.</i></p>
</blockquote>
<p><strong>4. Emphasized text</strong></p>
<p>The HTML &lt; em &gt; tag is a logical element, which will display the enclosed content in italic 
font, with a semantics importance.</p>
<p>example:</p>
<pre><code><span class="hljs-operator">&lt;</span>p<span class="hljs-operator">&gt;</span><span class="hljs-built_in">this</span> text <span class="hljs-keyword">is</span> <span class="hljs-operator">&lt;</span>em<span class="hljs-operator">&gt;</span> emphasized. &lt;<span class="hljs-operator">/</span>em<span class="hljs-operator">&gt;</span><span class="hljs-operator">&lt;</span><span class="hljs-operator">/</span>p<span class="hljs-operator">&gt;</span>
</code></pre><blockquote>
<p>output : this text is <em> emphasized.</em></p>
</blockquote>
<p><strong>5. Marked text</strong></p>
<p>We use this tag to  mark or highlight something. &lt; mark &gt;....&lt;/ mark &gt;.</p>
<p>example:</p>
<pre><code><span class="hljs-operator">&lt;</span>p<span class="hljs-operator">&gt;</span> <span class="hljs-built_in">this</span> text <span class="hljs-keyword">is</span> <span class="hljs-operator">&lt;</span>mark<span class="hljs-operator">&gt;</span> marked. &lt;<span class="hljs-operator">/</span>mark<span class="hljs-operator">&gt;</span><span class="hljs-operator">&lt;</span><span class="hljs-operator">/</span>p<span class="hljs-operator">&gt;</span>
</code></pre><blockquote>
<p>output : this text is <mark> marked.</mark></p>
</blockquote>
<p><strong>6. Smaller text</strong></p>
<p>The HTML &lt; small &gt; element defines smaller text:</p>
<p>example:</p>
<pre><code><span class="hljs-operator">&lt;</span>p<span class="hljs-operator">&gt;</span> <span class="hljs-built_in">this</span> text <span class="hljs-keyword">is</span> <span class="hljs-operator">&lt;</span>small<span class="hljs-operator">&gt;</span> small. &lt;<span class="hljs-operator">/</span>small<span class="hljs-operator">&gt;</span><span class="hljs-operator">&lt;</span><span class="hljs-operator">/</span>p<span class="hljs-operator">&gt;</span>
</code></pre><blockquote>
<p>output : this text is  small.</p>
</blockquote>
<p><strong>7.  Deleted text </strong></p>
<p>Anything that puts within &lt; del &gt;..........&lt;/ del &gt; is displayed as deleted text.</p>
<p>example:</p>
<pre><code><span class="hljs-operator">&lt;</span>p<span class="hljs-operator">&gt;</span>My favorite color <span class="hljs-keyword">is</span> <span class="hljs-operator">&lt;</span>del<span class="hljs-operator">&gt;</span>blue<span class="hljs-operator">&lt;</span><span class="hljs-operator">/</span>del<span class="hljs-operator">&gt;</span> red.&lt;<span class="hljs-operator">/</span>p<span class="hljs-operator">&gt;</span>
</code></pre><blockquote>
<p>output : My favorite color is blue
  red.</p>
</blockquote>
<p><strong>8. Inserted text</strong></p>
<p>Anything that puts within &lt; ins &gt; ..........&lt;/ ins &gt; is displayed as inserted text.</p>
<p>example:</p>
<pre><code><span class="hljs-operator">&lt;</span>p<span class="hljs-operator">&gt;</span> my fav color <span class="hljs-keyword">is</span> <span class="hljs-operator">&lt;</span>del<span class="hljs-operator">&gt;</span> blue <span class="hljs-operator">&lt;</span><span class="hljs-operator">/</span>del<span class="hljs-operator">&gt;</span> <span class="hljs-operator">&lt;</span>ins<span class="hljs-operator">&gt;</span> black.&lt;<span class="hljs-operator">/</span>ins<span class="hljs-operator">&gt;</span> <span class="hljs-operator">&lt;</span><span class="hljs-operator">/</span>p<span class="hljs-operator">&gt;</span>
</code></pre><blockquote>
<p>output : my fav color is blue black.</p>
</blockquote>
<p><strong>9. Subscript text</strong></p>
<p>If you put the content within &lt; sub &gt;..............&lt;/ sub &gt; element, is shown in subscript ; means it is displayed half a character's height below the other characters.</p>
<p>example:</p>
<pre><code><span class="hljs-operator">&lt;</span>p<span class="hljs-operator">&gt;</span><span class="hljs-built_in">this</span> text <span class="hljs-keyword">is</span> <span class="hljs-operator">&lt;</span>sub<span class="hljs-operator">&gt;</span>subscripted. &lt;<span class="hljs-operator">/</span>sub<span class="hljs-operator">&gt;</span><span class="hljs-operator">&lt;</span><span class="hljs-operator">/</span>p<span class="hljs-operator">&gt;</span>
</code></pre><blockquote>
<p>output : this text is <sub>subscripted.</sub></p>
</blockquote>
<p><strong>10. Superscript text</strong></p>
<p>if you put the content within &lt; sup &gt;..............&lt;/ sup &gt; element, is shown in superscript; means it is displayed half a character's height above the other characters.</p>
<p>example:</p>
<pre><code><span class="hljs-operator">&lt;</span>p<span class="hljs-operator">&gt;</span><span class="hljs-built_in">this</span> text <span class="hljs-keyword">is</span> <span class="hljs-operator">&lt;</span>sup<span class="hljs-operator">&gt;</span> superscripted. &lt;<span class="hljs-operator">/</span>sup<span class="hljs-operator">&gt;</span><span class="hljs-operator">&lt;</span><span class="hljs-operator">/</span>p<span class="hljs-operator">&gt;</span>
</code></pre><blockquote>
<p>output : this text is <sup> superscripted.</sup></p>
</blockquote>
]]></content:encoded></item><item><title><![CDATA[CSS Selectors]]></title><description><![CDATA[what is CSS?
CSS stands for Cascading Style Sheets. CSS is a design language that makes a website look more beautiful and presentable.
CSS handles the look and feel part of a web page. Using CSS, you can control the font size of the text, color, font...]]></description><link>https://preeti05.hashnode.dev/css-selectors</link><guid isPermaLink="true">https://preeti05.hashnode.dev/css-selectors</guid><category><![CDATA[CSS3]]></category><dc:creator><![CDATA[preeti pal]]></dc:creator><pubDate>Sat, 03 Sep 2022 16:47:57 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/unsplash/ipARHaxETRk/upload/v1662042422970/IWBXYzYHOo.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2 id="heading-what-is-css">what is CSS?</h2>
<p>CSS stands for <em>Cascading Style Sheets</em>. CSS is a design language that makes a website look more beautiful and presentable.</p>
<p>CSS handles the look and feel part of a web page. Using CSS, you can control the font size of the text, color, font style, backgroundColour, layout design and much more things.</p>
<h3 id="heading-what-is-css-selectors">what is CSS selectors ?</h3>
<p>CSS selector is the first part of a CSS rule. CSS selectors are used to select element in which you want to apply CSS properties.</p>
<h3 id="heading-type-of-css-selectors"><strong>type of CSS selectors</strong></h3>
<p>there are different types of CSS selectors like -</p>
<ul>
<li>Element Selector</li>
<li>Id Selector</li>
<li>Class Selector</li>
<li>Universal Selector</li>
<li>Group Selector</li>
<li>Combinator Selector</li>
<li>Attribute Selector</li>
<li>Pseudo-classes and pseudo-elements</li>
</ul>
<p>that used most commonly</p>
<h3 id="heading-1-element-selector">1. Element Selector</h3>
<p> The element selector selects the HTML element based on element name or tag. For example - p, h1, div, span, etc.</p>
<pre><code><span class="hljs-selector-tag">h1</span>{
      <span class="hljs-attribute">font-size </span>: <span class="hljs-number">2rem</span>;
}
</code></pre><h3 id="heading-2-id-selector">2. Id Selector</h3>
<p>the Id selector uses the attribute of an HTML element to select a specific element. the Id of an element is unique. An Id is only use to identify one single element in our html. The Selector must start with a pound sign(#).</p>
<pre><code><span class="hljs-selector-id">#check-button</span>{
    <span class="hljs-attribute">width</span>: <span class="hljs-number">35%</span>;
    <span class="hljs-attribute">font-size</span>: <span class="hljs-number">1rem</span>;
    <span class="hljs-attribute">cursor</span>: pointer;
}
</code></pre><h3 id="heading-3-class-selector">3. Class Selector</h3>
<p> The class selector selects HTML elements with a specific class attribute. A class can be used to identify more than one HTML elements. The selector must start with .className.</p>
<pre><code><span class="hljs-selector-class">.container</span>{
    <span class="hljs-attribute">text-align</span>: center;
    <span class="hljs-attribute">display</span>: flex;
    <span class="hljs-attribute">flex-direction</span>: column; 
}
</code></pre><h3 id="heading-4-universal-selector">4. Universal Selector</h3>
<p>Universal selector can be used to select any and all types of element in an HTML page. This selector is useful when we want to select all the elements on the page. This is denoted by the asterisk (*).</p>
<pre><code>*{
<span class="hljs-attribute">padding</span>: <span class="hljs-number">2rem</span>;
<span class="hljs-attribute">margine</span>:<span class="hljs-number">2rem</span>;
}
</code></pre><h3 id="heading-5-grouping-selector">5. Grouping Selector</h3>
<p> The CSS grouping selector is used to select multiple elements and style them together. To group selectors, separate each selector with a comma. For example - div, span </p>
<pre><code><span class="hljs-selector-tag">div</span>, <span class="hljs-selector-tag">span</span>{
           <span class="hljs-attribute">color</span>: blue;
           <span class="hljs-attribute">background-color</span>: gray;
}
</code></pre><h3 id="heading-6-attribute-selector">6. Attribute Selector</h3>
<p> This type of attribute selector is used to select all the elements that have the specified attribute and applies the CSS property to that attribute.</p>
<pre><code><span class="hljs-selector-tag">p</span><span class="hljs-selector-attr">[style]</span> {
    <span class="hljs-attribute">background-color</span>: <span class="hljs-number">#00b93e</span>;
}
</code></pre><h3 id="heading-7-combinator-selector">7. Combinator Selector</h3>
<p> A combinator is something that explains the relationship between the selectors.</p>
<ul>
<li><h4 id="heading-descendant-selector">Descendant Selector</h4>
. A descendant selector is made up of two or more selectors separated by white space.
Syntax: A B Example: div span will match all <span> elements that are inside a <div> element.</div></span></li>
</ul>
<pre><code><span class="hljs-selector-tag">div</span> <span class="hljs-selector-tag">span</span>{
          <span class="hljs-attribute">color</span>: blue;
}
</code></pre><ul>
<li><h4 id="heading-child-combinator">Child combinator</h4>
A child selector matches when an element is the child of some element. A child selector is made up of two or more selectors separated by "&gt;".
Syntax: A &gt; B Example: ul &gt; li will match all elements that are nested directly inside a
element.</li>
</ul>
<pre><code><span class="hljs-selector-tag">ol</span>&gt;<span class="hljs-selector-tag">li</span>{
      <span class="hljs-attribute">font-weight</span>: bold;
}
</code></pre><ul>
<li><h4 id="heading-general-sibling-combinator">General sibling combinator</h4>
The general sibling selector is used to select all elements that follow the first element such that both are children of the same parent.
Syntax: A ~ B Example: p ~ span will match all <span> elements that follow a <p>, immediately or not.</p><pre><code><span class="hljs-selector-tag">img</span> ~ <span class="hljs-selector-tag">p</span> {
 <span class="hljs-attribute">background-color</span>: burlywood;
}
</code></pre></span></li>
</ul>
<ul>
<li><h4 id="heading-adjacent-sibling-combinator">Adjacent sibling combinator</h4>
The adjacent sibling selector is used to select an element that is directly after another specific element. Sibling elements must have the same parent element
Syntax: A + B Example: h2 + p will match the first <p> element that immediately follow an  element.</p></li>
</ul>
<pre><code><span class="hljs-selector-tag">div</span> + <span class="hljs-selector-tag">p</span> {
  <span class="hljs-attribute">background-color</span>: yellow;
}
</code></pre><h3 id="heading-8-pseudo-classes-and-pseudo-elements">8. Pseudo-classes and pseudo-elements</h3>
<ul>
<li><h4 id="heading-pseudo-classes">Pseudo classes</h4>
A : pseudo-class is used to define a special state of an element.
For example , it can be used to style an element when a user mouses over it.</li>
</ul>
<pre><code><span class="hljs-selector-tag">button</span><span class="hljs-selector-pseudo">:hover</span>{
<span class="hljs-attribute">background-color</span>: gray;
}
</code></pre><ul>
<li><h4 id="heading-pseudo-elements">Pseudo elements</h4>
The :: pseudo represent entities that are not included in HTML.<pre><code><span class="hljs-selector-pseudo">::placeholder</span>{
   <span class="hljs-attribute">font-size</span>: <span class="hljs-number">10px</span>;
}
</code></pre></li>
</ul>
]]></content:encoded></item></channel></rss>