Shape Shape

Unique HTML Tags

Shape
Shape
Shape Shape

Cool HTML Tags You Didn’t Know Existed

Discover cool HTML tags you didn’t know existed and enhance your web development skills. Explore unique HTML tags, hidden HTML elements, and HTML5 uncommon tags.

Shape

Why Explore Lesser-Known HTML Tags?

  • When building a website, many developers stick to familiar HTML tags like <div> , <p> , and <img> . However, HTML is full of hidden HTML elements and cool HTML features that can simplify your code, enhance accessibility, and improve user experience. By learning these unique HTML tags, you can unlock creative solutions for common challenges and make your website stand out.
  • These HTML5 uncommon tags aren’t just about looking cool—they often provide built-in functionality that would otherwise require additional CSS or JavaScript. Incorporating them can save you time, reduce code complexity, and improve page performance.

Benefits of Exploring Unique HTML Tags

  • Enhanced Functionality: Hidden HTML elements like <details> and <dialog> allow for interactive features without relying on heavy scripts.
  • Improved Accessibility: Many lesser-known tags are designed with accessibility in mind, helping ensure your content is inclusive for all users.
  • Streamlined Development: Cool HTML features such as <template> can make your code modular and reusable, improving efficiency.
  • Modern Web Design: Using uncommon HTML5 tags can give your website a cutting-edge appearance and functionality.
  • SEO Boost: Semantic HTML tags can make your site more search-engine friendly, helping it rank better in search results.
By exploring these HTML tricks and incorporating them into your projects, you’ll not only streamline development but also create more dynamic and user-friendly websites. Ready to discover the cool HTML tags you didn’t know existed? Keep reading to learn about them!
Shape Shape

Cool HTML Tags You Probably Didn’t Know

  • 1. The <details> and <summary> Tags for Collapsible Content

    The <details> and <summary> HTML tags are powerful HTML5 uncommon tags that allow developers to create collapsible content sections. These cool HTML features are often used in FAQs or to hide lengthy content that users can expand at their discretion.

    The <summary> tag defines the visible heading or label for the collapsible content, while the <details> tag wraps the content that will expand or collapse. These hidden HTML elements make it easy to create an interactive experience without relying on JavaScript. Here's a simple example of how you can use these tags to create a collapsible FAQ section:

    <details>

    <summery> What is HTML? </summery>

    <p> HTML stands for HyperText Markup Language and is used to structure web content. </p>

    <details>

    With this, users can click "What is HTML?" to reveal the answer, improving usability and reducing clutter. This is one of the cool HTML tags you didn’t know existed but can significantly enhance your page's interactivity.

  • 2. The <dialog>Tag for Native Modals

    The <dialog> tag is a hidden HTML element that provides a native way to create modal dialogs. Before the <dialog> tag, modals were typically created using JavaScript or third-party libraries, but this unique HTML tag makes it easier to implement accessible, interactive pop-ups.

    This cool HTML feature enhances user experience with built-in accessibility features like keyboard navigation and focus control. Here’s an example of how you can use the <dialog> tag for a simple modal:

    <dialog id="myModal">

    <p> This is a simple modal dialog! </p>

    <button onclick="document.getElementById('myModal').close()"> Close </button>

    <button onclick="document.getElementById('myModal').showModal()">Open Modal</button>

    This modal opens when the "Open Modal" button is clicked, and the user can close it using the "Close" button. The <dialog> tag is a great way to add modals to your website without additional JavaScript, making it one of the cool HTML tags you didn’t know existed.

  • 3. The <progress> and <meter> Tags for Real-Time Data

    HTML5 introduced the <progress> and <meter> tags, two cool HTML features that allow developers to display real-time data in a visually appealing way. The <progress> tag is used to represent the completion of a task, such as a file upload or progress bar, while the tag is used for scalar measurements, like a gauge or score.

    These unique HTML tags are perfect for creating dynamic user interfaces that track ongoing tasks or metrics. Here's an example using the <progress> tag to display a file upload progress:

    <label for="uploadProgress"> File Upload Progress: </label>

    <progress id="uploadProgress" value="70" max="100"> 70% </progress>

    In this example, the progress bar will show 70% of the task completed. Both the <progress> and <meter> tags are great HTML tricks that provide more meaningful visual indicators for users and enhance the user experience with minimal effort.

  • 4. The <template> Tag for Reusable HTML Content

    The <template> tag is a powerful HTML5 uncommon tag that allows you to define reusable content that is not immediately rendered when the page loads. This hidden HTML element is typically used for client-side templating and can be manipulated with JavaScript when needed.

    By using the <template> tag, developers can reduce redundancy in their HTML code and create dynamic, modular websites. Here’s an example of how you can use the <template> tag to store a template for an item card:

    <template id="itemCardTemplate>

    <div class="item-card">

    <h3></h3>

    <p></p>

    </div>

    </template>

    <script> const template document.getElementById('itemCardTemplate'); const clone = document.importNode(template.content, true); clone.querySelector('h3').textContent = 'Item Title'; clone.querySelector('p').textContent = 'Item Description'; document.body.appendChild(clone); </script>

    In this example, the content within the <template> tag is cloned and added to the page when required, making it a great way to structure reusable components. This is another of the cool HTML tags you didn’t know existed but can significantly improve your site’s efficiency.

  • 5. The <picture> Tag for Responsive Images

    The <picture> tag is an incredibly useful HTML tag that allows developers to deliver responsive images based on different screen sizes, resolutions, or formats.

    This cool HTML feature enables the use of multiple image sources in a single <img> tag, making it one of the most powerful HTML5 uncommon tags. By leveraging the <picture> tag, developers can optimize page load times and provide users with the best image quality for their devices. Here's an example of how to use the tag for responsive images:

    <picture>

    <source srcset="image-800w.jpg" media="(max-width: 800px)">

    <source srcset="image-1200w.jpg" media="(max-width: 1200px)">

    <img src="image-default.jpg" alt="Responsive Image">

    </picture>

    In this example, different image sources are used depending on the screen width. If the screen is smaller than 800px, the image-800w.jpg will be displayed, and if the screen is larger than 1200px, the image-1200w.jpg will appear. This tag provides a seamless way to improve performance and user experience across devices, making it one of the cool HTML tags you didn’t know existed.

For more details and updates, please refer to the official websites of the organising bodies or consult with your school administration.

Enroll Our Courses.

Syllabus (A):

Basic grammar,
Reading skills,
Writing skills,
Vocabulary,
Speaking,
Learning 5 words daily,
Building confidence,
Non-hesitant speakers,
Personality development,
Especially for housewives and Adults.

Classes details:

60 minutes class(group/one on one).

Classes duration:

6 - 8 months.


Syllabus (B):

Basic - Advanced level.
CBSE/ICSE/STATE BOARD,
Speaking.
Writing
Reading.
+IEO (NSO olympiad) preparations.

Classes duration:

6 - 8 months.

Syllabus:

Basic - Advanced level.
CBSE/ICSE/STATE BOARD,
Speaking.
Writing
Reading.
+IEO (NSO olympiad) preparations.

Classes duration:

6 - 8 months.

Syllabus (A):

Vedic maths ( Twice a week).

Classes duration:

3 to 6 months.


Syllabus (B):

Abacus .

Classes duration:

3 months.


Syllabus (C):

IMO/AMO/SOF (Olampiad).

Classes duration:

3 to 6 months.

Beginners - advanced:

Reading skills.
Writing skills.
Speaking.

Classes duration:

3 to 6 months.

Syllabus:

(a) 42 letters sounds and actions,
(b) Blending and segmenting,
(c) Spelling rules - floss, rabbit and magic e etc,
(d) Digraphs,
(e) Soft and hard c and g,
(f) Educational games,
(g) Interactive classes.

Classes duration:

6-8 months.

Syllabus (A):

MS Excel basic.

MS Excel advance.

Classes duration:

25 - 35 session.


Syllabus (B):

C.

C++.

Java.

Python.

Basic Machine Learning.

Classes duration:

6 Months Training By Industry Experts.


Syllabus (C):

PHP.

MySql.

Wordpress.

HTML.

CSS.

JAVASCRIPT.

BOOTSTRAP.

Classes duration:

3 to 6 Months Training By Industry Experts

Syllabus:

Mathematics.

Chemistry.

Physics.

Biology.

CBSE|ICSE|STATE

5th Class - 12th Class