How can I (in html) let the <details> tag output no to show details? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 2

How can I (in html) let the <details> tag output no to show details?

When I for example write a code like this <details>example</details> It outputs details. Can I change the details to another word

19th Aug 2022, 4:22 PM
Elijah Adebanwo
Elijah Adebanwo - avatar
3 Réponses
+ 2
You're missing some tags there. <details> <summary>Example</summary> <p> content </p> </details>
19th Aug 2022, 4:31 PM
Chris Coder
Chris Coder - avatar
+ 2
You're Welcome
19th Aug 2022, 8:44 PM
Chris Coder
Chris Coder - avatar
+ 1
Thanks
19th Aug 2022, 8:43 PM
Elijah Adebanwo
Elijah Adebanwo - avatar