# How to use the <title> tag to define HTML document title?

JavascriptWeb DevelopmentFront End Scripts

To set the title for an HTML Document, use the HTML <title> tag. The body title is placed between the <head> and the </head> tags. HTML document title is visible on the web browsers title bar. It is considered good for SEO.

You can try to run the following code on a web browser to check the title of the document, which appears on the web browsers tab

#### Example

Live Demo

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