# How to display a summary for a given <details> in HTML5?

HTMLFront End TechnologyWeb Development

Use the <summary> tag to specify a summary for the details added using <details> tag.

## Example

You can try to run the following code to display a summary in HTML5 −

<!DOCTYPE html>
<html>
</html>