Details and summary
summary element. In non-supporting browsers such as IE11 all content is expanded by default.
This is the summary content
This is the detailed content which is revealed if a user requests to see it.
There is currently no way for
details to be made to display all of its content by default when printed.