How to use html to create a spoiler tag
Apr. 17th, 2023 11:39 amHow to use html to create a spoiler tag (108 words) by sqbr
Chapters: 1/1
Fandom: No Fandom
Rating: General Audiences
Warnings: No Archive Warnings Apply
Additional Tags: Meta, Guide, tutorial, HTML
Summary:
I saw someone post a screenshot tutorial on twitter, thought about testing it then writing an image description, and then went, wait, now that I've written this test work, why not just use it as an example for other people?
It's the same code I already posted about that works on dreamwidth, but it hadn't occured to me you could use it on the AO3, and apparently they only just implemented it for summaries.
Chapters: 1/1
Fandom: No Fandom
Rating: General Audiences
Warnings: No Archive Warnings Apply
Additional Tags: Meta, Guide, tutorial, HTML
Summary:
Here's an example of the sort of 'cut' you can create with this html:
Content note: CONTAINS A SURPRISE!
BOO! IT'S ME, THE HIDDEN DETAILS!!
I wrote this aimed at people wanting to add spoiler cuts to AO3 summaries etc, but the same code works on dreamwidth and a bunch of other places.
NOTE: Turns out the content under the cut is displayed in full to subscribers. Good thing I tested it before posting anything people might find upsetting!
I saw someone post a screenshot tutorial on twitter, thought about testing it then writing an image description, and then went, wait, now that I've written this test work, why not just use it as an example for other people?
It's the same code I already posted about that works on dreamwidth, but it hadn't occured to me you could use it on the AO3, and apparently they only just implemented it for summaries.