details-display-inline-ref.html 346 B

12345678910111213141516171819
  1. <!DOCTYPE html>
  2. <!-- Any copyright is dedicated to the Public Domain.
  3. - http://creativecommons.org/publicdomain/zero/1.0/ -->
  4. <html>
  5. <style>
  6. div#details {
  7. display: inline-block;
  8. }
  9. </style>
  10. <body>
  11. Details element:
  12. <div id="details">
  13. <div>Summary</div>
  14. <p>This is the details.</p>
  15. </div>
  16. </body>
  17. </html>