# How do we add document title in HTML?

Use the <title> tag to add document title. The HTML <title> tag is used for indicating the title of the HTML document. The body title is placed between the <head> and the </head> tags.

## Example

You can try to run the following code to learn how to add document title in HTML −

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