<?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 Omojibolaorija on Medium]]></title>
        <description><![CDATA[Stories by Omojibolaorija on Medium]]></description>
        <link>https://medium.com/@omojibolaorija?source=rss-8c9663d9587e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*l9UkQnL_9Z4Cw1yO.jpg</url>
            <title>Stories by Omojibolaorija on Medium</title>
            <link>https://medium.com/@omojibolaorija?source=rss-8c9663d9587e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 14:51:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@omojibolaorija/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[Why HTML Semantics Still Matters in 2025]]></title>
            <link>https://medium.com/@omojibolaorija/why-html-semantics-still-matters-in-2025-b6b9ef2c4de4?source=rss-8c9663d9587e------2</link>
            <guid isPermaLink="false">https://medium.com/p/b6b9ef2c4de4</guid>
            <category><![CDATA[frontend-development]]></category>
            <dc:creator><![CDATA[Omojibolaorija]]></dc:creator>
            <pubDate>Mon, 16 Jun 2025 01:46:33 GMT</pubDate>
            <atom:updated>2025-06-16T01:46:33.529Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hGXHzr6PqR4GFU7SbDygcA.png" /></figure><p>In a world driven by both humans and machines, the way we write HTML is more important than ever. As we navigate 2025, HTML is no longer just code for the browser — it’s a language that speaks to search engines, screen readers, and AI systems alike. Here’s why semantic HTML still matters.</p><p><strong>The Rise of Machine Readers</strong></p><p>The web is more than code; it is a written language with meaning, structure, and intent. The question today is not just <em>who</em> is reading your content, but <em>what</em> is. Search engines, screen readers, AI models, and voice assistants now routinely scan, interpret, and act on your HTML.</p><p>Semantic HTML goes beyond correct syntax — it’s meaningful communication. Tags like &lt;nav&gt;, &lt;main&gt;, or &lt;button&gt; signal purpose, not just presentation. Writing HTML today means writing for a dual audience: human and machine.</p><p><strong>What Are HTML Semantics?</strong></p><p>HTML semantics is the practice of using HTML elements according to their intended meaning. For example:</p><pre>&lt;article&gt;<br>  &lt;header&gt;<br>    &lt;h1&gt;10 Benefits of Morning Workouts&lt;/h1&gt;<br>    &lt;p&gt;By Jane Doe&lt;/p&gt;<br>  &lt;/header&gt;<br>  &lt;p&gt;Working out in the morning can boost energy, metabolism, and mood...&lt;/p&gt;<br>&lt;/article&gt;</pre><p>Compare this with a non-semantic version:</p><pre>&lt;div class=&quot;post&quot;&gt;<br>  &lt;div class=&quot;title&quot;&gt;10 Benefits of Morning Workouts&lt;/div&gt;<br>  &lt;div class=&quot;author&quot;&gt;By Jane Doe&lt;/div&gt;<br>  &lt;div class=&quot;content&quot;&gt;Working out in the morning can boost energy...&lt;/div&gt;<br>&lt;/div&gt;</pre><p><strong>HTML as a Language of Meaning, Not Just Markup</strong></p><p>When Tim Berners-Lee envisioned how the World Wide Web would be, his goal was not to build a visual design tool; it was actually to create a system where everyone could share their ideas. HTML, in its original intent, was not supposed to be a UI layout engine. It was a document format, a way to structure ideas.</p><p>Early HTML was more about semantics; its main focus was on the meaning of content, not just its appearance or layout. Tags like &lt;nav&gt;, &lt;main&gt;, or &lt;button&gt; weren’t randomly chosen or purely technical. They were intentionally named to represent parts of a typical human-readable document.</p><p><strong>The Philosophy of Semantics: Meaning vs Appearance</strong></p><p>Semantic HTML isn’t just about how things look. It’s about what they mean.<br>Using a tag like &lt;section&gt; or &lt;article&gt; instead of a generic &lt;div&gt; shows something deeper: that this part of the page has a specific role or meaning in the overall structure of the content.</p><blockquote>HTML lets us choose tags that express what something is, not just how it should look in a browser.</blockquote><p><strong>When Machines Became Our Readers</strong></p><p>In 2025, the web is no longer a medium for humans alone. Much of it content is been interpreted by non-human agents, search engine crawlers, screen readers, voice assistants, and AI models. These machines don’t “see” the web the way we do. They read its structure. They listen to its semantics.</p><p>When you use semantic tags, you are not just helping Google, you are feeding the data-hungry machine learning algorithms that drive generative search, content recommendations, and automated summarization.</p><p>If your page uses &lt;div&gt;s and &lt;span&gt;s for everything, AI has to <em>guess</em> what’s a heading, a paragraph, or a button. With semantic HTML, it <em>knows</em>.</p><p><strong>SEO in the Era of Zero-Click Search</strong></p><p>People often get answers directly from Google without visiting a website via snippets, summaries, and AI responses. These features depend heavily on structured data and semantic HTML.</p><p><strong>Tags that help:</strong></p><ul><li>&lt;article&gt;, &lt;header&gt;, &lt;footer&gt;</li><li>&lt;h1&gt; to &lt;h6&gt; for headings</li><li>&lt;section&gt;, &lt;main&gt;, &lt;aside&gt;</li></ul><p>If your HTML clearly shows the structure and purpose of your content, search engines are more likely to:</p><ul><li>Understand it correctly.</li><li>Highlight it in results.</li><li>Drive more visibility to your site, even if users don’t click.</li></ul><p><strong>Accessibility Is Non-Negotiable</strong></p><p>A &lt;button&gt;and a &lt;div onClick&gt;might look the same, and both can also be styled to look clickable. But under the hood, they are not the same.</p><p>A &lt;button&gt;is a native interactive element. It’s automatically focusable, keyboard-navigable, recognized by screen readers and automatically supports ARIA roles. A &lt;div onClick&gt;, on the other hand, is not visible to many accessibility tools unless you manually add extra code. That’s extra friction, and it’s often overlooked.</p><p>So when you choose a semantic tag, like &lt;button&gt;, &lt;nav&gt;, or &lt;main&gt;, you are consciously choosing to include people who rely on screen readers, keyboard navigation, and other assistive technologies.</p><pre>&lt;!-- Accessible --&gt;<br>&lt;button&gt;Submit&lt;/button&gt;<br><br>&lt;!-- Inaccessible unless extra work is done --&gt;<br>&lt;div onClick=&quot;submitForm()&quot;&gt;Submit&lt;/div&gt;</pre><p>In 2025, with increasing awareness of digital inclusion, accessibility is a responsibility.</p><p><strong>Design Systems vs Document Models</strong></p><p>Today’s web development is dominated by JavaScript frameworks like React and Vue. These libraries and frameworks bring power, reusability, and speed, but one thing that we are not paying attention to is that they also shift how we think about HTML.</p><p>When we are working with components and JSX, it is easy to forget the underlying structure of the web. All of a sudden, everything becomes a &lt;div&gt; or a &lt;span&gt;, used more for layout than meaning.</p><p>But beneath all these abstractions lies the same foundation: the DOM, the Document Object Model. That word <em>document</em> still matters. HTML was built for documents with structure and meaning, not just interactive UIs.</p><pre>// Less semantic<br>&lt;div className=&quot;nav&quot;&gt;Home&lt;/div&gt;<br><br>// Better<br>&lt;nav&gt;<br>  &lt;a href=&quot;/&quot;&gt;Home&lt;/a&gt;<br>&lt;/nav&gt;</pre><blockquote>Always remember: underneath every component lies the <strong>DOM</strong> — the Document Object Model. HTML is still the document structure. Let’s treat it that way.</blockquote><p><strong>Semantics and Longevity</strong></p><p>Think about old websites or blogs from the 2000s that are still accessible and understandable today. The reason is that they used solid, semantic HTML. Even as styles broke or JavaScript failed, the content and structure held up.<br>One day, your site will be read by a machine you never imagined, or preserved in a digital archive.</p><blockquote>Semantic HTML is your message in a bottle — clear, resilient, and readable by future machines and systems.</blockquote><p>Writing semantic HTML is like sending a clear, structured message into the future. It ensures your site’s meaning and intent live on, readable not just by today’s users, but by tomorrow’s technologies.</p><p><strong>The Web Deserves Careful Language</strong></p><p>The web is not just a bunch of files and styles; in reality, it is a living, ever-evolving archive of human thought, creativity, and communication. Every page, every tag, every bit of structure is for a particular purpose. Just like we care for public parks or libraries, we have a responsibility to care for the structure of the web.</p><p><em>Semantic HTML is how we do that.</em></p><p>It’s the grammar we use to pass meaning, not just to users with screens, but to machines, search engines, assistive technologies, and future readers.</p><p>To write semantic HTML is to speak truthfully to the invisible reader, the one who does not see what you see, but understands what you mean.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b6b9ef2c4de4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>