<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Html on The Coders Blog</title><link>https://thecodersblog.com/tag/html/</link><description>Recent content in Html on The Coders Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 06 May 2026 22:07:48 +0000</lastBuildDate><atom:link href="https://thecodersblog.com/tag/html/index.xml" rel="self" type="application/rss+xml"/><item><title>Building Websites With Many Little HTML Pages: A Practical Approach</title><link>https://thecodersblog.com/building-websites-with-many-small-html-pages-2026/</link><pubDate>Wed, 06 May 2026 22:07:48 +0000</pubDate><guid>https://thecodersblog.com/building-websites-with-many-small-html-pages-2026/</guid><description>&lt;p&gt;Tired of the JavaScript-heavy complexity that plagues modern web development, turning simple content sites into performance nightmares? It&amp;rsquo;s time we revisited a fundamental truth: the web was built on HTML pages.&lt;/p&gt;
&lt;h2 id="the-core-problem-over-reliance-on-javascript-for-basic-interactions"&gt;The Core Problem: Over-Reliance on JavaScript for Basic Interactions&lt;/h2&gt;
&lt;p&gt;We&amp;rsquo;ve become so accustomed to Single-Page Applications (SPAs) and their intricate client-side routing that we often overlook a simpler, more robust approach. For many content-driven websites – blogs, documentation sites, e-commerce catalogs – the need for full-blown JavaScript frameworks to manage navigation, accordions, or even modal pop-ups is overkill. This over-reliance leads to:&lt;/p&gt;</description></item><item><title>Best way to check if a string contains a specific word or substring in JavaScript</title><link>https://thecodersblog.com/if-a-string-contains-a-specific-word/</link><pubDate>Sat, 22 Oct 2022 09:22:49 +0000</pubDate><guid>https://thecodersblog.com/if-a-string-contains-a-specific-word/</guid><description>&lt;p&gt;In this article, we will discuss the best way to check if a string contains a specific word or substring in JavaScript. We will also discuss the different ways to check if a string contains a specific word or substring in JavaScript.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;You can save a picture for quick reference&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="includes"&gt;Includes&lt;/h2&gt;
&lt;p&gt;In JavaScript, we can use the &lt;code&gt;includes()&lt;/code&gt; method to check if a string contains a specific word or substring. The &lt;code&gt;includes()&lt;/code&gt; method returns &lt;code&gt;true&lt;/code&gt; if the string contains the specified substring, otherwise it returns &lt;code&gt;false&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>Best way to get the full URL or query string of current page in JavaScript.</title><link>https://thecodersblog.com/query-string-in-current-page-in-js/</link><pubDate>Sat, 22 Oct 2022 09:20:58 +0000</pubDate><guid>https://thecodersblog.com/query-string-in-current-page-in-js/</guid><description>&lt;p&gt;In this article, we will discuss the best way to get the full URL or query string of current page in JavaScript. We will also discuss the different ways to get the full URL or query string of current page in JavaScript.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;You can save a picture for quick reference&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="windowlocationhref"&gt;window.location.href&lt;/h2&gt;
&lt;p&gt;We can use the &lt;code&gt;window.location.href&lt;/code&gt; property to get the full URL or query string of current page in JavaScript. The &lt;code&gt;window.location.href&lt;/code&gt; property returns the href (URL) of the current page.&lt;/p&gt;</description></item></channel></rss>