How to do that function in HTML?

That function that hides things. I do not even know how to give a name to it to search on search mechanisms

This is one thing the button is hiding. Let me try the same function inside that function:

Hmmmm

It worked. Let me try again:

Hmmmmmmm

It also worked.

If you haven’t seen it yet, there is a guide: How to format text in the forum

(It’s an extended form of Markdown.)

That is a forum tutorial and doesn’t explain how to make a spoiler in HTML.

<details>
  <summary>Hiding details</summary>
  <p>To hide details in HTML use the details/summary tags as shown here</p>
</details>
Hiding details

To hide details in HTML use the details/summary tags as shown here

2 Likes
<details>
  <summary>Summary</summary>
  <p>Hidden details for summary</p>
  <details>
    <summary>Nested Summary</summary>
    <p>Hidden details for nested summary</p>
  </details>
</details>
Summary

Hidden details for summary

Nested Summary

Hidden details for nested summary

1 Like

It worked. Thanks.

Sorry, I thought you were referring to the forum feature.

Nah.