---
title: "Discussion on \"Simple Accordion In HTML/CSS\" | Hashnode"
description: "Discussion on \"Simple Accordion In HTML/CSS\". <section class=\"accordion\">\n  <div class=\"tab\">\n    <input type=\"checkbox\" name=\"accordion-1\" id=\"cb1\" checked>\n    <label for=\"cb1\" class=\"tab__label\">Checkbox</label>\n    <div class=\"tab__content\">\n      <p>Pure CSS accordion based on the \"input:ch..."
url: "https://hashnode.com/posts/simple-accordion-in-htmlcss/65b396ca6a1b0beb02aa773c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Simple Accordion In HTML/CSS](https://codewithakash.hashnode.dev/simple-accordion-in-htmlcss?utm_source=hashnode&utm_medium=feed)

<section class="accordion"> <div class="tab"> <input type="checkbox" name="accordion-1" id="cb1" checked> <label for="cb1" class="tab\_\_label">Checkbox</label> <div class="tab\_\_content"> <p>Pure CSS accordion based on the "input:ch...

Jan 26, 2024 · 2 min read · codewithakash.hashnode.dev  
Updated Jan 28, 2024  
Read the article

## Written by

[Akash Srinivasan](https://hashnode.com/@AkashSrinivas)

@AkashSrinivas

  
[View profile](https://hashnode.com/@AkashSrinivas)

Empowering you to build, create and innovate with tech development

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
