<?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[Bhargavi blog]]></title><description><![CDATA[Bhargavi blog]]></description><link>https://bhargavishakthi.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 13:44:57 GMT</lastBuildDate><atom:link href="https://bhargavishakthi.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Hello Every One, Come Join Me To Learn HTML Formatting Tags .]]></title><description><![CDATA[HTML Formatting Tags
Formatting Tags are used to format text and makes our document looks pretty good. Because these tags are easily understood just by seeing them. They are all in English words or first letter of the word too.
😊*For Quick Review Go...]]></description><link>https://bhargavishakthi.hashnode.dev/hello-every-one-come-join-me-to-learn-html-formatting-tags</link><guid isPermaLink="true">https://bhargavishakthi.hashnode.dev/hello-every-one-come-join-me-to-learn-html-formatting-tags</guid><category><![CDATA[Bhargavi]]></category><category><![CDATA[HTML5]]></category><category><![CDATA[HTML]]></category><category><![CDATA[Hashnode]]></category><category><![CDATA[Beginner Developers]]></category><category><![CDATA[tags]]></category><category><![CDATA[Html Formatting Tags]]></category><category><![CDATA[Blockchain]]></category><category><![CDATA[Google]]></category><category><![CDATA[HTML tags ]]></category><category><![CDATA[Blogging]]></category><category><![CDATA[BlogsWithCC]]></category><category><![CDATA[Computer Science]]></category><category><![CDATA[Programming Blogs]]></category><category><![CDATA[full stack]]></category><dc:creator><![CDATA[Bhargavi]]></dc:creator><pubDate>Fri, 22 Mar 2024 17:36:25 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1711079211928/fadfec61-7260-4ac8-bf22-5fc74d21673f.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h3 id="heading-html-formatting-tags">HTML Formatting Tags</h3>
<p>Formatting Tags are used to format text and makes our document looks pretty good. Because these tags are easily understood just by seeing them. They are all in English words or first letter of the word too.</p>
<p>😊*<mark>For Quick Review Go to last page</mark>*😊</p>
<h3 id="heading-ltbgt-tag-for-bold-text">&lt;b&gt; tag for Bold Text</h3>
<ul>
<li><p>This <code>&lt;b&gt;</code> tag is used to make our text bold. Just by placing &lt;b&gt; tag before the text and &lt;/b&gt; close the tag after the text, the text that needs to be made bold must be within <strong>&lt;b&gt;</strong> and <strong>&lt;/b&gt;</strong> tag.  That's it.</p>
<pre><code class="lang-xml">  <span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">b</span>&gt;</span>Arthur Cayley<span class="hljs-tag">&lt;/<span class="hljs-name">b</span>&gt;</span> was the first mathematician.<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
</code></pre>
<p>  <strong>Output</strong></p>
<p>  <strong>Arthur Cayley</strong> was the first mathematician.</p>
<hr />
<h3 id="heading-ltstronggt-tag-for-strong-text">&lt;strong&gt; tag for Strong Text</h3>
</li>
<li><p>This <code>&lt;strong&gt;</code> tag is used to bold the text. This is shown by making the text strong with added semantic importance. It also opens with &lt;strong&gt; and ends with &lt;/strong&gt; tag. Both the strong tag and bold inside the tag is of higher importance but search engines understand them differently and will give more preference to strong.</p>
<pre><code class="lang-xml">  <span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span> Acids turns<span class="hljs-tag">&lt;<span class="hljs-name">strong</span>&gt;</span>blue<span class="hljs-tag">&lt;/<span class="hljs-name">strong</span>&gt;</span>litmus paper<span class="hljs-tag">&lt;<span class="hljs-name">strong</span>&gt;</span>red<span class="hljs-tag">&lt;/<span class="hljs-name">strong</span>&gt;</span>Acid.<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
</code></pre>
<p>  <strong>Output</strong></p>
<p>  Acids turns <strong>blue</strong> litmus paper <strong>red</strong> Acid.</p>
<hr />
<h3 id="heading-ltigt-tag-for-italic-text">&lt;i&gt; tag for Italic Text</h3>
</li>
<li><p>This <code>&lt;i&gt;</code> tag is used to make the text italic. It opens with &lt;i&gt; and ends with &lt;/i&gt; tag. For example, the scientific name.</p>
<pre><code class="lang-xml">  <span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span>I got a link to <span class="hljs-tag">&lt;<span class="hljs-name">i</span>&gt;</span>HuffPost<span class="hljs-tag">&lt;/<span class="hljs-name">i</span>&gt;</span>.<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
</code></pre>
<p>  <strong>Output</strong></p>
<p>  I got a link to <em>HuffPost</em> from LinkedIn</p>
<hr />
<h3 id="heading-ltemgt-tag-for-emphasized">&lt;em&gt; tag for Emphasized.</h3>
</li>
<li><p>The HTML <code>&lt;em&gt;</code> tag is a semantic tag that is used to make the text italic. . It opens with &lt;em&gt; and ends with &lt;/em&gt; tag. It signify that the text inside the tag is being emphasized. It is a semantic tag as opposed to <code>&lt;i&gt;</code>, which doesn't hold any semantic meaning.</p>
<pre><code class="lang-xml">  <span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span>The <span class="hljs-tag">&lt;<span class="hljs-name">em</span>&gt;</span>Lion King<span class="hljs-tag">&lt;/<span class="hljs-name">em</span>&gt;</span> is an animated film.<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
</code></pre>
<p>  <strong>Output</strong></p>
<p>  The <em>Lion King</em> is an animated film.</p>
</li>
</ul>
<hr />
<h3 id="heading-ltugt-tag-for-underlined">&lt;u&gt; tag for Underlined.</h3>
<p>    The HTML &lt;u&gt; tag is a physical tag used to make the text underlined.</p>
<pre><code class="lang-xml">    <span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span> This is <span class="hljs-tag">&lt;<span class="hljs-name">u</span>&gt;</span>underlined<span class="hljs-tag">&lt;/<span class="hljs-name">u</span>&gt;</span>using u tag.<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
</code></pre>
<p>    <strong>Output</strong></p>
<p>    This is Underlined using u tag.</p>
<h3 id="heading-ltinsgt-tag-for-inserted-text">&lt;ins&gt; tag for Inserted Text</h3>
<p>    The <code>&lt;ins&gt;</code>tag is used to underline a text marking the part as inserted or added. It also has an opening and a closing tag. The <code>&lt;ins&gt;</code> tag generally follows some deleted text.</p>
<pre><code class="lang-xml">    <span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span> This file is <span class="hljs-tag">&lt;<span class="hljs-name">del</span>&gt;</span>deleted<span class="hljs-tag">&lt;/<span class="hljs-name">del</span>&gt;</span> <span class="hljs-tag">&lt;<span class="hljs-name">ins</span>&gt;</span>inserted<span class="hljs-tag">&lt;/<span class="hljs-name">ins</span>&gt;</span>.<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
</code></pre>
<p>    <strong>Output</strong></p>
<p>    This file is <s>deleted</s> inserted.</p>
<hr />
<h3 id="heading-ltdelgt-tag-for-text-is-deleted">&lt;del&gt; tag for Text is Deleted</h3>
<p>    The &lt;<code>del</code>\&gt; tag is used to strike through the text marking the part as deleted. It also has an opening and a closing tag. The <code>&lt;del&gt;</code> tag is a semantic tag used to represent that the text is deleted or changed.</p>
<pre><code class="lang-xml">    <span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span> This file is <span class="hljs-tag">&lt;<span class="hljs-name">del</span>&gt;</span>deleted<span class="hljs-tag">&lt;/<span class="hljs-name">del</span>&gt;</span>.<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
</code></pre>
<p>    Output</p>
<ul>
<li><p>This file is <s>deleted</s>.</p>
<hr />
<h3 id="heading-ltstrikegt-tag-for-strike-text"><strong>&lt;strike&gt; tag for Strike Text</strong></h3>
<p>  The &lt;strike&gt; tag defines a strike or line through Text.  It also has an opening and a closing tag. This tag creates a cut line in the text. Now, the &lt;del&gt; tag is used instead of this tag.</p>
<pre><code class="lang-xml">  <span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span>This answer is<span class="hljs-tag">&lt;<span class="hljs-name">strike</span>&gt;</span> striked <span class="hljs-tag">&lt;/<span class="hljs-name">strike</span>&gt;</span>.<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
</code></pre>
<p>  <strong>Note:</strong> This tag is <strong>not supported</strong> in HTML5, instead of this tag, we can use HTML del Tag or HTML ins Tag or use CSS text-decoration property.</p>
<p>  <strong>Output:</strong></p>
<p>  This answer is <s>striked</s></p>
<hr />
<h3 id="heading-ltsupgt-tag-for-superscript-text">&lt;sup&gt; tag for Superscript text</h3>
<p>  The &lt;sup&gt; tag is used to create superscript text. The text is placed half a character height above other text and is a size smaller. It also has an opening and a closing tag.</p>
<pre><code class="lang-xml">  <span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span> The formula is (m+n)<span class="hljs-tag">&lt;<span class="hljs-name">sup</span>&gt;</span>2<span class="hljs-tag">&lt;/<span class="hljs-name">sup</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span>
</code></pre>
<p>  <strong>Output</strong></p>
<p>  This formula is (m+n)<sup>2</sup></p>
<hr />
<h3 id="heading-ltsubgt-tag-for-subscript-text">&lt;sub&gt; tag for Subscript Text</h3>
<p>  The &lt;<code>sub&gt;</code> tag is used to create subscript text. It also has an opening and a closing tag. The text is placed half a character height below other text and is a size smaller.</p>
<pre><code class="lang-xml">  <span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span> The Formula of Cr<span class="hljs-tag">&lt;<span class="hljs-name">sub</span>&gt;</span>2<span class="hljs-tag">&lt;/<span class="hljs-name">sub</span>&gt;</span>O<span class="hljs-tag">&lt;<span class="hljs-name">sub</span>&gt;</span>7<span class="hljs-tag">&lt;/<span class="hljs-name">sub</span>&gt;</span>.<span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span>
</code></pre>
<p>  <strong>Output</strong></p>
<p>  The Formula of Cr<sub>2</sub>O<sub>7</sub>.</p>
<hr />
<h3 id="heading-ltbiggt-tag-for-big-text">&lt;big&gt; tag for Big Text</h3>
<p>  The <code>&lt;big&gt;</code> tag is a physical tag used to make text one font size larger than the surrounding text. It also has an opening and a closing tag.</p>
<pre><code class="lang-xml">  <span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span> The Mountain is <span class="hljs-tag">&lt;<span class="hljs-name">big</span>&gt;</span>bigger<span class="hljs-tag">&lt;/<span class="hljs-name">big</span>&gt;</span>than the tree.<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
</code></pre>
<p>  Output</p>
<p>  <code>This Mountain is</code> bigger <code>than the tree</code>.</p>
<hr />
<h3 id="heading-ltsmallgt-tag-for-smaller-text">&lt;small&gt; tag for Smaller Text</h3>
<p>  The &lt;<code>small&gt;</code> tag is used to make the text smaller.The <code>&lt;small&gt;</code> tag is a physical tag used to make text one font size smaller than the surrounding text. The text that needs to be displayed smaller should be written inside &lt;small&gt; and &lt;/small&gt; tag.</p>
<pre><code class="lang-xml">  <span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span> Vatican City is <span class="hljs-tag">&lt;<span class="hljs-name">small</span>&gt;</span>smallest<span class="hljs-tag">&lt;/<span class="hljs-name">small</span>&gt;</span>country in the world.<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
</code></pre>
<p>  <strong>Output</strong></p>
<p>  Vatican City is <code>smallest</code> country in the world.</p>
<hr />
<h3 id="heading-ltpregt-tag-for-pre-text">&lt;pre&gt; tag for Pre Text</h3>
<p>  The Preformatted text tag, <code>&lt;pre&gt;</code>, is used to define a block of text to display them in the same manner as it is written in the HTML file. <code>&lt;pre&gt;</code> tag preserves all new lines and white spaces.</p>
<pre><code class="lang-xml">  <span class="hljs-tag">&lt;<span class="hljs-name">pre</span>&gt;</span>
    Be    Good
    See    Good
    Do      Good.
  <span class="hljs-tag">&lt;/<span class="hljs-name">pre</span>&gt;</span>
</code></pre>
<p>  <strong>Output</strong></p>
<p>  Be Good</p>
<p>  See Good</p>
<p>  Do Good.</p>
<hr />
<h3 id="heading-ltcodegt-tag-for-code-text">&lt;code&gt; tag for Code Text</h3>
<p>  The <code>&lt;code&gt;</code> tag is used to define the piece of computer code. During the creation of web pages sometimes there is a need to display computer programming code. It could be done by any basic heading tag of HTML but HTML provides a separate tag which is &lt;code&gt;.</p>
<p>  The code tag is a specific type of text that represents computer output. HTML provides many methods for text formatting but &lt;code&gt; tag is displayed with fixed letter size, font, and spacing.</p>
<pre><code class="lang-xml">  <span class="hljs-tag">&lt;<span class="hljs-name">code</span>&gt;</span> 
    CODE /* Hi This is my code /*
    import calandar
  <span class="hljs-tag">&lt;/<span class="hljs-name">code</span>&gt;</span>
</code></pre>
<p>  <strong>Output</strong></p>
<p>  code /* Hi This is my code /*</p>
<p>  import calendar</p>
<hr />
<h3 id="heading-conclusion"><strong>Conclusion</strong></h3>
</li>
<li><p>In this article, we have seen many Formatting tags which are useful in our daily documentation. I recommend you give it a try. Let me know your results! Hope you like this article. 😊👍</p>
<hr />
<h3 id="heading-for-quick-review">FOR QUICK REVIEW😊</h3>
</li>
<li><p>&lt;b&gt; tag - <strong>Bold</strong> Text</p>
</li>
<li><p>&lt;strong&gt; tag - <strong>Strong</strong> Text</p>
</li>
<li><p>&lt;i&gt; tag - <em>Italic</em> Text</p>
</li>
<li><p>&lt;em&gt; tag - <em>Emphasized</em> Text</p>
</li>
<li><p>&lt;u&gt; tag - Underlined Text</p>
</li>
<li><p>&lt;ins&gt; tag - Inserted Text</p>
</li>
<li><p>&lt;del&gt; tag - <s>Deleted </s> Text</p>
</li>
<li><p>&lt;strike&gt; tag - <s>Strike </s> Text</p>
</li>
<li><p>&lt;sup&gt; tag - <sup>Superscript</sup> Text</p>
</li>
<li><p>&lt;sub&gt; tag - <sub>Subscript</sub>Text</p>
</li>
<li><p>&lt;big&gt; tag - Big <code>text</code></p>
</li>
<li><p>&lt;small&gt; tag - <code>Small</code> Text</p>
</li>
<li><p>&lt;pre&gt; tag - Pre Text</p>
</li>
<li><p>&lt;code&gt; tag - Code Text</p>
<hr />
<p>  Hello, I'm Bhargavi, if you liked this article, consider sharing it.</p>
<p>  because <strong><em>sharing is caring😊👍</em></strong>.</p>
<hr />
</li>
</ul>
]]></content:encoded></item></channel></rss>