Of course, this is allowed. But you need to style CSS a bit to avoid wrapping. To test aviabillity, use W3-Validator and use W3Schools .
<!DOCTYPE html> <html> <head> <title>HTML Summary usage</title> </head> <body> <details> <summary><h1>Copyright 1999-2014.</h1></summary> <p> - by Refsnes Data. All Rights Reserved.</p> <p>All content and graphics on this web site are the property of the company Refsnes Data.</p> </details> <p><b>Note:</b> The summary element is not supported in Edge/Internet Explorer.</p> </body> </html>
source share