<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Madhavaraj C on Medium]]></title>
        <description><![CDATA[Stories by Madhavaraj C on Medium]]></description>
        <link>https://medium.com/@madhavaraj1111?source=rss-44dc50e76eb5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*-0Hn3IpIgkj98LO01BOlLw.jpeg</url>
            <title>Stories by Madhavaraj C on Medium</title>
            <link>https://medium.com/@madhavaraj1111?source=rss-44dc50e76eb5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 21:30:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@madhavaraj1111/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Beautifying Websites with CSS]]></title>
            <link>https://medium.com/@madhavaraj1111/beautifying-websites-with-css-faa1cb002272?source=rss-44dc50e76eb5------2</link>
            <guid isPermaLink="false">https://medium.com/p/faa1cb002272</guid>
            <category><![CDATA[style]]></category>
            <category><![CDATA[stylesheets]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Madhavaraj C]]></dc:creator>
            <pubDate>Mon, 16 Jun 2025 15:18:38 GMT</pubDate>
            <atom:updated>2025-06-16T15:18:38.430Z</atom:updated>
            <content:encoded><![CDATA[<p>In my previous blog post, I shared what I learned about <strong>HTML</strong> — the structure of every website.</p><p>Now, it’s time to <strong>beautify the website using CSS</strong>!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rN3_m34Cmqk0mZDy" /></figure><h3>What is CSS?</h3><p>CSS stands for <strong>Cascading Style Sheets</strong>. It is used to apply styles to HTML elements — like colors, spacing, fonts, borders, and more.</p><p>CSS lets us design how the webpage looks and feels.</p><h3>What is “Cascading”?</h3><p>The word <em>cascading</em> means:<br> <strong>“To pour downwards rapidly and in large quantities.”</strong></p><h3>Technically:</h3><p>Multiple style sheets can be active for a single document at the same time, such as:</p><ul><li><strong>Browser styles</strong></li><li><strong>External stylesheets</strong></li><li><strong>Internal styles</strong></li><li><strong>Inline styles</strong></li></ul><p>CSS uses a <strong>priority system</strong> to decide which style is applied when there’s a conflict.</p><h3>CSS Properties</h3><p>CSS properties assign a <strong>style or behavior</strong> to an HTML element.</p><p>Here are some common examples:</p><ul><li>color — sets the text color</li><li>border — adds a border around an element</li><li>margin — defines space outside the element</li><li>font-style — sets italic or normal text</li></ul><h3>CSS Alternatives &amp; Frameworks</h3><p>There are tools built on top of CSS that make styling easier or faster:</p><ul><li><strong>SASS</strong>, <strong>LESS</strong> — CSS preprocessors (with features like variables, nesting, etc.)</li><li><strong>Materialize</strong>, <strong>Bootstrap</strong>, <strong>Tailwind CSS</strong> — popular CSS frameworks</li></ul><blockquote>But remember: <strong>CSS is the foundation</strong>.<br>It’s important to learn <strong>plain CSS</strong> before jumping into these tools.</blockquote><h3>Summary</h3><p>CSS turns plain HTML into beautiful, styled web pages.It works by applying properties to elements, and uses a cascading system to decide which styles take effect.</p><p>Learning core CSS is <strong>essential</strong> before moving to advanced tools like <strong>Tailwind</strong>, <strong>Bootstrap</strong>, or <strong>SASS</strong>.It’s the <strong>heart of web design</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=faa1cb002272" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Make Forms in HTML]]></title>
            <link>https://medium.com/@madhavaraj1111/how-to-make-forms-in-html-711a03ac8472?source=rss-44dc50e76eb5------2</link>
            <guid isPermaLink="false">https://medium.com/p/711a03ac8472</guid>
            <category><![CDATA[html]]></category>
            <category><![CDATA[html-form]]></category>
            <category><![CDATA[basics]]></category>
            <category><![CDATA[forms]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Madhavaraj C]]></dc:creator>
            <pubDate>Sat, 14 Jun 2025 06:09:39 GMT</pubDate>
            <atom:updated>2025-06-14T06:45:50.359Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’ve ever signed up for a website or filled out a form online, you’ve used something called an HTML form. Today, I want to show you how these forms work, and how you can make your own.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7VWzqLUtgOjlz0HO" /></figure><h3>What is a Form?</h3><p>A form is just a way for people to write and send information to a website. Think of it like a digital paper where you write your name, email, or anything else.</p><h4>The &lt;form&gt; Tag</h4><p>Every form starts with a &lt;form&gt; tag. This tag wraps all the things you want people to fill out.</p><pre>&lt;form&gt;<br>  &lt;!-- Stuff to fill out goes here --&gt;<br>&lt;/form&gt;</pre><h3>Where Does the Information Go? (The action)</h3><p>The action part tells the website where to send the information after someone hits submit.</p><pre>&lt;form action=&quot;process.php&quot;&gt; &lt;!-- just give action=&quot;#&quot; if you dont know where to send--&gt;<br>  &lt;!-- Stuff to fill out --&gt;<br>&lt;/form&gt;</pre><h3>Input Fields</h3><p>You use the &lt;input&gt; tag to make boxes where people can type or select things.</p><pre>&lt;input type=&quot;text&quot; name=&quot;username&quot;&gt;</pre><p>The name part is important—it helps you know what each answer is for.</p><h3>Different Types of Input</h3><p>You can make different kinds of boxes:</p><blockquote>Text: For typing words.</blockquote><pre>&lt;input type=&quot;text&quot; name=&quot;fullname&quot;&gt;</pre><blockquote>Radio: For picking one thing from a few choices.</blockquote><pre>&lt;input type=&quot;radio&quot; name=&quot;gender&quot; value=&quot;male&quot;&gt; Male<br>&lt;input type=&quot;radio&quot; name=&quot;gender&quot; value=&quot;female&quot;&gt; Female</pre><blockquote>Checkbox: For picking more than one thing.</blockquote><pre>&lt;input type=&quot;checkbox&quot; name=&quot;hobby&quot; value=&quot;reading&quot;&gt; Reading<br>&lt;input type=&quot;checkbox&quot; name=&quot;hobby&quot; value=&quot;sports&quot;&gt; Sports</pre><blockquote>Submit: For sending the form.</blockquote><pre>&lt;input type=&quot;submit&quot; value=&quot;Submit&quot;&gt;</pre><h3>Big Text Boxes (&lt;textarea&gt;)</h3><p>If you want people to write a lot, use &lt;textarea&gt;.</p><pre>&lt;textarea name=&quot;message&quot; rows=&quot;4&quot; cols=&quot;50&quot;&gt;&lt;/textarea&gt;</pre><h3>How Does the Info Get Sent? (method)</h3><p>When someone submits the form, you can choose how the info gets sent:</p><ul><li>GET: The info shows up in the website address.</li></ul><pre>&lt;form action=&quot;process.php&quot; method=&quot;get&quot;&gt;</pre><p>Example: process.php?username=John&amp;gender=male</p><ul><li>POST: The info is hidden in the background.</li></ul><pre>&lt;form action=&quot;process.php&quot; method=&quot;post&quot;&gt;</pre><h3>Sending Info to Email</h3><p>You can make the form send info to your email. Just use mailto: in the action.</p><pre>&lt;form action=&quot;mailto:abc@gmail.com?subject=Student data&amp;body=This is the student data from the form&quot; method=&quot;post&quot;&gt;<br>  &lt;!-- Stuff to fill out --&gt;<br>&lt;/form&gt;</pre><p>You can also add CC and BCC (to send copies to other emails):</p><pre>&lt;form action=&quot;mailto:abc@gmail.com?cc=cc@example.com&amp;bcc=bcc@example.com&amp;subject=Student data&amp;body=This is the student data from the form&quot; method=&quot;post&quot;&gt;<br>  &lt;!-- Stuff to fill out --&gt;<br>&lt;/form&gt;</pre><h3>Full Example</h3><p>Here’s a full example of a form for student info:</p><pre>&lt;form action=&quot;mailto:abc@gmail.com?cc=cc@example.com&amp;bcc=bcc@example.com&amp;subject=Student data&amp;body=This is the student data from the form&quot; method=&quot;post&quot;&gt;<br>  &lt;label for=&quot;name&quot;&gt;Name:&lt;/label&gt;<br>  &lt;input type=&quot;text&quot; id=&quot;name&quot; name=&quot;name&quot;&gt;&lt;br&gt;&lt;br&gt;<br>  &lt;label&gt;Gender:&lt;/label&gt;<br>  &lt;input type=&quot;radio&quot; name=&quot;gender&quot; value=&quot;male&quot;&gt; Male<br>  &lt;input type=&quot;radio&quot; name=&quot;gender&quot; value=&quot;female&quot;&gt; Female&lt;br&gt;&lt;br&gt;<br>  &lt;label&gt;Hobbies:&lt;/label&gt;<br>  &lt;input type=&quot;checkbox&quot; name=&quot;hobby&quot; value=&quot;reading&quot;&gt; Reading<br>  &lt;input type=&quot;checkbox&quot; name=&quot;hobby&quot; value=&quot;sports&quot;&gt; Sports&lt;br&gt;&lt;br&gt;<br>  &lt;label for=&quot;message&quot;&gt;Message:&lt;/label&gt;<br>  &lt;textarea id=&quot;message&quot; name=&quot;message&quot; rows=&quot;4&quot; cols=&quot;50&quot;&gt;&lt;/textarea&gt;&lt;br&gt;&lt;br&gt;<br>  &lt;input type=&quot;submit&quot; value=&quot;Submit&quot;&gt;<br>&lt;/form&gt;</pre><h3>Wrapping Up</h3><p>Making forms in HTML is pretty easy once you know the basics. Just use the &lt;form&gt; tag, add some &lt;input&gt; or &lt;textarea&gt; boxes, and decide where to send the info. You can even send it to your email!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=711a03ac8472" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Time machine tool for websites & Inspect tool]]></title>
            <link>https://medium.com/@madhavaraj1111/time-machine-tool-for-websites-inspect-tool-f74fc1d664aa?source=rss-44dc50e76eb5------2</link>
            <guid isPermaLink="false">https://medium.com/p/f74fc1d664aa</guid>
            <category><![CDATA[basics]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[time-machine]]></category>
            <category><![CDATA[tools]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Madhavaraj C]]></dc:creator>
            <pubDate>Fri, 13 Jun 2025 18:00:29 GMT</pubDate>
            <atom:updated>2025-06-13T18:00:29.388Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>What if you get a time machine and have a chance to know about the initial stage of famous websites, and know how they eventually grown up to this stage.If you wonder about that you probably want to know about this </em><a href="http://wayback.archive.org/"><strong><em>WaybackMachine</em></strong></a><strong><em> </em></strong><em>tool that show up the timeline development of the websites.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hzSpdZw_dgyAGoBRnGWywQ.png" /></figure><h3><strong>How to use?</strong></h3><blockquote>It is pretty much simple you just have the URL of the site you want to explore its old age . Just paste the URL in the input field of <strong><em>WaybackMachine</em></strong> site.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qy-bqUemo31XFNq_hCvqNw.png" /><figcaption>WayBackMachine site</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-Ut1AlKl6Gvg-jT40DesYw.png" /><figcaption>Paste URL in WayBackMachine site</figcaption></figure><h3><strong>Flipkart on June-08-2007</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sqUSuAshZeT6FzjQcTEQfA.png" /></figure><h3>Flipkart on Jan-01–2015</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oJK9e2OVDJ_rB5Jz-OwqEw.png" /></figure><h3>Inspect tool</h3><p>Do you think about viewing the elements that are used for the visible texts or the stuff you see on a site? Here comes the inspect tool that helps to know about the elements used and the CSS styles.</p><h3>How ?</h3><p><strong>Step 1</strong>: Right-click on the site you want to inspect and select Inspect.</p><p><strong>Step 2</strong>: After clicking that, you will see an unusual interface that a beginner may not be familiar with, but just look for the arrow-like symbol on the left side of the screen, click it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GE-FRPdSChicjFYTzAKEIw.png" /></figure><p><strong>Step 3</strong>: Now, in the web page, you can inspect what you want and with what elements and the styles they are built with.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*Kkgtz2gh0ZygMn4dKX4CIA.png" /></figure><h3><strong>Summary</strong></h3><p>Taking to the old age of the websites with the help of the <strong>WayBackMachine</strong> tool and want to know about the elements used in a website that could be viewed using the inspect tool.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f74fc1d664aa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HTML Title & Favicon -The Identity of a web page]]></title>
            <link>https://medium.com/@madhavaraj1111/html-title-favicon-the-identity-of-a-web-page-650c9fbb5fdd?source=rss-44dc50e76eb5------2</link>
            <guid isPermaLink="false">https://medium.com/p/650c9fbb5fdd</guid>
            <category><![CDATA[favicon]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[title]]></category>
            <category><![CDATA[basics]]></category>
            <dc:creator><![CDATA[Madhavaraj C]]></dc:creator>
            <pubDate>Fri, 13 Jun 2025 08:10:44 GMT</pubDate>
            <atom:updated>2025-06-13T16:16:19.656Z</atom:updated>
            <content:encoded><![CDATA[<h3>10. HTML Title &amp; Favicon -The Identity of a web page</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XHP6HG21fN0x8Tol" /></figure><blockquote>In your browser tab, have you seen the <strong>title </strong>and <strong>image</strong> ? In HTML ,how can we do this? Let’s see .</blockquote><h3>Title</h3><p>The title is not just the text; it is mainly for the purpose of the search engines to understand the purpose of the website. BY using this title, the website will be ranked in the searches. We can also have different titles for different pages in our HTML code, but having consistent names will be more understandable for the users.</p><pre>&lt;!DOCTYPE html&gt;<br>&lt;html&gt;<br>&lt;head&gt;<br>&lt;title&gt;Madhav-Blog&lt;/title&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br><br>&lt;/body&gt;<br>&lt;/html&gt;</pre><h3><strong>Favicon</strong></h3><p>Favicon is the small icon that is visible left of the title. Using relevant icons for the websites is a good approach. Sometimes I wonder when I don&#39;t know about the favicon and development, how these things are set, and they are just amazing. We can see how favicons are set,</p><pre>&lt;!DOCTYPE html&gt;<br>&lt;html&gt;<br>&lt;head&gt;<br>  &lt;title&gt;My Page Title&lt;/title&gt;<br>  &lt;link rel=&quot;icon&quot; type=&quot;image/x-icon&quot; href=&quot;/images/favicon.ico&quot;&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br><br>&lt;/body&gt;<br>&lt;/html&gt;</pre><p>To set favicon, we use the link tag with the rel, type and href attributes.</p><p><strong>rel</strong> attributes tell the relationship of the icon to the browser, <strong>type</strong> is to denote that the image size is of the favicon size, that is,x-icon, and <strong>href</strong> is the location of the favicon on our computer/local. Usually, the size of the favicon is 16x16, but most browsers now support 32x32 size.</p><h3>Where to find a quick favicon?</h3><p><strong>Flaticon </strong>website has the favicon image sizes. First, you need to download the image in PNG format and then convert the PNG to ICO format using the <strong>Cloudconvert </strong>tool.</p><h3>Summary</h3><p>These are the basics to know about the title and favicon; the browser needs an identity for itself, like the chapter names in books. The web pages themselves need it, so it would be very useful for the developers and the users as well as for search engines to find it easier to know about the web pages.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=650c9fbb5fdd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HTML Tables- Rows, Columns and Spans]]></title>
            <link>https://medium.com/@madhavaraj1111/html-tables-rows-columns-and-spans-420686167790?source=rss-44dc50e76eb5------2</link>
            <guid isPermaLink="false">https://medium.com/p/420686167790</guid>
            <category><![CDATA[basics]]></category>
            <category><![CDATA[table]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[web-design]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Madhavaraj C]]></dc:creator>
            <pubDate>Thu, 12 Jun 2025 19:53:27 GMT</pubDate>
            <atom:updated>2025-06-13T16:16:07.954Z</atom:updated>
            <content:encoded><![CDATA[<h3>9. HTML Tables- Rows, Columns and Spans</h3><blockquote><em>We almost know that why tables are really useful when arranging the data . Just like the usual MS-Excel or the time table we follow in our school and college.In side of the Web development HTML allows us to create Table elements for structuring the data.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mapdeNyTG0BjB-WI" /></figure><h3>What are Tables in HTML ?</h3><p>Tables are hierarchical information, so we can understand the order of the data arrangements, read them quickly, and retrieve information without any complexity.</p><p>In HTML, for this, we use the tag,</p><pre>&lt;table&gt;&lt;/table&gt;</pre><p>to notice that the table comes.</p><h4>Tables headers</h4><p>We know that for every column at the top, we have the required heading, and that is the header part of the table.</p><p>In terms of the tag we use ,</p><pre>&lt;table&gt;<br>&lt;thead&gt;&lt;/thead&gt;<br>&lt;/table&gt;</pre><p>for the table header.</p><h4><strong>Table Rows</strong></h4><p>To create rows, we use the table row tag,</p><pre>&lt;table&gt;<br>&lt;thead&gt;<br>&lt;tr&gt;&lt;/tr&gt;<br>&lt;/thead&gt;<br>&lt;/table&gt;</pre><h4><strong>Table head</strong></h4><p><strong><em>&lt;th&gt;&lt;/th&gt;</em></strong> is the table head tag that contains the actual heading name of the column. When using this, the heading will be bold automatically to denote this is the heading of the column.</p><pre>&lt;table border=&quot;1&quot; width=&quot;100%&quot;&gt;<br>&lt;thead&gt;<br>&lt;tr&gt;<br>&lt;th&gt;Name&lt;/th&gt;<br>&lt;th&gt;Email&lt;/th&gt;<br>&lt;th&gt;Phone&lt;/th&gt;<br>&lt;/tr&gt;<br>&lt;/thead&gt;<br>&lt;/table&gt;</pre><p>The <strong>border = “1”</strong> and the <strong>width =” 100%”</strong> are the attributes to have the table borders and the width to be filled on the device screen.</p><h4>Table body</h4><p>The main part is the content of the table that holds the actual data. We say that as the body of the table.</p><pre>&lt;table border=&quot;1&quot; width=&quot;100%&quot;&gt;<br>&lt;thead&gt;<br>&lt;tr&gt;<br>&lt;th&gt;Name&lt;/th&gt;<br>&lt;th&gt;Email&lt;/th&gt;<br>&lt;th&gt;Phone&lt;/th&gt;<br>&lt;/tr&gt;<br>&lt;/thead&gt;<br>&lt;tbody&gt;<br>&lt;/tbody&gt;<br>&lt;/table&gt;</pre><p>Add a table row tag like we did in the header part.</p><pre>&lt;table border=&quot;1&quot; width=&quot;100%&quot;&gt;<br>&lt;thead&gt;<br>&lt;tr&gt;<br>&lt;th&gt;Name&lt;/th&gt;<br>&lt;th&gt;Email&lt;/th&gt;<br>&lt;th&gt;Phone&lt;/th&gt;<br>&lt;/tr&gt;<br>&lt;/thead&gt;<br>&lt;tbody&gt;<br>&lt;tr&gt;&lt;/tr&gt;<br>&lt;/tbody&gt;<br>&lt;/table&gt;</pre><p>Here, the difference would be instead of using <strong>&lt;th&gt;&lt;/th&gt; </strong>we use the <strong>&lt;td&gt;&lt;/td&gt; </strong>tag that mainly represents the table description or the table data .</p><pre>&lt;table border=&quot;1&quot; width=&quot;100%&quot;&gt;<br>&lt;thead&gt;<br>&lt;tr&gt;<br>&lt;th&gt;Name&lt;/th&gt;<br>&lt;th&gt;Email&lt;/th&gt;<br>&lt;th&gt;Phone&lt;/th&gt;<br>&lt;/tr&gt;<br>&lt;/thead&gt;<br>&lt;tbody&gt;<br>&lt;tr&gt;<br>&lt;td&gt;Madhavaraj&lt;/td&gt;<br>&lt;td&gt;madhavaraj@gmail.com&lt;/td&gt;<br>&lt;td&gt;1234567890&lt;/td&gt;<br>&lt;/tr&gt;<br>&lt;/tbody&gt;<br>&lt;/table&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/817/1*AWG7qQuixgPgU1LOZ2W9xw.png" /></figure><h3>Rowspan, Colspan</h3><p>What if sometimes we need to combine or merge two rows or columns, like we used to look at the timetable, having the same period in a row of two. The blank gap that notifies us of the lunch break. In HTML, we use row span and the colspan for merging the cells.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/581/1*U66VNxXgqARX8kHbiksmqA.png" /></figure><pre>&lt;table border=&quot;1&quot;&gt;<br>    &lt;tr&gt;<br>      &lt;th&gt;Day&lt;/th&gt;<br>      &lt;th&gt;Period 1&lt;/th&gt;<br>      &lt;th&gt;Period 2&lt;/th&gt;<br>      &lt;th&gt;Lunch Break&lt;/th&gt;<br>      &lt;th&gt;Period 3&lt;/th&gt;<br>      &lt;th&gt;Period 4&lt;/th&gt;<br>    &lt;/tr&gt;<br>    &lt;tr&gt;<br>      &lt;td&gt;Monday&lt;/td&gt;<br>      &lt;td&gt;Math&lt;/td&gt;<br>      &lt;td&gt;Science&lt;/td&gt;<br>      &lt;td rowspan=&quot;5&quot;&gt;Lunch Break&lt;/td&gt;<br>      &lt;td&gt;English&lt;/td&gt;<br>      &lt;td&gt;History&lt;/td&gt;<br>    &lt;/tr&gt;<br>    &lt;tr&gt;<br>      &lt;td&gt;Tuesday&lt;/td&gt;<br>      &lt;td colspan=&quot;2&quot;&gt;Computer Lab&lt;/td&gt;<br>      &lt;td&gt;Geography&lt;/td&gt;<br>      &lt;td&gt;Sports&lt;/td&gt;<br>    &lt;/tr&gt;<br>    &lt;tr&gt;<br>      &lt;td&gt;Wednesday&lt;/td&gt;<br>      &lt;td&gt;Biology&lt;/td&gt;<br>      &lt;td&gt;Math&lt;/td&gt;<br>      &lt;td&gt;English&lt;/td&gt;<br>      &lt;td&gt;Art&lt;/td&gt;<br>    &lt;/tr&gt;<br>    &lt;tr&gt;<br>      &lt;td&gt;Thursday&lt;/td&gt;<br>      &lt;td&gt;Physics&lt;/td&gt;<br>      &lt;td&gt;Chemistry&lt;/td&gt;<br>      &lt;td colspan=&quot;2&quot;&gt;Field Trip&lt;/td&gt;<br>    &lt;/tr&gt;<br>    &lt;tr&gt;<br>      &lt;td&gt;Friday&lt;/td&gt;<br>      &lt;td&gt;English&lt;/td&gt;<br>      &lt;td&gt;Math&lt;/td&gt;<br>      &lt;td&gt;History&lt;/td&gt;<br>      &lt;td&gt;Drawing&lt;/td&gt;<br>    &lt;/tr&gt;<br>  &lt;/table&gt;</pre><h3><strong>Summary</strong></h3><p>These are the tags <strong>&lt;table&gt;</strong>,<strong>&lt;thead&gt;,&lt;tbody&gt;,&lt;tr&gt;,&lt;th&gt;&lt;td&gt;</strong> that are used commonly in terms of tables in HTML. Using the border attribute for the table borders is essential, and for the width, if needed, we can specify that as well.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=420686167790" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Understanding the <img> Tag in HTML]]></title>
            <link>https://medium.com/@madhavaraj1111/understanding-the-img-tag-in-html-a54588b71429?source=rss-44dc50e76eb5------2</link>
            <guid isPermaLink="false">https://medium.com/p/a54588b71429</guid>
            <category><![CDATA[basics]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[image]]></category>
            <category><![CDATA[tag]]></category>
            <category><![CDATA[html]]></category>
            <dc:creator><![CDATA[Madhavaraj C]]></dc:creator>
            <pubDate>Thu, 12 Jun 2025 05:51:20 GMT</pubDate>
            <atom:updated>2025-06-13T16:15:56.699Z</atom:updated>
            <content:encoded><![CDATA[<h3>8. 📷 Understanding the &lt;img&gt; Tag in HTML</h3><p>When building a webpage, adding images is one of the first things we learn — and it’s done using the powerful yet simple &lt;img&gt; tag in HTML.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EjOc9ipC7MLppbDb" /></figure><p>Let’s break it down step by step.</p><h3>What is the &lt;img&gt; Tag?</h3><p>The &lt;img&gt; tag in HTML is used to embed images in a webpage.<br> It is a <strong>self-closing tag</strong>, which means it does not need a separate closing tag like &lt;div&gt;&lt;/div&gt;.</p><p>Example:</p><pre>&lt;img src=&quot;images/photo.jpg&quot; alt=&quot;A beautiful sunset&quot; /&gt;</pre><h3>Using Local Images</h3><p>To display a local image (stored on your computer/project folder):</p><ol><li>Create a folder (e.g., images)</li><li>Place the image file inside that folder</li><li>Reference it in the src attribute:</li></ol><pre>&lt;img src=&quot;images/dog.jpg&quot; alt=&quot;Cute puppy&quot; /&gt;</pre><h3>What If the Image Doesn’t Load?</h3><p>That’s where the alt attribute comes in.</p><ul><li>It displays alternative text if the image can’t be shown.</li><li>It also helps <strong>screen readers</strong> describe the image to visually impaired users — making your site more accessible.</li></ul><p>Example:</p><pre>&lt;img src=&quot;images/tree.png&quot; alt=&quot;A green tree with wide branches&quot; /&gt;</pre><h3>Setting Image Size</h3><p>You can control image dimensions using height and width attributes:</p><pre>&lt;img src=&quot;images/lake.jpg&quot; alt=&quot;Lake view&quot; width=&quot;300&quot; height=&quot;200&quot; /&gt;</pre><p>Or, you can do it via CSS for better control.</p><h3>Need Placeholder Images? Use <a href="https://picsum.photos/">Picsum</a></h3><p>Sometimes during development, we don’t have actual images.<br> Here’s where <a href="https://picsum.photos/"><strong>Picsum</strong></a> helps!</p><p>Example to load a random placeholder image:</p><pre>&lt;img src=&quot;https://picsum.photos/400/300&quot; alt=&quot;Random image&quot; /&gt;</pre><p>Every time you refresh, a new image appears.</p><h3>Making an Image Clickable</h3><p>You can wrap the image inside an &lt;a&gt; tag to create an image hyperlink:</p><pre>&lt;a href=&quot;https://example.com&quot;&gt;<br>  &lt;img src=&quot;images/button.png&quot; alt=&quot;Visit Site&quot; /&gt;<br>&lt;/a&gt;</pre><p>Now clicking the image will take users to the link you set.</p><h3>Summary</h3><ul><li>&lt;img&gt; is a <strong>self-closing</strong> tag to embed images</li><li>Use src to set the image path and alt for accessibility</li><li>You can define height and width to control size</li><li>Use sites like <strong>Picsum</strong> for placeholder images</li><li>You can make images clickable using &lt;a&gt; tags</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a54588b71429" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding the Anchor (<a>) Tag in HTML – The Hyperlink Hero]]></title>
            <link>https://medium.com/@madhavaraj1111/understanding-the-anchor-a-tag-in-html-the-hyperlink-hero-fb36ab9862a6?source=rss-44dc50e76eb5------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb36ab9862a6</guid>
            <category><![CDATA[link-tag]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[hypertext]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[anchor-tag]]></category>
            <dc:creator><![CDATA[Madhavaraj C]]></dc:creator>
            <pubDate>Wed, 11 Jun 2025 18:23:30 GMT</pubDate>
            <atom:updated>2025-06-13T16:15:34.829Z</atom:updated>
            <content:encoded><![CDATA[<h3>7. Understanding the Anchor (&lt;a&gt;) Tag in HTML – The Hyperlink Hero</h3><p>When building web pages, one of the most powerful elements in HTML is the <strong>anchor tag (</strong><strong>&lt;a&gt;)</strong>. It&#39;s what makes the <strong>&quot;Hyper&quot; in Hypertext Markup Language</strong> meaningful — by linking to different destinations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Qb2EbEHBmP_2UB6P" /></figure><p>Let’s dive into why it matters and how to use it effectively.</p><h3>What Is the Anchor Tag?</h3><p>The &lt;a&gt; tag is used to create <strong>links</strong> in HTML documents — links that can point to:</p><ul><li>Another website</li><li>A different page within your own site</li><li>A downloadable file</li><li>Or even a specific section within the same document</li></ul><p>Here’s a basic example:</p><pre>&lt;a href=&quot;https://www.w3schools.com&quot;&gt;Learn HTML&lt;/a&gt;</pre><p>This will appear as a clickable link: <strong>Learn HTML</strong>. When clicked, it takes you to the W3Schools HTML page.</p><h3>Why Is It Called “Anchor”?</h3><p>You might wonder: <em>Why not call it the </em><strong><em>link tag</em></strong><em>?</em><br> That’s a fair question. It’s called the <strong>anchor</strong> tag because it anchors the link destination either:</p><ul><li><strong>Externally</strong> (outside the current page), or</li><li><strong>Internally</strong> (within the same document — known as fragment linking)</li></ul><p>For example:</p><pre>&lt;p&gt;I love &lt;a href=&quot;https://developer.mozilla.org&quot;&gt;HTML&lt;/a&gt;&lt;/p&gt;</pre><p>This links just the word <strong>HTML</strong> inside the paragraph — making it interactive.</p><h3>What Is href?</h3><p>The href attribute stands for <strong>Hypertext REFerence</strong>.<br>It tells the browser <strong>where to go</strong> when the link is clicked.</p><pre>&lt;a href=&quot;https://example.com&quot;&gt;Visit Example&lt;/a&gt;</pre><p>🔗 <strong>Note:</strong> Without an href, the &lt;a&gt; tag won’t do much.</p><h3>Anchor Tag Attributes</h3><p>HTML allows us to enhance the behavior of the anchor tag using <strong>attributes</strong>.</p><p>Common attributes for &lt;a&gt;:</p><ul><li>href → Specifies the destination URL (e.g., href=&quot;https://example.com&quot;).</li><li>target=&quot;_blank&quot; → Opens the link in a new browser tab.</li><li>title → Displays a tooltip when the user hovers over the link (great for accessibility).</li><li>rel → Defines the link’s relationship (e.g., rel=&quot;noopener&quot; for security with target=&quot;_blank&quot;).</li><li>download → Forces the link to download a file instead of navigating (e.g., download=&quot;report.pdf&quot;).</li></ul><p><em>Combined them!</em> <strong>Example</strong>:</p><pre>&lt;a href=&quot;guide.pdf&quot; download title=&quot;Download PDF&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;Get the Guide&lt;/a&gt;</pre><h3>Global Attributes</h3><p>The anchor tag also accepts <strong>global attributes</strong> that are common to all HTML elements:</p><ul><li>id</li><li>class</li><li>style</li><li>draggable=&quot;true/false&quot;</li><li>hidden</li></ul><pre>&lt;a href=&quot;#&quot; draggable=&quot;false&quot;&gt;Unmovable Link&lt;/a&gt;</pre><h3>Anchor Tag in Lists &amp; Navigation</h3><p>Anchor tags are commonly used inside list elements to build navigation menus:</p><pre>&lt;ul&gt;<br>  &lt;li&gt;&lt;a href=&quot;https://facebook.com&quot;&gt;Facebook&lt;/a&gt;&lt;/li&gt;<br>  &lt;li&gt;&lt;a href=&quot;https://twitter.com&quot;&gt;Twitter&lt;/a&gt;&lt;/li&gt;<br>&lt;/ul&gt;</pre><p>This structure is seen in almost every website’s navbar or footer.</p><h3>Final Thoughts</h3><p>The &lt;a&gt; tag might seem simple at first glance, but it’s a <strong>cornerstone</strong> of how the web works.<br> Without it, the internet wouldn’t be “interconnected” at all.</p><blockquote><em>A good website uses anchor tags not just to link, but to </em><strong><em>guide users through a meaningful journey.</em></strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb36ab9862a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Understanding Lists in HTML: Ordered, Unordered & Nested]]></title>
            <link>https://medium.com/@madhavaraj1111/understanding-lists-in-html-ordered-unordered-nested-0a1d2829ef85?source=rss-44dc50e76eb5------2</link>
            <guid isPermaLink="false">https://medium.com/p/0a1d2829ef85</guid>
            <category><![CDATA[unordered-list]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[ordered-list]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[lists]]></category>
            <dc:creator><![CDATA[Madhavaraj C]]></dc:creator>
            <pubDate>Wed, 11 Jun 2025 16:07:11 GMT</pubDate>
            <atom:updated>2025-06-13T16:14:39.828Z</atom:updated>
            <content:encoded><![CDATA[<h3>6. 📋 Understanding Lists in HTML: Ordered, Unordered &amp; Nested</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HRA9U1hhlyZEHA-D" /></figure><p>In everyday life, we always use lists — whether taking a brief note on a <strong>shopping list</strong> or highlighting our <strong>skills on a resume</strong>.<br>For example:</p><p>🛒 <strong>Shopping List</strong></p><ul><li>Vegetables</li><li>Eggs</li><li>Bread</li></ul><p>📄 <strong>Resume Skills List</strong><br> Languages:</p><ol><li>C</li><li>C++</li><li>Java</li><li>JavaScript</li><li>Python</li></ol><p>These examples show how important lists are in organizing information. Similarly, <strong>HTML provides list elements</strong> to help structure content on web pages effectively.</p><h3>Types of Lists in HTML</h3><p>HTML mainly offers <strong>two types of lists</strong>:</p><h3><strong>1. Ordered List (</strong><strong>&lt;ol&gt;)</strong></h3><p>An <strong>ordered list</strong> displays items in a specific sequence — <strong>numbered, alphabetically, </strong>or in <strong>Roman numerals.</strong></p><pre>&lt;ol&gt;<br>  &lt;li&gt;C&lt;/li&gt;<br>  &lt;li&gt;C++&lt;/li&gt;<br>  &lt;li&gt;Java&lt;/li&gt;<br>  &lt;li&gt;JavaScript&lt;/li&gt;<br>  &lt;li&gt;Python&lt;/li&gt;<br>&lt;/ol&gt;</pre><p>The <strong>output</strong> will look like:</p><ol><li>C</li><li>C++</li><li>Java</li><li>JavaScript</li><li>Python</li></ol><blockquote>You can also customize the numbering type using the type attribute:</blockquote><pre>&lt;ol type=&quot;A&quot;&gt;  &lt;!-- A, a, I, i, 1 --&gt;<br>  &lt;li&gt;Item 1&lt;/li&gt;<br>  &lt;li&gt;Item 2&lt;/li&gt;<br>&lt;/ol&gt;</pre><h3>2. Unordered List (&lt;ul&gt;)</h3><p>An <strong>unordered list</strong> uses <strong>symbols</strong> like bullets instead of numbers. It’s perfect when the order doesn’t matter.</p><pre>&lt;ul&gt;<br>  &lt;li&gt;Vegetables&lt;/li&gt;<br>  &lt;li&gt;Eggs&lt;/li&gt;<br>  &lt;li&gt;Bread&lt;/li&gt;<br>&lt;/ul&gt;</pre><p><strong>Output:</strong></p><ul><li>Vegetables</li><li>Eggs</li><li>Bread</li></ul><blockquote>The type attribute lets you change bullet styles :</blockquote><pre>&lt;ul type=&quot;square&quot;&gt;<br>  &lt;li&gt;Milk&lt;/li&gt;<br>  &lt;li&gt;Coffee&lt;/li&gt;<br>&lt;/ul&gt;</pre><h3>3.Nested Lists (Lists Inside Lists)</h3><p>You can <strong>combine ordered and unordered lists</strong> to create nested (indented) structures. For example, listing programming skills with subcategories:</p><pre>&lt;ol&gt;<br>  &lt;li&gt;Languages&lt;/li&gt;<br>  &lt;li&gt;Web Development<br>    &lt;ul&gt;<br>      &lt;li&gt;HTML&lt;/li&gt;<br>      &lt;li&gt;CSS&lt;/li&gt;<br>      &lt;li&gt;JavaScript&lt;/li&gt;<br>    &lt;/ul&gt;<br>  &lt;/li&gt;<br>  &lt;li&gt;Tools&lt;/li&gt;<br>&lt;/ol&gt;</pre><p>Output:</p><ol><li>Languages</li><li>Web Development</li></ol><ul><li>HTML</li><li>CSS</li><li>JavaScript</li></ul><blockquote><strong><em>Note:</em></strong><em> Always nest </em><em>&lt;ul&gt; or </em><em>&lt;ol&gt; </em><strong><em>within a </em></strong><strong><em>&lt;li&gt;</em></strong><em> to ensure valid HTML structure.</em></blockquote><h3>When to Use Each Type?</h3><ul><li>Use <strong>ordered lists</strong> when the sequence matters (e.g., instructions, rankings).</li><li>Use <strong>unordered lists</strong> when the sequence doesn’t matter (e.g., features, items).</li><li>Use <strong>nested lists</strong> when grouping items under categories.</li></ul><h3>Final Thoughts</h3><p>Lists are a simple and effective way to organize content on a web page. Using &lt;ol&gt;, &lt;ul&gt;, and nested lists helps structure information clearly, making it easier for users to read and understand.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0a1d2829ef85" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HTML Boilerplate Explained — A Beginner’s Guide to the Essential Starter Code]]></title>
            <link>https://medium.com/@madhavaraj1111/html-boilerplate-explained-a-beginners-guide-to-the-essential-starter-code-a731a4db2787?source=rss-44dc50e76eb5------2</link>
            <guid isPermaLink="false">https://medium.com/p/a731a4db2787</guid>
            <category><![CDATA[html]]></category>
            <category><![CDATA[boilerplate]]></category>
            <category><![CDATA[basics]]></category>
            <category><![CDATA[code]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Madhavaraj C]]></dc:creator>
            <pubDate>Tue, 10 Jun 2025 17:35:19 GMT</pubDate>
            <atom:updated>2025-06-13T16:14:25.028Z</atom:updated>
            <content:encoded><![CDATA[<h3>5. HTML Boilerplate Explained — A Beginner’s Guide to the Essential Starter Code</h3><h3>What is a Boilerplate?</h3><p>A boilerplate is like a ready-to-use template for your HTML document. Just like every email starts with “Dear [Name]” and ends with “Best regards,” every HTML file needs a basic structure so browsers can display it correctly.</p><h3>The Basic HTML Boilerplate</h3><p>Here’s the standard structure every HTML file should have:</p><pre>&lt;!DOCTYPE html&gt;<br>&lt;html lang=&quot;en&quot;&gt;<br>&lt;head&gt;<br>    &lt;meta charset=&quot;UTF-8&quot;&gt;<br>    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;<br>    &lt;title&gt;My Webpage&lt;/title&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br>    &lt;!-- Your content (text, images, buttons) goes here --&gt;<br>&lt;/body&gt;<br>&lt;/html&gt;</pre><h3>Breaking It Down</h3><h4>1. &lt;!DOCTYPE html&gt;</h4><ul><li>This tells the browser: <em>“Hey, this is an HTML5 document!”</em></li><li>Always put this first in your file.</li></ul><h4>2. &lt;html lang=&quot;en&quot;&gt;</h4><ul><li>This is the root of your webpage.</li><li>lang=&quot;en&quot; means the page is in English. Change it if needed (e.g., lang=&quot;es&quot; for Spanish).</li></ul><h4>3. &lt;head&gt; Section (Hidden Info)</h4><p>This part contains important settings but doesn’t show up on the page itself.</p><blockquote>&lt;meta charset=&quot;UTF-8&quot;&gt;</blockquote><ul><li>Ensures your text displays correctly (supports all languages, emojis, etc.).</li></ul><blockquote>&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;</blockquote><ul><li>Makes your website look good on phones and tablets.</li></ul><blockquote>&lt;title&gt;</blockquote><ul><li>The name that appears in the browser tab (like “Google” or “YouTube”).</li></ul><h4>4. &lt;body&gt; Section (Visible Content)</h4><ul><li>Everything you see on the webpage (text, images, buttons) goes here.</li></ul><h3>Quick Tip: How to Generate It Fast</h3><p>In VS Code (a popular code editor), just type:</p><ol><li>! (exclamation mark)</li><li>Press Tab or Enter</li></ol><p>It will automatically create the full boilerplate for you!</p><h3>Why Do We Need This?</h3><ul><li>Without it, your webpage might break in some browsers.</li><li>Helps search engines (like Google) understand your page.</li><li>Makes sure your site works well on mobile phones.</li></ul><h3>Final Thought</h3><p>Think of the HTML boilerplate like the foundation of a house. You <em>could</em> build without it, but it’s risky and messy. Always start with this structure!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1AtegeEXrJCi_W-0" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a731a4db2787" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Void Elements in HTML: The Self-Closing Tags]]></title>
            <link>https://medium.com/@madhavaraj1111/understanding-void-elements-in-html-the-self-closing-tags-d4334c07133e?source=rss-44dc50e76eb5------2</link>
            <guid isPermaLink="false">https://medium.com/p/d4334c07133e</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[tag]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[elements]]></category>
            <category><![CDATA[void]]></category>
            <dc:creator><![CDATA[Madhavaraj C]]></dc:creator>
            <pubDate>Tue, 10 Jun 2025 15:05:13 GMT</pubDate>
            <atom:updated>2025-06-13T16:14:09.687Z</atom:updated>
            <content:encoded><![CDATA[<h3>4. Understanding Void Elements in HTML: The Self-Closing Tags</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/0*XoK1nkANX2v9k5wQ" /></figure><p>When learning HTML, one of the first concepts you encounter is that most elements require both an opening and closing tag with content in between. However, there’s a special category of elements that break this rule — void elements.</p><p><strong>What Are Void Elements?</strong></p><p>Void elements (also called self-closing or empty elements) are HTML tags that don’t require closing tags or content between tags. These elements represent single, standalone components in a document that don’t wrap any content.</p><h3>The Anatomy of Void Elements</h3><p>Traditional HTML elements look like this:</p><pre>&lt;h1&gt;This is a heading&lt;/h1&gt;<br>&lt;p&gt;This is a paragraph with content.&lt;/p&gt;</pre><p>Void elements, on the other hand, combine the opening and closing into one tag:</p><pre>&lt;hr/&gt;  &lt;!-- Horizontal rule --&gt;<br>&lt;br/&gt;  &lt;!-- Line break --&gt;</pre><p>Notice that the forward slash appears after the tag name in void elements, unlike closing tags where it appears before.</p><h3>Common Void Elements and Their Uses</h3><p><strong>1. </strong>&lt;hr/&gt; - Horizontal Rule<br>Creates a thematic break between sections of content.</p><p><strong>2. </strong>&lt;br/&gt; - Line Break<br>Forces a line break within text. Perfect for poetry or addresses:</p><pre>&lt;p&gt;Twinkle twinkle little star&lt;br/&gt;<br>How I wonder what you are&lt;br/&gt;<br>Up above the world so high&lt;br/&gt;<br>Like a diamond in the sky&lt;/p&gt;</pre><p><strong>3. </strong>&lt;img/&gt; - Image<br>Embeds an image into the document (used with src attribute).</p><p><strong>4. </strong>&lt;input/&gt; - Form Input<br>Creates interactive controls for web forms.</p><h3>A Common Beginner Mistake</h3><p>Many beginners misuse paragraph tags to create line breaks:</p><pre>&lt;!-- Wrong approach --&gt;<br>&lt;p&gt;Line one&lt;/p&gt;<br>&lt;p&gt;Line two&lt;/p&gt;<br>&lt;p&gt;Line three&lt;/p&gt;<br><br>&lt;!-- Correct approach --&gt;<br>&lt;p&gt;Line one&lt;br/&gt;<br>Line two&lt;br/&gt;<br>Line three&lt;/p&gt;</pre><p>Using multiple &lt;p&gt; tags for visual line breaks is semantically incorrect and makes your HTML structure messy.</p><h3>Modern HTML and Void Elements</h3><p>In HTML5, the syntax became more flexible:</p><ul><li>&lt;br&gt; is valid (no slash needed)</li><li>&lt;br/&gt; is also acceptable</li><li>&lt;br /&gt; (with space) works too</li></ul><p>While the slash is optional in modern HTML, including it can improve readability and help distinguish void elements, especially for those learning HTML.</p><h3>Why Void Elements Matter</h3><p><strong>Cleaner Code </strong>— No unnecessary closing tags cluttering your HTML.<br><strong>Better Performance</strong> — Fewer DOM nodes mean faster page rendering.<br><strong>Accessibility </strong>— Screen readers understand proper structure when tags are used correctly.</p><p>⚠ <strong><em>Remember</em></strong><em>: </em>Void elements cannot contain content or nested elements. Browsers will ignore invalid attempts.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d4334c07133e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>