<?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[Structure and Coloring of web site]]></title><description><![CDATA[Structure and Coloring of web site]]></description><link>https://phase-1.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Mon, 31 Aug 2026 05:44:23 GMT</lastBuildDate><atom:link href="https://phase-1.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Anime In JavaScript Array]]></title><description><![CDATA[I am a total nerd towards movies and I always followed lot of movies of different languages like Hindi, Kannada, Telugu, English, Tamil, Malayalam. I still watch these kind movies now but, Now I am in love with art of anime. It's just came like JavaS...]]></description><link>https://phase-1.hashnode.dev/anime-in-javascript-array</link><guid isPermaLink="true">https://phase-1.hashnode.dev/anime-in-javascript-array</guid><category><![CDATA[ChaiCode]]></category><dc:creator><![CDATA[Prasanna Achar]]></dc:creator><pubDate>Mon, 03 Feb 2025 09:21:55 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1738574266001/330abb3f-5107-4c2f-916b-ad9684eede50.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>I am a total nerd towards movies and I always followed lot of movies of different languages like Hindi, Kannada, Telugu, English, Tamil, Malayalam. I still watch these kind movies now but, Now I am in love with art of anime. It's just came like JavaScript array push method.</p>
<ol>
<li><h2 id="heading-arraypropertyhttparraypropertypush"><a target="_blank" href="http://Array.property"><code>Array.property</code></a><code>.push()</code></h2>
</li>
</ol>
<pre><code class="lang-javascript"><span class="hljs-keyword">let</span> life = [];
life.push(<span class="hljs-string">'anime'</span>)
</code></pre>
<p><strong>Note</strong>: Don't think My life wass empty just because above array was empty before push method, I have worked hard for my studies too. So Don't think my life was empty.</p>
<p>The First anime That I seen is Demon Slayer. That was good enough to enjoy, not too much special for me. My friend suggested lot of anime, he just created an seperate array of anime. Dude was hardcore fan of animes.</p>
<p>I totally wasted my time on watching anime. You know what wasting those time never felt as regret because I can say those animators worked their hard and the story writer loved their story just to entertain us.</p>
<p>So I am going suggest anime to you through JavaScript Array:</p>
<h3 id="heading-dont-get-shocked-after-seeing-my-anime-watch-list"><strong>Don't get shocked after seeing my anime watch list:</strong></h3>
<p>Lets create array of anime:</p>
<pre><code class="lang-js"><span class="hljs-keyword">let</span> animes = [ 
    ...
]Why spread operator? The list is just to huge and I know everyone not going see that list just <span class="hljs-keyword">for</span> you know. lets check how many anime I listed out <span class="hljs-keyword">from</span> my watch history <span class="hljs-keyword">of</span> my brain.exe
</code></pre>
<ol start="2">
<li><h2 id="heading-arraypropertyhttparraypropertylength"><a target="_blank" href="http://Array.property"><code>Array.property</code></a><code>.length</code></h2>
</li>
</ol>
<p>Just don't laugh at it because this all I can list out and there are lot anime I didn't seen The number is ridiculous when I saw the length.</p>
<pre><code class="lang-js"><span class="hljs-built_in">console</span>.log(animes.length)

<span class="hljs-comment">//script.js"</span>
<span class="hljs-comment">// 106</span>

<span class="hljs-comment">// [Done] exited with code=0 in 0.157 seconds</span>
</code></pre>
<ol start="3">
<li><h2 id="heading-arraypropertyhttparraypropertypop"><a target="_blank" href="http://Array.property"><code>Array.property</code></a><code>.pop()</code></h2>
</li>
</ol>
<p>This method is used delete the last element of the array, I had to use it because I accidently pushed Dragon ball .</p>
<p><strong>Mistake:</strong></p>
<pre><code class="lang-js">animes.push(<span class="hljs-string">"Dragon ball"</span>)
</code></pre>
<p>So I have to delete Dragon Ball from array So I used pop method</p>
<pre><code class="lang-js"><span class="hljs-built_in">console</span>.log(animes.pop())

<span class="hljs-comment">// Dragon ball</span>
</code></pre>
<p>Now that I have deleted Dragon Ball let's find out you can watch on your free time and make you relaxed a bit.</p>
<p>First There are 3 animes which ruled a decade in anime industry (2000's &amp;&amp; 2010's), they know as the BIG 3. First and foremost create seperate array for those.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1738574407423/9ed0a6f6-f1b9-4f9f-bdbe-48774323652b.jpeg" alt class="image--center mx-auto" /></p>
<ol start="4">
<li><h2 id="heading-arraypropertyhttparraypropertyfilter"><a target="_blank" href="http://Array.property"><code>Array.property</code></a><code>.filter()</code></h2>
</li>
</ol>
<p>Let' create seperate array for big 3 and these animes are popular. i don't recommend you to start with these animes because these are old so you should avoid this at start, But one thing for sure These animes are literal gem.</p>
<pre><code class="lang-js"><span class="hljs-keyword">let</span> big3 = animes.filter(<span class="hljs-function"><span class="hljs-params">anime</span> =&gt;</span> [<span class="hljs-string">"Naruto"</span>, <span class="hljs-string">"Bleach"</span>, <span class="hljs-string">"One Piece"</span>].includes(anime))

<span class="hljs-built_in">console</span>.log(big3)

<span class="hljs-comment">// output: [ 'Naruto', 'One Piece', 'Bleach' ]</span>
</code></pre>
<ol start="4">
<li><h2 id="heading-arraypropertyhttparraypropertyfind"><a target="_blank" href="http://Array.property"><code>Array.property</code></a><code>.find()</code></h2>
</li>
</ol>
<p>I should just say my favorite show out of all. I am saying this is my favorite because I am a fan boy of this anime and That is "Attack on Titan".</p>
<pre><code class="lang-js">
<span class="hljs-keyword">let</span> myFav = animes.find(<span class="hljs-function">(<span class="hljs-params">element</span>) =&gt;</span> element === <span class="hljs-string">"Attack On Titan"</span>)

<span class="hljs-built_in">console</span>.log(myFav)

<span class="hljs-comment">//output: Attack On Titan</span>
</code></pre>
<p>Let me tell you one thing don't go deep into these because these 4 are literally give everything you want to enjoy through media entertainment.</p>
<p>Now that we are here, Let me suggest some of the genres that you may enjoy. First go through all the anime I listed but It's not in order.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1738574353006/64cb5fc3-3a04-4366-85ea-725d44155d9f.jpeg" alt class="image--center mx-auto" /></p>
<ol start="5">
<li><h2 id="heading-arraypropertyhttparraypropertysort"><a target="_blank" href="http://Array.property"><code>Array.property</code></a><code>.sort()</code></h2>
</li>
</ol>
<p>This method helps to make our anime list in A-Z order. It is really important to sort items before evaluating, It's a small process in Data Analysis.</p>
<pre><code class="lang-js">animes = animes.sort()

<span class="hljs-built_in">console</span>.log(animes)

<span class="hljs-comment">//output: [... /* animes arranged in order */]</span>
<span class="hljs-comment">//I am not going to show my watch history that easily.</span>
</code></pre>
<p>Now that we created anime in order let's specify their genres too by creating another array of objects like follow.</p>
<pre><code class="lang-js"><span class="hljs-keyword">let</span> animes = [
    { <span class="hljs-attr">title</span>: <span class="hljs-string">"Naruto"</span>, <span class="hljs-attr">genre</span>: <span class="hljs-string">"Action"</span> },
    { <span class="hljs-attr">title</span>: <span class="hljs-string">"Attack on Titan"</span>, <span class="hljs-attr">genre</span>: <span class="hljs-string">"Action"</span> },
    { <span class="hljs-attr">title</span>: <span class="hljs-string">"One Piece"</span>, <span class="hljs-attr">genre</span>: <span class="hljs-string">"Adventure"</span> },
    { <span class="hljs-attr">title</span>: <span class="hljs-string">"Bleach"</span>, <span class="hljs-attr">genre</span>: <span class="hljs-string">"Action"</span> }
    ...
]
</code></pre>
<p>Now we have seperate them through genres right so we have travel through every array for that</p>
<ol start="6">
<li><h2 id="heading-arraypropertymaphttparraypropertymap"><a target="_blank" href="http://Array.property.map"><code>Array.property.map</code></a><code>()</code></h2>
</li>
</ol>
<p>This method is used traverse through every element in the array.</p>
<pre><code class="lang-js"><span class="hljs-keyword">let</span> animeTitles = animes.map(<span class="hljs-function"><span class="hljs-params">anime</span> =&gt;</span> anime.title);
</code></pre>
<p>The above code just returns the old array that created back then.</p>
<ol start="7">
<li><h2 id="heading-arraypropertyhttparraypropertyforeach"><a target="_blank" href="http://Array.property"><code>Array.property</code></a><code>.foreach()</code></h2>
</li>
</ol>
<p>Another method that helps traverse the whole anime array just like map method</p>
<pre><code class="lang-javascript"><span class="hljs-keyword">let</span> animeTitles = animes.foreach(<span class="hljs-function"><span class="hljs-params">anime</span> =&gt;</span> anime.title);
</code></pre>
<ol start="8">
<li><h2 id="heading-arraypropertyhttparraypropertyslice"><a target="_blank" href="http://Array.property"><code>Array.property</code></a><code>.slice()</code></h2>
</li>
</ol>
<p>The slice() method is used to extract a portion of an array without modifying the original array. It can be useful to get a specific subset of your anime list.</p>
<pre><code class="lang-js"><span class="hljs-keyword">let</span> recentAnimes = animes.slice(<span class="hljs-number">0</span>, <span class="hljs-number">5</span>); <span class="hljs-comment">// Get the first 5 anime titles</span>
<span class="hljs-built_in">console</span>.log(recentAnimes);
<span class="hljs-comment">// Output: [ 'Naruto', 'Attack on Titan', 'One Piece', 'Bleach', 'Demon Slayer' ]</span>
</code></pre>
<ol start="9">
<li><h2 id="heading-arraypropertyhttparraypropertyincludes"><a target="_blank" href="http://Array.property"><code>Array.property</code></a><code>.includes()</code></h2>
</li>
</ol>
<p>This method checks if a certain element exists in an array. You can use this to see if an anime you want to watch is already in your list.</p>
<pre><code class="lang-js"><span class="hljs-keyword">let</span> hasNaruto = animes.includes(<span class="hljs-string">"Naruto"</span>);
<span class="hljs-built_in">console</span>.log(hasNaruto); 
<span class="hljs-comment">// Output: true</span>
</code></pre>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1738574400524/c73fe59a-c681-44f3-afc9-cbd93742f30b.jpeg" alt class="image--center mx-auto" /></p>
<ol start="10">
<li><h2 id="heading-arraypropertyhttparraypropertyreduce"><a target="_blank" href="http://Array.property"><code>Array.property</code></a><code>.reduce()</code></h2>
</li>
</ol>
<p>The reduce() method allows you to reduce the array to a single value based on a function. You could use this method to calculate the total number of animes you've watched or even combine all the genres into one list.</p>
<pre><code class="lang-js"><span class="hljs-keyword">let</span> totalAnimes = animes.reduce(<span class="hljs-function">(<span class="hljs-params">count, anime</span>) =&gt;</span> count + <span class="hljs-number">1</span>, <span class="hljs-number">0</span>);
<span class="hljs-built_in">console</span>.log(totalAnimes);
</code></pre>
<p>Thank you for reading this article.</p>
]]></content:encoded></item><item><title><![CDATA[Daily Dev TODO]]></title><description><![CDATA[Product Requirements Document (PRD)
Product Name: Daily Dev TODO

Overview
Purpose:The Daily Dev TODO application aims to help users efficiently manage and schedule project tasks. It breaks down larger projects into manageable tasks and organizes dai...]]></description><link>https://phase-1.hashnode.dev/daily-dev-todo</link><guid isPermaLink="true">https://phase-1.hashnode.dev/daily-dev-todo</guid><category><![CDATA[ChaiCode]]></category><dc:creator><![CDATA[Prasanna Achar]]></dc:creator><pubDate>Sat, 25 Jan 2025 14:06:14 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1737813848671/713b94fb-a86e-4c9d-90b4-db131f0127fc.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h1 id="heading-product-requirements-document-prd">Product Requirements Document (PRD)</h1>
<h2 id="heading-product-name-daily-dev-todo">Product Name: Daily Dev TODO</h2>
<hr />
<h3 id="heading-overview">Overview</h3>
<p><strong>Purpose:</strong><br />The Daily Dev TODO application aims to help users efficiently manage and schedule project tasks. It breaks down larger projects into manageable tasks and organizes daily activities like work, study, and workout schedules. This tool also ensures accountability with notifications for incomplete activities.</p>
<p><strong>Time Limit for Development:</strong><br />4 months</p>
<p><strong>Tech Stack:</strong></p>
<ul>
<li><p>Frontend: React.js</p>
</li>
<li><p>Backend: Node.js</p>
</li>
<li><p>Database: SQL</p>
</li>
</ul>
<hr />
<h3 id="heading-objectives">Objectives</h3>
<ol>
<li><p><strong>Task Division and Scheduling:</strong></p>
<ul>
<li><p>Enable users to divide projects into smaller tasks.</p>
</li>
<li><p>Allow users to schedule specific tasks on different days.</p>
</li>
</ul>
</li>
<li><p><strong>Daily Activity Scheduling:</strong></p>
<ul>
<li>Provide options for users to organize daily routines, including workout and study schedules.</li>
</ul>
</li>
<li><p><strong>Project Analysis:</strong></p>
<ul>
<li>Create a "My Projects" section to display all projects and analyze task completion.</li>
</ul>
</li>
<li><p><strong>Notifications:</strong></p>
<ul>
<li>Notify users of pending or incomplete daily tasks to encourage timely completion.</li>
</ul>
</li>
<li><p><strong>User Authentication:</strong></p>
<ul>
<li>Ensure secure user access through authentication.</li>
</ul>
</li>
</ol>
<hr />
<h3 id="heading-features">Features</h3>
<h4 id="heading-priority-1-core-features"><strong>Priority 1: Core Features</strong></h4>
<ol>
<li><p><strong>Task Management</strong></p>
<ul>
<li><p>Divide projects into tasks.</p>
</li>
<li><p>Assign specific tasks to specific days.</p>
</li>
</ul>
</li>
<li><p><strong>My Projects Section</strong></p>
<ul>
<li><p>Display a list of all ongoing and completed projects.</p>
</li>
<li><p>Provide analytics for completed vs. pending tasks.</p>
</li>
</ul>
</li>
<li><p><strong>Daily Activity Management</strong></p>
<ul>
<li><p>Schedule workout, study, and other routine activities.</p>
</li>
<li><p>Allow time allocation for each activity.</p>
</li>
</ul>
</li>
<li><p><strong>Notifications</strong></p>
<ul>
<li>Notify users about incomplete daily activities or tasks.</li>
</ul>
</li>
<li><p><strong>User Authentication</strong></p>
<ul>
<li><p>Enable secure sign-up and login features.</p>
</li>
<li><p>Use authentication tokens for session management.</p>
</li>
</ul>
</li>
</ol>
<h4 id="heading-priority-2-future-features"><strong>Priority 2: Future Features</strong></h4>
<ol>
<li><p><strong>Two User Types</strong></p>
<ul>
<li><p>Developers: Focused on personal or team project scheduling.</p>
</li>
<li><p>Companies: Aimed at project managers handling team schedules.</p>
</li>
<li><p><em>Note: This feature will be considered in future versions and is not required for the initial release.</em></p>
</li>
</ul>
</li>
</ol>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1737813930084/ff9a7492-b042-4447-9bf2-0e76324c952a.png" alt class="image--center mx-auto" /></p>
<hr />
<h3 id="heading-functional-requirements">Functional Requirements</h3>
<h4 id="heading-frontend"><strong>Frontend</strong></h4>
<ul>
<li><p><strong>Dashboard:</strong> Display all tasks and daily activities.</p>
</li>
<li><p><strong>Calendar View:</strong> Visualize scheduled tasks and activities by day, week, or month.</p>
</li>
<li><p><strong>Notification Panel:</strong> Show reminders for pending tasks and daily activities.</p>
</li>
</ul>
<h4 id="heading-backend"><strong>Backend</strong></h4>
<ul>
<li><p><strong>Task Management API:</strong> Handle CRUD operations for tasks.</p>
</li>
<li><p><strong>User Authentication API:</strong> Secure endpoints for login, registration, and session management.</p>
</li>
<li><p><strong>Notification System:</strong> Generate alerts for incomplete tasks.</p>
</li>
</ul>
<h4 id="heading-database"><strong>Database</strong></h4>
<ul>
<li><p><strong>User Table:</strong> Store user credentials and profile information.</p>
</li>
<li><p><strong>Projects Table:</strong> Maintain project details (name, description, deadline).</p>
</li>
<li><p><strong>Tasks Table:</strong> Track task details (name, project ID, assigned date, status).</p>
</li>
<li><p><strong>Activities Table:</strong> Record daily routine activities.</p>
</li>
</ul>
<hr />
<h3 id="heading-non-functional-requirements">Non-Functional Requirements</h3>
<ul>
<li><p><strong>Performance:</strong></p>
<ul>
<li><p>Support 100 concurrent users initially.</p>
</li>
<li><p>Task scheduling should respond within 1 second.</p>
</li>
</ul>
</li>
<li><p><strong>Scalability:</strong></p>
<ul>
<li>Design the database to accommodate additional features in the future (e.g., multiple user roles).</li>
</ul>
</li>
<li><p><strong>Security:</strong></p>
<ul>
<li><p>Implement strong password encryption.</p>
</li>
<li><p>Use HTTPS for all data exchanges.</p>
</li>
</ul>
</li>
</ul>
<hr />
<h3 id="heading-future-considerations">Future Considerations</h3>
<ul>
<li><p>Introduce team collaboration features.</p>
</li>
<li><p>Enable integration with third-party calendar tools like Google Calendar.</p>
</li>
<li><p>Support mobile platforms for broader accessibility.</p>
</li>
</ul>
<hr />
]]></content:encoded></item><item><title><![CDATA[Cheat  for flex in CSS]]></title><description><![CDATA[Flex Box is a one-dimensional layout method for arranging items in rows or columns. Items flex (expand) to fill additional space or shrink to fit into smaller spaces. This article explains all the fundamentals.
Before Learning Flex in CSS, make sure ...]]></description><link>https://phase-1.hashnode.dev/cheat-for-flex-in-css</link><guid isPermaLink="true">https://phase-1.hashnode.dev/cheat-for-flex-in-css</guid><category><![CDATA[ChaiCode]]></category><dc:creator><![CDATA[Prasanna Achar]]></dc:creator><pubDate>Sat, 25 Jan 2025 13:32:24 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1737807683117/fd92e784-6e32-43ae-a36b-a802fc8e72d0.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Flex Box is a one-dimensional layout method for arranging items in rows or columns. Items <em>flex</em> (expand) to fill additional space or shrink to fit into smaller spaces. This article explains all the fundamentals.</p>
<p>Before Learning Flex in CSS, make sure you know about <a target="_blank" href="https://phase-1.hashnode.dev/box-model-of-html-element">Box Model</a>.</p>
<h2 id="heading-why-flexboxhttpsdevelopermozillaorgen-usdocslearnwebdevelopmentcorecsslayoutflexboxwhyflexbox"><a target="_blank" href="https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/CSS_layout/Flexbox#why_flexbox">Why flexbox?</a></h2>
<p><a target="_blank" href="https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/CSS_layout/Flexbox#why_flexbox">CSS flexibl</a>e <a target="_blank" href="https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/CSS_layout/Flexbox#why_flexbox">box layout e</a>nables you to:</p>
<ul>
<li><p>Vertically center a block of content inside its parent.</p>
</li>
<li><p>Make all the children of a container take up an equal amount of the available width/height, regardless of how much width/height is available.</p>
</li>
<li><p>Make all columns in a multiple-column layout adopt the same height even if they contain a different amount of content.</p>
</li>
</ul>
<h3 id="heading-working-with-flex">Working With Flex:</h3>
<p>To create flex container using CSS, Select the element give display property value “flex”.</p>
<pre><code class="lang-css"><span class="hljs-selector-tag">display</span><span class="hljs-selector-pseudo">:flex</span>;
</code></pre>
<p>Automatically the flex container child or the inside elements becomes horizontally aligned.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1737809660556/fd1ed793-d1c9-4689-bb5f-e44549f63134.png" alt class="image--center mx-auto" /></p>
<p>You can change direction of the container using flex-direction property:</p>
<pre><code class="lang-css"><span class="hljs-selector-tag">display</span><span class="hljs-selector-pseudo">:flex</span>;
<span class="hljs-selector-tag">flex-direction</span>: <span class="hljs-selector-tag">column</span>;
</code></pre>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1737809882978/ca5ddc3d-3d45-4d48-b73e-7aeffbd86d0a.png" alt class="image--center mx-auto" /></p>
<div class="hn-table">
<table>
<thead>
<tr>
<td>flex-directory property values</td></tr>
</thead>
<tbody>
<tr>
<td>row (default)</td></tr>
<tr>
<td>row-reverse</td></tr>
<tr>
<td>column</td></tr>
<tr>
<td>column-reverse</td></tr>
</tbody>
</table>
</div><h3 id="heading-aligning-flex-items">Aligning Flex Items:</h3>
<ul>
<li>To align items in horizontally we use justify content:</li>
</ul>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1737810238563/84d68048-4253-46be-b51c-93dfa726bc0c.png" alt class="image--center mx-auto" /></p>
<ul>
<li><p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1737811021269/3176c15c-3a3a-49cb-89b9-fffc2e08c7a1.png" alt class="image--center mx-auto" /></p>
</li>
<li><p>To align items vertically we use align items:</p>
</li>
</ul>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1737810399330/67ef515d-0619-4a81-85c0-58864fa0a102.png" alt class="image--center mx-auto" /></p>
<h3 id="heading-how-to-center-a-div-using-flex">How to center a div using flex?</h3>
<p>To center a div using flex, we have to assign “center” value to align-items and justify-content</p>
<pre><code class="lang-css"><span class="hljs-selector-tag">display</span><span class="hljs-selector-pseudo">:flex</span>;
<span class="hljs-selector-tag">justify-content</span>: <span class="hljs-selector-tag">center</span>;
<span class="hljs-selector-tag">align-items</span>: <span class="hljs-selector-tag">center</span>;
</code></pre>
<p>It will show the web page as this follows in web browser:</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1737810749612/20254178-f2c4-4d69-817b-653730dd4043.png" alt class="image--center mx-auto" /></p>
<h3 id="heading-flex-wrap">flex wrap:</h3>
<p>One issue that arises when you have a fixed width or height in your layout is that eventually your flexbox children will overflow their container, breaking the layout.</p>
<pre><code class="lang-css"><span class="hljs-selector-tag">display</span><span class="hljs-selector-pseudo">:flex</span>;
<span class="hljs-selector-tag">flex-wrap</span>: <span class="hljs-selector-tag">wrap</span>;
</code></pre>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1737811345631/6a7f97a7-01dc-4d34-a17a-3d649203d3c3.png" alt class="image--center mx-auto" /></p>
<h3 id="heading-flex-flow">Flex Flow:</h3>
<p>Flex flow is the shorthand property of the flex-direction and flex-wrap.</p>
<pre><code class="lang-css"><span class="hljs-selector-tag">flex-direction</span>: <span class="hljs-selector-tag">column</span>;
<span class="hljs-selector-tag">flex-wrap</span>: <span class="hljs-selector-tag">wrap</span>;
</code></pre>
<p>Shorthand property:</p>
<pre><code class="lang-css"><span class="hljs-selector-tag">flex-flow</span>: <span class="hljs-selector-tag">column</span> <span class="hljs-selector-tag">wrap</span>;
</code></pre>
<p>Thank you for reading this article, This Article just holds the flex overview cheat sheet only. in future I will update about flex and grid both for responsive design in CSS for Web pages.</p>
]]></content:encoded></item><item><title><![CDATA[Box Model of HTML Element]]></title><description><![CDATA[Box Model of HTML Element simply means container that stores the data inside in it. A block of content is stored inside the HTML tags becomes a box of content there two types of boxes in HTML elements.

Inline element:
 Inline elements are the elemen...]]></description><link>https://phase-1.hashnode.dev/box-model-of-html-element</link><guid isPermaLink="true">https://phase-1.hashnode.dev/box-model-of-html-element</guid><category><![CDATA[ChaiCode]]></category><dc:creator><![CDATA[Prasanna Achar]]></dc:creator><pubDate>Sat, 25 Jan 2025 05:19:05 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1737781158643/c851ba37-5222-46e7-838a-86322cc9b21a.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Box Model of HTML Element simply means container that stores the data inside in it. A block of content is stored inside the HTML tags becomes a box of content there two types of boxes in HTML elements.</p>
<ol>
<li><p><strong>Inline element:</strong></p>
<p> Inline elements are the elements which takes the space as much the content, no extra spaces are necessary for that element. For example, input, label, span and text decorative tags like italic, bold, etc.</p>
</li>
<li><p><strong>Block level element</strong>:</p>
<p> Block Level elements are the elements which takes whole width of its parent element or the web site even if it has low content. For example, div, heading tags, form, semantic tags etc.</p>
</li>
</ol>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1737781814528/f8a4c475-70e9-4c94-9f88-c0857bc7c8c3.png" alt class="image--center mx-auto" /></p>
<p>Inline vs Block level element.</p>
<p>We can modify these in CSS using “display” property.</p>
<pre><code class="lang-css"><span class="hljs-selector-tag">div</span>{
    <span class="hljs-attribute">display</span>: block; <span class="hljs-comment">/* or inline */</span>
}
</code></pre>
<p>A box content in HTML contains three parts:</p>
<ol>
<li><p><strong>Content Section</strong>:</p>
<p> The content section is part of the content which indicates the place of the content inside the block.</p>
</li>
<li><p><strong>Padding:</strong></p>
<p> The padding is the gap between the content and border of the element.</p>
</li>
<li><p><strong>Margin:</strong></p>
<p> The margin is the space between the element’s border to the Neighbour elements or the gap between one element to another</p>
</li>
</ol>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1737782263694/2bf6b22e-566f-446a-90b2-4488b3509ad9.png" alt class="image--center mx-auto" /></p>
<h2 id="heading-types-of-box-model">Types of Box Model:</h2>
<ol>
<li><h3 id="heading-content-box">Content Box</h3>
<p> Content Box nothing but the box models you have seen upside,</p>
<p> By default, in HTML the elements are content box.</p>
</li>
<li><h3 id="heading-border-box">Border Box</h3>
<p> Border Box is the box model which takes whole width including padding. It doesn’t exclude the padding when giving width size to an element. To make an element into border box we use following property in CSS:</p>
</li>
</ol>
<pre><code class="lang-css"><span class="hljs-selector-tag">box-sizing</span>: <span class="hljs-selector-tag">border-box</span>;
</code></pre>
<p>Thank you for reading this article, Hope stay together for new article. You can move to flex box and grid layout.</p>
]]></content:encoded></item><item><title><![CDATA[Basic Of CSS]]></title><description><![CDATA[Cascading Style Sheet popularly known CSS is very famous technology which we use it for styling the web pages. CSS is means Cascading the styles means stacking one style after another whichever the style you put to HTML tag, or page browser shows it ...]]></description><link>https://phase-1.hashnode.dev/basic-of-css</link><guid isPermaLink="true">https://phase-1.hashnode.dev/basic-of-css</guid><category><![CDATA[ChaiCode]]></category><dc:creator><![CDATA[Prasanna Achar]]></dc:creator><pubDate>Fri, 24 Jan 2025 16:57:39 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1737736371522/86d7ef8a-e6de-4dbe-904e-d715e3a5f59c.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Cascading Style Sheet popularly known CSS is very famous technology which we use it for styling the web pages. CSS is means Cascading the styles means stacking one style after another whichever the style you put to HTML tag, or page browser shows it first, but previously written style isn’t overridden.</p>
<p>CSS is key value object, key is known as property of the CSS, and value is for respective value for the property.</p>
<h3 id="heading-css-syntax">CSS Syntax:</h3>
<pre><code class="lang-css"><span class="hljs-selector-tag">element</span>{
    property1: value1;
    property2: value2;
    <span class="hljs-attribute">propertyN</span>: valueN;
}
</code></pre>
<p>In above syntax, element refer to as selector, we will learn about it, But how implement or how link CSS and HTML together. how do we write CSS in HTML.</p>
<h2 id="heading-ways-to-write-css-for-html">Ways to write CSS for HTML:</h2>
<ol>
<li><h3 id="heading-inline-css">Inline CSS:</h3>
<p> Inline CSS used inside the HTML with the attribute “style”, There we write our CSS for that particular element.</p>
</li>
</ol>
<pre><code class="lang-xml"><span class="hljs-tag">&lt;<span class="hljs-name">element</span> <span class="hljs-attr">style</span>=<span class="hljs-string">"property:value;"</span>&gt;</span> Content<span class="hljs-tag">&lt;/<span class="hljs-name">element</span>&gt;</span>
</code></pre>
<pre><code class="lang-xml"><span class="hljs-tag">&lt;<span class="hljs-name">h1</span> <span class="hljs-attr">style</span>=<span class="hljs-string">"font-size:90px; color:#fefefe"</span>&gt;</span>Heading <span class="hljs-tag">&lt;/<span class="hljs-name">h1</span>&gt;</span>
</code></pre>
<ol start="2">
<li><h3 id="heading-internal-css">Internal CSS:</h3>
<p> Internal CSS is written inside the HTML page’s style tag. There we use normal CSS syntax and there it’s easy distribute the styling using different kinds of selectors.</p>
</li>
</ol>
<pre><code class="lang-xml"><span class="hljs-tag">&lt;<span class="hljs-name">style</span>&gt;</span><span class="css">
    <span class="hljs-selector-tag">selector</span>{
        <span class="hljs-attribute">properties</span>: values;
    }
</span><span class="hljs-tag">&lt;/<span class="hljs-name">style</span>&gt;</span>
</code></pre>
<ol start="3">
<li><h3 id="heading-external-css"><strong>External CSS</strong>:</h3>
</li>
</ol>
<p>In a separate <code>.css</code> file linked to the HTML.</p>
<pre><code class="lang-xml">htmlCopyEdit<span class="hljs-tag">&lt;<span class="hljs-name">link</span> <span class="hljs-attr">rel</span>=<span class="hljs-string">"stylesheet"</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"styles.css"</span>&gt;</span>
</code></pre>
<p><strong>Selectors</strong>:<br />CSS provides various selectors to target elements:</p>
<ul>
<li><p><strong>Universal Selector</strong>: Targets all elements (<code>*</code>).</p>
<pre><code class="lang-css">  * {
      <span class="hljs-attribute">margin</span>: <span class="hljs-number">0</span>;
      <span class="hljs-attribute">padding</span>: <span class="hljs-number">0</span>;
  }
</code></pre>
</li>
<li><p><strong>Type Selector</strong>: Targets specific HTML tags.</p>
<pre><code class="lang-css">  1 {
      <span class="hljs-attribute">color</span>: blue;
  }
</code></pre>
</li>
<li><p><strong>Class Selector</strong>: Targets elements with a specific class (uses a <code>.</code>).</p>
<pre><code class="lang-css">  <span class="hljs-selector-class">.highlight</span> {
      <span class="hljs-attribute">background-color</span>: yellow;
  }
</code></pre>
</li>
<li><p><strong>ID Selector</strong>: Targets a single element with a specific ID (uses <code>#</code>).</p>
<pre><code class="lang-css">  <span class="hljs-selector-id">#header</span> {
      <span class="hljs-attribute">font-size</span>: <span class="hljs-number">24px</span>;
  }
</code></pre>
</li>
<li><p><strong>Group Selector</strong>: Combines multiple selectors.</p>
<pre><code class="lang-css">  <span class="hljs-selector-tag">h1</span>, <span class="hljs-selector-tag">p</span> {
      <span class="hljs-attribute">color</span>: gray;
  }
</code></pre>
</li>
</ul>
<p>Thank you for reading this article.</p>
]]></content:encoded></item><item><title><![CDATA[Form in HTML]]></title><description><![CDATA[Form in HTML
In HTML we use <form> tag to create form inside a website. This form contains input field, text area, buttons, radio buttons, and many more. Let’s look into more.
<!-- Form Syntax -->
<form action="login.js" method="GET/POST"> 
    <!-- ...]]></description><link>https://phase-1.hashnode.dev/form-in-html</link><guid isPermaLink="true">https://phase-1.hashnode.dev/form-in-html</guid><category><![CDATA[ChaiCode]]></category><dc:creator><![CDATA[Prasanna Achar]]></dc:creator><pubDate>Mon, 20 Jan 2025 17:35:51 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1737391852306/c58005c1-9212-44ba-a3a4-255ca342766e.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2 id="heading-form-in-html">Form in HTML</h2>
<p>In HTML we use &lt;form&gt; tag to create form inside a website. This form contains input field, text area, buttons, radio buttons, and many more. Let’s look into more.</p>
<pre><code class="lang-xml"><span class="hljs-comment">&lt;!-- Form Syntax --&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">form</span> <span class="hljs-attr">action</span>=<span class="hljs-string">"login.js"</span> <span class="hljs-attr">method</span>=<span class="hljs-string">"GET/POST"</span>&gt;</span> 
    <span class="hljs-comment">&lt;!-- Form field inside here --&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">form</span>&gt;</span>
</code></pre>
<p>As you can see the above code there is form tag with two attributes, one is “action” and another is “method”.</p>
<ul>
<li><p><strong>action:</strong> This parameter is used specify where we are going to submit the data.</p>
</li>
<li><p><strong>method:</strong> This method specify that user is fetching data or sending data so the value can either “GET” or “POST”</p>
<p>  The link can be different depending on method after submit button clicked</p>
<p>  For example:</p>
<ul>
<li><p>GET: https://example.com/login.js?var1=name1&amp;var2=name2</p>
</li>
<li><p>POST: https://example.com/redirected_path.com</p>
</li>
</ul>
</li>
</ul>
<h2 id="heading-input-fields">Input fields:</h2>
<pre><code class="lang-xml"><span class="hljs-tag">&lt;<span class="hljs-name">form</span> <span class="hljs-attr">action</span>=<span class="hljs-string">"login.js"</span> <span class="hljs-attr">method</span>=<span class="hljs-string">"GET/POST"</span>&gt;</span> 
    <span class="hljs-tag">&lt;<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"text"</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"name"</span> <span class="hljs-attr">placeholder</span>=<span class="hljs-string">"Enter your name"</span>/&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"password"</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"passw"</span> /&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"submit"</span> <span class="hljs-attr">value</span>=<span class="hljs-string">"Submit"</span>/&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">form</span>&gt;</span>
</code></pre>
<p>The above code has some input fields like text field, password field, and submit field. Let’s break it down one by one:</p>
<ul>
<li><p><strong>text field:</strong> In the above code input with type text is text field where user insert their name. It has placeholder attribute which shows message on the text field before entering any character.</p>
</li>
<li><p><strong>password field:</strong> In the above code input with type password is password field and It hides any character you type inside it like using bullet symbol (*)</p>
</li>
<li><p><strong>submit</strong>: Submit field is button with the text Submit. Once you click Submit button it sends the data to the specified page which mentioned in the form action attribute.</p>
</li>
<li><p><strong>NOTE:</strong> The reason why I gave name attribute to every input is because is to specify in which we are sending data to login.js</p>
</li>
</ul>
<p><strong><em>Warning:</em></strong> Well, we know which field is for name and which field is for password but, how a user can identify it? that means there must be label. That’s where we use label tags.</p>
<pre><code class="lang-xml"><span class="hljs-tag">&lt;<span class="hljs-name">form</span> <span class="hljs-attr">action</span>=<span class="hljs-string">"login.js"</span> <span class="hljs-attr">method</span>=<span class="hljs-string">"GET/POST"</span>&gt;</span> 
    <span class="hljs-tag">&lt;<span class="hljs-name">label</span> <span class="hljs-attr">for</span>=<span class="hljs-string">"name"</span>&gt;</span>Enter your name:<span class="hljs-tag">&lt;/<span class="hljs-name">label</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"text"</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"name"</span> <span class="hljs-attr">placeholder</span>=<span class="hljs-string">"Enter your name"</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"name"</span>/&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">label</span> <span class="hljs-attr">for</span>=<span class="hljs-string">"passw"</span>&gt;</span>Enter password<span class="hljs-tag">&lt;/<span class="hljs-name">label</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"password"</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"passw"</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"passw"</span>/&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"submit"</span> <span class="hljs-attr">value</span>=<span class="hljs-string">"Submit"</span>/&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">form</span>&gt;</span>
</code></pre>
<p>Label is used name the input field in the UI section. The “for” attribute used to specify which input the label is referring to and using id bind them.</p>
<h3 id="heading-small-example">Small example:</h3>
<pre><code class="lang-xml"><span class="hljs-comment">&lt;!-- Example of GET Method --&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">form</span> <span class="hljs-attr">action</span>=<span class="hljs-string">"/search"</span> <span class="hljs-attr">method</span>=<span class="hljs-string">"GET"</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">label</span> <span class="hljs-attr">for</span>=<span class="hljs-string">"query"</span>&gt;</span>Search:<span class="hljs-tag">&lt;/<span class="hljs-name">label</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"text"</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"query"</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"query"</span> <span class="hljs-attr">placeholder</span>=<span class="hljs-string">"Type a search term"</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"submit"</span> <span class="hljs-attr">value</span>=<span class="hljs-string">"Search"</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">form</span>&gt;</span>

<span class="hljs-comment">&lt;!-- Example of POST Method --&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">form</span> <span class="hljs-attr">action</span>=<span class="hljs-string">"/register"</span> <span class="hljs-attr">method</span>=<span class="hljs-string">"POST"</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">label</span> <span class="hljs-attr">for</span>=<span class="hljs-string">"email"</span>&gt;</span>Email:<span class="hljs-tag">&lt;/<span class="hljs-name">label</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"email"</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"email"</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"email"</span> <span class="hljs-attr">placeholder</span>=<span class="hljs-string">"Enter your email"</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">label</span> <span class="hljs-attr">for</span>=<span class="hljs-string">"password"</span>&gt;</span>Password:<span class="hljs-tag">&lt;/<span class="hljs-name">label</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"password"</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"password"</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"password"</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"submit"</span> <span class="hljs-attr">value</span>=<span class="hljs-string">"Register"</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">form</span>&gt;</span>
</code></pre>
<h2 id="heading-major-thing-you-need-to-notice">Major thing you need to notice:</h2>
<ul>
<li><p>In this above article, I specified name and password but, it’s not like this in real world products It will user_id , user_name, user_email and password.</p>
</li>
<li><p>When user using login page the method of the form is GET and when the user is using register page the method is POST.</p>
</li>
<li><p>In the old days table is used inside the align the elements when styling after flexbox and grid introduced, there will div tags which separates a section which holds label and input field of particular section like name section or password section. (I don’t know the full details, but I have seen it)</p>
</li>
<li><p>There are lot of things that I didn’t mention but, it’s just basic knowledge including other input types is your option.</p>
</li>
</ul>
<p>Thank you for reading this article. There might be something mistake that I have made in this article, if you find it then please inform me.</p>
]]></content:encoded></item><item><title><![CDATA[Begin HTML]]></title><description><![CDATA[Those who start to climb the ladder must begin from the step 1. In the Development field HTML is the first step you take.
HTML (Hyper Text Markup Language) is a web page structuring language. This language widely known for its easy to build a web pag...]]></description><link>https://phase-1.hashnode.dev/begin-html</link><guid isPermaLink="true">https://phase-1.hashnode.dev/begin-html</guid><category><![CDATA[ChaiCode]]></category><dc:creator><![CDATA[Prasanna Achar]]></dc:creator><pubDate>Mon, 20 Jan 2025 15:24:10 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1737383411076/fb1a4e59-c304-407a-8479-9436003d1f58.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Those who start to climb the ladder must begin from the step 1. In the Development field HTML is the first step you take.</p>
<p><strong>HTML</strong> (Hyper Text Markup Language) is a web page structuring language. This language widely known for its easy to build a web page purpose. HTML has its own unique syntax. In HTML we don’t use term as keyword for predefined words. Every word has its own role, and every word defined inside the lesser than and greater than symbols (&lt;&gt;), This is known as tags or elements.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1737384086017/b939e361-38cc-4b5b-9bc1-aeae6d540b49.png" alt class="image--center mx-auto" /></p>
<h2 id="heading-basic-structure-of-html">Basic Structure of HTML</h2>
<pre><code class="lang-xml"><span class="hljs-meta">&lt;!DOCTYPE <span class="hljs-meta-keyword">html</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">html</span> <span class="hljs-attr">lang</span>=<span class="hljs-string">"en"</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">head</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">meta</span> <span class="hljs-attr">charset</span>=<span class="hljs-string">"UTF-8"</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">meta</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"viewport"</span> <span class="hljs-attr">content</span>=<span class="hljs-string">"width=device-width, initial-scale=1.0"</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">title</span>&gt;</span>Document<span class="hljs-tag">&lt;/<span class="hljs-name">title</span>&gt;</span>
    <span class="hljs-tag">&lt;/<span class="hljs-name">head</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">body</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">h1</span>&gt;</span>Hello World<span class="hljs-tag">&lt;/<span class="hljs-name">h1</span>&gt;</span>
    <span class="hljs-tag">&lt;/<span class="hljs-name">body</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">html</span>&gt;</span>
</code></pre>
<p>The above code shows the basic structure of the HTML.</p>
<ul>
<li><p><code>&lt;!DOCTYPE html&gt;</code> Describes it’s a HTML page.</p>
</li>
<li><p><code>&lt;html&gt;&lt;/html&gt;</code> The html page contents all should be stored inside this tag.</p>
</li>
<li><p><code>&lt;head&gt;&lt;/head&gt;</code> It is used to describe the head content of the html file.</p>
</li>
<li><p><code>&lt;title&gt;&lt;/title&gt;</code> It is used define the title of the Web page.</p>
</li>
<li><p><code>&lt;body&gt;&lt;/body&gt;</code> It is the body of web page where you create the structure of your web page.</p>
</li>
</ul>
<p>These are the tags which majorly used to create web page.</p>
<h2 id="heading-html-tags">HTML tags:</h2>
<h3 id="heading-heading-tags">Heading tags:</h3>
<p>There are 6 heading tags</p>
<pre><code class="lang-xml"><span class="hljs-tag">&lt;<span class="hljs-name">h1</span>&gt;</span>Heading 1<span class="hljs-tag">&lt;/<span class="hljs-name">h1</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">h2</span>&gt;</span>Heading 2<span class="hljs-tag">&lt;/<span class="hljs-name">h2</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">h3</span>&gt;</span>Heading 3<span class="hljs-tag">&lt;/<span class="hljs-name">h3</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">h4</span>&gt;</span>Heading 4<span class="hljs-tag">&lt;/<span class="hljs-name">h4</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">h5</span>&gt;</span>Heading 5<span class="hljs-tag">&lt;/<span class="hljs-name">h5</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">h6</span>&gt;</span>Heading 6<span class="hljs-tag">&lt;/<span class="hljs-name">h6</span>&gt;</span>
</code></pre>
<h3 id="heading-text-tags">Text tags:</h3>
<pre><code class="lang-xml"><span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span> This is a paragraph <span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
</code></pre>
<p>The above tag is used create a paragraph. There are tags which are used decorate the text, They are:</p>
<div class="hn-table">
<table>
<thead>
<tr>
<td>Elements</td><td>Element Name</td></tr>
</thead>
<tbody>
<tr>
<td><code>&lt;b&gt;&lt;/b&gt;</code></td><td>Bold</td></tr>
<tr>
<td><code>&lt;i&gt;&lt;/i&gt;</code></td><td>Italic</td></tr>
<tr>
<td><code>&lt;u&gt;&lt;/u&gt;</code></td><td>underlined</td></tr>
<tr>
<td><code>&lt;strong&gt;&lt;/strong&gt;</code></td><td>Strong</td></tr>
<tr>
<td><code>&lt;small&gt;&lt;/small&gt;</code></td><td>Small</td></tr>
<tr>
<td><code>&lt;em&gt;&lt;/em&gt;</code></td><td>emphasized</td></tr>
<tr>
<td><code>&lt;insert&gt;&lt;/insert&gt;</code></td><td>inserted text</td></tr>
<tr>
<td><code>&lt;del&gt;&lt;/del&gt;</code></td><td>Deleted Text</td></tr>
<tr>
<td><code>&lt;mark&gt;&lt;/mark&gt;</code></td><td>Marked Text</td></tr>
<tr>
<td><code>&lt;sup&gt;&lt;/sup&gt;</code></td><td>Super Script</td></tr>
<tr>
<td><code>&lt;sub&gt;&lt;/sub&gt;</code></td><td>Sub Script</td></tr>
</tbody>
</table>
</div><h3 id="heading-container-tags">Container Tags:</h3>
<p>Container type of tags means contain the group of elements inside the container. We majorly use the &lt;div&gt; container but, after the HTML recent update we have lot of container elements: They are:</p>
<div class="hn-table">
<table>
<thead>
<tr>
<td>Element</td><td>Element Name</td></tr>
</thead>
<tbody>
<tr>
<td>&lt;div&gt;&lt;/div&gt;</td><td>Div container</td></tr>
<tr>
<td>&lt;section&gt;&lt;section&gt;</td><td>Section Container</td></tr>
<tr>
<td>&lt;header&gt;&lt;/header&gt;</td><td>Header container</td></tr>
<tr>
<td>&lt;nav&gt;&lt;nav&gt;</td><td>Navbar container</td></tr>
<tr>
<td>&lt;main&gt;&lt;/main&gt;</td><td>main container</td></tr>
<tr>
<td>&lt;footer&gt;&lt;/footer&gt;</td><td>Footer Container</td></tr>
<tr>
<td>&lt;aside&gt;&lt;/aside&gt;</td><td>Aside container</td></tr>
</tbody>
</table>
</div><h3 id="heading-list-tags">List Tags:</h3>
<p>They are Three type of list</p>
<ol>
<li><p>Ordered List:</p>
<pre><code class="lang-xml"> <span class="hljs-tag">&lt;<span class="hljs-name">ol</span>&gt;</span>
     <span class="hljs-tag">&lt;<span class="hljs-name">li</span>&gt;</span>Item1<span class="hljs-tag">&lt;/<span class="hljs-name">li</span>&gt;</span>
     <span class="hljs-tag">&lt;<span class="hljs-name">li</span>&gt;</span>Item2<span class="hljs-tag">&lt;/<span class="hljs-name">li</span>&gt;</span>
     <span class="hljs-tag">&lt;<span class="hljs-name">li</span>&gt;</span>Item3<span class="hljs-tag">&lt;/<span class="hljs-name">li</span>&gt;</span>
 <span class="hljs-tag">&lt;/<span class="hljs-name">ol</span>&gt;</span>
</code></pre>
</li>
<li><p>Unordered list:</p>
<pre><code class="lang-xml"> <span class="hljs-tag">&lt;<span class="hljs-name">ul</span>&gt;</span>
     <span class="hljs-tag">&lt;<span class="hljs-name">li</span>&gt;</span>Item1<span class="hljs-tag">&lt;/<span class="hljs-name">li</span>&gt;</span>
     <span class="hljs-tag">&lt;<span class="hljs-name">li</span>&gt;</span>Item2<span class="hljs-tag">&lt;/<span class="hljs-name">li</span>&gt;</span>
     <span class="hljs-tag">&lt;<span class="hljs-name">li</span>&gt;</span>Item3<span class="hljs-tag">&lt;/<span class="hljs-name">li</span>&gt;</span>
 <span class="hljs-tag">&lt;/<span class="hljs-name">ul</span>&gt;</span>
</code></pre>
</li>
<li><p>Descriptive list</p>
<pre><code class="lang-xml"> <span class="hljs-tag">&lt;<span class="hljs-name">dl</span>&gt;</span>
     <span class="hljs-tag">&lt;<span class="hljs-name">dt</span>&gt;</span>Description title<span class="hljs-tag">&lt;/<span class="hljs-name">dt</span>&gt;</span>
     <span class="hljs-tag">&lt;<span class="hljs-name">dd</span>&gt;</span> Data Description <span class="hljs-tag">&lt;/<span class="hljs-name">dd</span>&gt;</span>
 <span class="hljs-tag">&lt;/<span class="hljs-name">dl</span>&gt;</span>
</code></pre>
</li>
</ol>
<h3 id="heading-form-tags">Form Tags:</h3>
<pre><code class="lang-xml"><span class="hljs-tag">&lt;<span class="hljs-name">form</span> <span class="hljs-attr">action</span>=<span class="hljs-string">""</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">fieldset</span>&gt;</span>
            <span class="hljs-tag">&lt;<span class="hljs-name">div</span>&gt;</span>
                <span class="hljs-tag">&lt;<span class="hljs-name">label</span> <span class="hljs-attr">for</span>=<span class="hljs-string">"#number"</span>&gt;</span>Phone No:<span class="hljs-tag">&lt;/<span class="hljs-name">label</span>&gt;</span>
                <span class="hljs-tag">&lt;<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"tel"</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"number"</span> <span class="hljs-attr">id</span>=<span class="hljs-string">""</span>&gt;</span>
            <span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
            <span class="hljs-tag">&lt;<span class="hljs-name">div</span>&gt;</span>
                <span class="hljs-tag">&lt;<span class="hljs-name">label</span> <span class="hljs-attr">for</span>=<span class="hljs-string">"name"</span>&gt;</span>Your name<span class="hljs-tag">&lt;/<span class="hljs-name">label</span>&gt;</span>
                <span class="hljs-tag">&lt;<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"text"</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"name"</span> <span class="hljs-attr">id</span>=<span class="hljs-string">""</span>&gt;</span>
            <span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
            <span class="hljs-tag">&lt;<span class="hljs-name">div</span>&gt;</span>
                <span class="hljs-tag">&lt;<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"submit"</span> <span class="hljs-attr">value</span>=<span class="hljs-string">"Submit"</span>&gt;</span>
            <span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
        <span class="hljs-tag">&lt;/<span class="hljs-name">fieldset</span>&gt;</span>
    <span class="hljs-tag">&lt;/<span class="hljs-name">form</span>&gt;</span>
</code></pre>
<p>Thank you reading this article.</p>
]]></content:encoded></item></channel></rss>