Reply to post: Folded content in raw HTML

And now for something completely different: A lightweight, fast browser that won't slurp your data

Chris Fox

Folded content in raw HTML

"However, there are some things that aren't very complicated to implement but can't be done without scripting. A basic example is dynamically showing or hiding content. Having a button which allows a user to collapse or expand a region means that the page can have lots of things on it without requiring the user to scroll past irrelevant things, but HTML itself doesn't do that."

You might want to check out the HTML "details" and "summary" tags, which implement dynamic content hiding (though it could be nice to have more CSS rendering options to customise the appearance).

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon