Best Tutorial for AndroidDevelopers

Android App Development

Stay ahead with the latest tools, trends, and best practices in Android development

Hidden HTML Tricks Beginners Never Learn

Hidden HTML Tricks Beginners Never Learn - Responsive Blogger Template
html tags tutorial thumbnail

Hidden HTML Tricks Beginners Never Learn:

HTML Tags That Feel Like Magic

Most beginners learn the same HTML tags first.

Headings, paragraphs, links, images, divs…

And while those are important, there are some hidden HTML tags that many tutorials barely mention.

The surprising part?

These tags can make your website feel more interactive without using JavaScript.

Yes, plain HTML can do more than many beginners think.

In this article, we will explore five underrated HTML tags that are practical, beginner-friendly, and honestly fun to use:

  • details
  • summary
  • progress
  • meter
  • dialog

Let’s see why these hidden HTML tricks deserve more attention.


1. The <details> Tag – Create Expandable Content

Imagine creating an FAQ section where users click a question and the answer opens automatically.

Many beginners think this needs JavaScript.

Actually, HTML already has a built-in solution.

Example:


<details>
    <summary>What is HTML?</summary>

    <p>
        HTML stands for HyperText Markup Language.
        It helps structure web pages.
    </p>
</details>

What happens?

The content stays hidden until someone clicks the title.

Perfect for:

  • FAQ sections
  • Tutorials
  • Notes
  • Hidden tips
  • Product descriptions

Example use case:


<details>
    <summary>Read Beginner Tip</summary>

    <p>
        Practice small projects daily instead of only watching tutorials.
    </p>
</details>

Beginner Mistake

Some beginners place text directly inside <details> without a proper summary heading. Always combine it with <summary> for a better experience.


2. The <summary> Tag – The Clickable Title

The summary tag works together with <details>. Think of it as the clickable heading.

Example:


<details>
    <summary>Show Course Details</summary>

    <p>
        This course teaches HTML basics with projects.
    </p>
</details>

Without <summary>, users may not clearly understand what they are opening.

Best uses:

  • Dropdown explanations
  • Expandable menus
  • Help sections
  • FAQs

Beginner Mistake

Writing long paragraphs inside summary.

Bad:


<summary>
This is a very long explanation that becomes confusing
</summary>

Better:


<summary>
Show Details
</summary>

Keep it short and clickable.


3. The <progress> Tag – Show Loading or Completion Progress

Want to show progress without CSS or JavaScript?

Use the progress tag.

Example:


<progress value="60" max="100"></progress>

This shows a progress bar at 60%.

Example in a course website:


<p>HTML Course Progress</p>

<progress value="75" max="100"></progress>

Practical uses:

  • Course completion tracking
  • File uploads
  • Download status
  • Learning progress

Beginner Mistake

Forgetting the max value.

Bad:


<progress value="20"></progress>

Better:


<progress value="20" max="100"></progress>

This makes progress clearer.


4. The <meter> Tag – Display Scores or Levels

Many beginners confuse meter with progress.

But they are different.

progress = completion progress
meter = measurement level

Example:


<meter value="7" min="0" max="10"></meter>

Imagine rating battery life:


<p>Battery Level</p>

<meter value="80" min="0" max="100"></meter>

Or skill rating:


<p>HTML Skill</p>

<meter value="8" min="0" max="10"></meter>

Useful for:

  • Ratings
  • Health indicators
  • Storage level
  • Performance score

Beginner Mistake

Using meter when progress makes more sense.

Wrong:

Showing course completion with meter.

Correct:

Use progress for completion.


5. The <dialog> Tag – Create Popup Boxes Without JavaScript

This one surprises many beginners.

HTML can create dialogs (popup windows).

Example:


<dialog open>
    <p>Welcome to my website!</p>

    <button>Close</button>
</dialog>

The open attribute makes it visible immediately.

Possible uses:

  • Welcome messages
  • Notifications
  • Login popups
  • Alerts

Example:


<dialog open>
    <h2>Important Notice</h2>

    <p>
        New HTML lessons are available.
    </p>
</dialog>

Beginner Mistake

Thinking dialog replaces every popup system.

For advanced popups, JavaScript is still useful. But for simple projects, this tag is surprisingly powerful.


Why Most Beginners Never Learn These Tags

The truth is simple:

Many tutorials only teach the basics.

You often see endless lessons about:


<div>
<span>
<h1>
<p>

But hidden HTML features are ignored.

Learning these lesser-known tags can make your beginner projects feel more modern and interactive.

And the best part?

No complicated JavaScript required.


Quick Comparison Table

Tag Purpose
details Expand/collapse content
summary Clickable heading for details
progress Show completion progress
meter Show measurement or score
dialog Create popup windows

Beginner Practice Challenge

Try building a mini webpage using all five tags.

For example:

  • FAQ using details
  • Skill rating using meter
  • Learning progress using progress
  • Welcome popup using dialog

You will learn much faster by experimenting.


Final Thoughts

HTML has many hidden features beginners rarely discover.

The good news?

You do not need fancy frameworks or complicated JavaScript to make pages feel interactive.

Sometimes, simple built-in HTML tags are enough.

Sandeep Kumar - Android Developer

About the Author

Sandeep Kumar is an Android developer and educator who writes beginner-friendly Jetpack Compose tutorials on CodingBihar.com. His focus is on clean UI, Material Design 3, and real-world Android apps.

SkillDedication

— Python High Level Programming Language- Expert-Written Tutorials, Projects, and Tools—

Coding Bihar

Welcome To Coding Bihar👨‍🏫