limanza

tag < details > :

Definition and Usage

The <details> tag specifies additional details that the user can view or hide on demand.

The <details> tag can be used to create an interactive widget that the user can open and close. Any sort of content can be put inside the <details> tag.

The content of a <details> element should not be visible unless the open attribute is set.


.

Example
code             mode one
open is not selected
<details>
      <summary>Copyright 2014.</summary>
      <p> - by limanza.com : All Rights Reserved.</p>
</details>

mode two
select open att
<details open>
      <summary>Copyright 2014.</summary>
      <p> - by limanza.com : All Rights Reserved.</p>
</details>
output
Copyright 2014.

- by limanza.com : All Rights Reserved.



Copyright 2008-2013.

- by limanza.com : All Rights Reserved.

 

Copyright 2014. All rights reserved.