<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Alo Ndubuisi</title>
    <description>The latest articles on DEV Community by Alo Ndubuisi (@alondubuisi).</description>
    <link>https://dev.to/alondubuisi</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1005334%2F911848e9-6518-4492-a70f-d02bc86486e0.jpg</url>
      <title>DEV Community: Alo Ndubuisi</title>
      <link>https://dev.to/alondubuisi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/alondubuisi"/>
    <language>en</language>
    <item>
      <title>A BEGINNERS APPROACH TO USING HTML SEMANTIC TAGS</title>
      <dc:creator>Alo Ndubuisi</dc:creator>
      <pubDate>Thu, 17 Jul 2025 21:50:38 +0000</pubDate>
      <link>https://dev.to/alondubuisi/a-beginners-approach-to-using-html-semantic-tags-2h4k</link>
      <guid>https://dev.to/alondubuisi/a-beginners-approach-to-using-html-semantic-tags-2h4k</guid>
      <description>&lt;p&gt;A Beginner’s Approach to Using HTML Semantic Tags&lt;br&gt;
Writing clean and meaningful HTML is more than just a good habit—it’s the foundation of accessible, SEO-friendly, and well-structured web pages.&lt;/p&gt;

&lt;p&gt;👋 Introduction&lt;br&gt;
If you're just starting out in web development, chances are you've come across terms like &lt;/p&gt;, &lt;span&gt;, and other elements that seem to do everything. But have you ever wondered what makes a website accessible, search-engine friendly, and easier to maintain?

&lt;p&gt;Answer: Semantic HTML.&lt;/p&gt;

&lt;p&gt;In this article, we’ll explore what semantic tags are, why they matter, and how beginners can confidently start using them in real-world projects.&lt;br&gt;
🔍 What Are Semantic Tags?&lt;br&gt;
Semantic HTML refers to the use of HTML tags that clearly describe their meaning—both to the browser and to the developer.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
✅  defines a page or section header.&lt;br&gt;
✅  represents a standalone piece of content.&lt;br&gt;
✅  defines a footer for a section or the entire page.&lt;/p&gt;

&lt;p&gt;Compare that with:&lt;br&gt;
❌ &lt;/p&gt;, which works, but doesn’t tell the browser or screen readers much about its purpose.&lt;br&gt;
🎯 Why Use Semantic Tags?&lt;br&gt;
✅ 1. Improved Accessibility&lt;br&gt;
Screen readers and assistive technologies can better understand the structure of a semantic page.&lt;br&gt;
✅ 2. Better SEO&lt;br&gt;
Search engines prioritize well-structured content. Semantic tags give context to your page, helping bots index your site more effectively.&lt;br&gt;
✅ 3. Clean and Maintainable Code&lt;br&gt;
Semantic tags make your code more readable for you and your team.&lt;br&gt;
🧱 Common Semantic Tags Every Beginner Should Know&lt;br&gt;
Tag&lt;br&gt;
For images and their captions

Highlights or emphasizes text

💡 Real Example: Semantic vs Non-Semantic
❌ Non-Semantic HTML:

  
    &lt;ul&gt;
      &lt;li&gt;Home&lt;/li&gt;
      &lt;li&gt;About&lt;/li&gt;
    &lt;/ul&gt;
  

✅ Semantic HTML:

  
    &lt;ul&gt;
      &lt;li&gt;Home&lt;/li&gt;
      &lt;li&gt;About&lt;/li&gt;
    &lt;/ul&gt;
  


&lt;p&gt;🧭 Tips for Beginners&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Don’t Overuse  and  – Use them meaningfully.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Validate Your HTML – Use W3C Validator to check your code.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Use ARIA Roles When Needed – But don’t overdo it; semantic tags already carry meaning.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Practice Refactoring – Replace divs and spans in older code with semantic tags where appropriate.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Final Thoughts&lt;br&gt;
Learning to use HTML semantic elements early in your journey will help you write cleaner, more professional, and future-proof code. Whether you're building a portfolio, a blog, or a business site, semantic HTML is your friend.&lt;/p&gt;

&lt;p&gt;📚 Helpful Resources&lt;br&gt;
• HTML5 Semantic Elements on MDN: &lt;a href="https://developer.mozilla.org/en-US/docs/Glossary/Semantics" rel="noopener noreferrer"&gt;https://developer.mozilla.org/en-US/docs/Glossary/Semantics&lt;/a&gt;&lt;br&gt;
• W3C HTML Specification: &lt;a href="https://www.w3.org/TR/html/" rel="noopener noreferrer"&gt;https://www.w3.org/TR/html/&lt;/a&gt;&lt;br&gt;
• HTML Validator: &lt;a href="https://validator.w3.org/" rel="noopener noreferrer"&gt;https://validator.w3.org/&lt;/a&gt;&lt;/p&gt;


Description


Top section of a page or section

Navigation links

Main content of the page

A distinct section of content

A self-contained block (like a blog post)

Sidebar or additional info

Bottom of page or section
 &amp;amp; &lt;/span&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
