/
Accordion (html)
Accordion (html)
Basic Accordion code for html.
Code:
<details>
<summary>This is the title of the details tag</summary>
<p>Here's a paragraph inside a details element</p>
Here's some text after the paragraph
</details>
Example:
source: How to create an accordion menu in HTML without jQuery
Accordion with borders
<div><details style="border: 1px solid black; padding: 10px;" open=""><summary style="padding-left: 17px;">Open for more details</summary><hr />
<div style="padding-left: 17px;">
<p>Alice was beginning to get very tired of sitting by her sister on the bank, and of having nothing to do: once or twice she had peeped into the book her sister was reading, but it had no pictures or conversations in it, 'and what is the use of a book,' thought Alice 'without pictures or conversation?'</p>
</div>
</details></div>
<p></p>
, multiple selections available,
Related content
Como insertar una imagen de cabecera (header) y pié de pagina (footer) en una unidad del curso
Como insertar una imagen de cabecera (header) y pié de pagina (footer) en una unidad del curso
More like this
Cómo crear ejercicios de respuestas abiertas
Cómo crear ejercicios de respuestas abiertas
More like this
Generar excepciones de ceritificados
Generar excepciones de ceritificados
More like this