Rajesh DhimanRajesh Dhiman
Free AuditServicesCase StudiesProjectsBooksBlogResourcesAboutContact
Book a CallRD
  1. Home
  2. Blog
  3. 10 Rarely Used HTML Tags You Should Start Using Today

10 Rarely Used HTML Tags You Should Start Using Today

RDRajesh Dhiman
October 7, 2024
4 min read
JavaScript & TypeScript
HTML tags
semantic HTML
accessibility
web development
SEO
HTML dialog
HTML progress
HTML meter
HTML details
HTML summary
HTML data
HTML time
HTML output
HTML mark
HTML figure
HTML figcaption
HTML kbd

Introduction: Unlock Hidden HTML Powers

Unlock the potential of HTML with ten special tags that go beyond the usual <div> and <span>. These hidden gems can elevate your web projects by adding unique functionality and improving your site’s structure and accessibility.

Explore these tags in action on CodePen.

Why Use These Lesser-Known Tags?

Using these specific HTML tags instead of generic ones like <div> or <span> has several benefits:

  1. Semantic Clarity: They provide clearer meaning to both the browser and the developer, making the code easier to read and maintain.
  2. Accessibility Improvements: Properly used, these tags make web content more accessible to people using assistive technologies.
  3. Enhanced Functionality: Many of these tags come with built-in behaviors that can simplify the implementation of common web features.
  4. Better SEO: Using semantically correct tags can help improve your website’s SEO by giving search engines more context about your content.

Explore These Powerful HTML Tags

  1. <dialog>: Create modals easily

    • Usage: Click the “Open Dialog” button to see the dialog pop up. You can close it by clicking the “Close” button inside the dialog.
    • Example:
      <dialog id="welcomeDialog">
        <p>Welcome to our website!</p>
        <button onclick="document.getElementById('welcomeDialog').close()">Close</button>
      </dialog> 
  2. <progress>: Show task progress

    • Usage: Demonstrates a progress bar which you can visually style with CSS to fit your design needs.
    • Example:
      <progress id="fileLoadProgress" value="32" max="100"></progress> 
  3. <meter>: Display measurements

    • Usage: Shows how the meter element can be used to display measurements like disk usage.
    • Example:
      <meter min="0" max="100" value="60"></meter> 
  4. <details> and <summary>: Provide expandable information

    • Usage: Click on the “Click to see more details” to expand and view additional information.
    • Example:
      <details>
        <summary>See more details</summary>
        <p>Here you can see more information.</p>
      </details> 
  5. <data>: Link visible text to machine-readable data

    • Example:
      <ul>
        <li><data value="21053">Item One</data></li>
      </ul> 
  6. <time>: Specify dates and times

    • Example:
      <time datetime="2023-10-01">October 1, 2023</time> 
  7. <output>: Show results of calculations

    • Usage: Adjust the range and number inputs to see how the output changes dynamically.
    • Example:
      <form oninput="result.value=parseInt(a.value)+parseInt(b.value)">
        <input type="range" id="a" value="50"> +
        <input type="number" id="b" value="50">
        Output: <output name="result" for="a b">100</output>
      </form> 
  8. <mark>: Highlight important text

    • Example:
      <p>The <mark>important</mark> part is highlighted.</p> 
  9. <figure> and <figcaption>: Add images with captions

    • Usage: Provides a way to group images with captions in a semantically meaningful way.
    • Example:
      <figure>
        <img src="photo.jpg" alt="A beautiful landscape">
        <figcaption>This is a caption for the landscape.</figcaption>
      </figure> 
  10. <kbd>: Indicate keyboard input

    • Example:
      <p>Press <kbd>Ctrl</kbd> + <kbd>C</kbd> to copy text.</p> 

Conclusion: Expand Your HTML Toolkit

By incorporating these tags into your HTML toolkit, you not only enhance the functionality and accessibility of your sites but also improve their structural semantics. Start using these tags to make your web pages stand out and provide a better user experience.

Final Thought

Are you ready to explore the full capabilities of HTML? Integrate these tags into your projects and see the immediate benefits they bring to your web development process.


If you enjoyed this article, consider supporting my work:

  • Buy me a coffee
  • Book a call for mentorship or career advice
  • Follow me on Twitter
  • Connect on LinkedIn
Free field guide

Ship AI features that survive real traffic

Start from the failure modes, choose the smallest architecture that holds up, and instrument the path before you scale it.

No spam, unsubscribe anytime. You will also get instant access on the next screen.

Share this article

TwitterLinkedInFacebook
Buy Me a Coffee
Support my work

If you found this article helpful, consider buying me a coffee to support more content like this.

Buy a Coffee
RD

Written by

Rajesh Dhiman

Founder of Eunix Tech · Author · AI Systems Engineer

I've been building software for over a decade and I'm the founder of Eunix Tech, a software consultancy. I've written two books, the Vibe Coding Survival Guide and the Frontend Interview Guide, plus a set of practical engineering checklists. I spent 4 years at Alloy Automation building integrations for companies like Amazon and Best Buy, and I'm a top-rated mentor on Codementor (5.0 from 26 reviews). Today I rescue failing AI projects, audit AI-generated and no-code apps, and build production-grade automation that delivers measurable ROI.

AboutBooksEunix TechLinkedInGitHubXCodementor

Related Articles

State Management in React: When to Use useState, useReducer, and useRef
State Management in React: When to Use useState, useReducer, and useRef
10/10/2024

Learn when to use useState, useReducer, and useRef for state management in React applications. Discover the best practices and use cases for each React hook to manage state effectively.

How to Make JavaScript Error Handling More Readable with ESLint Rules
How to Make JavaScript Error Handling More Readable with ESLint Rules
10/8/2024

Learn how to improve JavaScript error handling by enforcing ESLint rules that enhance code quality and readability. Discover best practices for error handling and how to set up ESLint for enforcing these practices.

Migrating a Bubble App to Next.js: When, How, Cost and Risk
Migrating a Bubble App to Next.js: When, How, Cost and Risk
10/16/2026

Thinking of moving a Bubble app to Next.js? Here is when it makes sense, the migration steps, what drives cost and timeline, and the risks to plan for.

On this page

  • Introduction: Unlock Hidden HTML Powers
  • Why Use These Lesser-Known Tags?
  • Explore These Powerful HTML Tags
  • Conclusion: Expand Your HTML Toolkit
  • Final Thought
Free field guide

Ship AI features that survive real traffic

Start from the failure modes, choose the smallest architecture that holds up, and instrument the path before you scale it.

No spam, unsubscribe anytime. You will also get instant access on the next screen.

App failing in production or automation that keeps breaking? Book a technical diagnostic →

Rajesh DhimanRajesh Dhiman

© 2026 Eunix Tech

Tickoff, a client link for freelancers (opening 17 Nov)

Free AuditServicesCase StudiesProjectsBooksBlogResourcesMy StackAboutContact