HTML <title> tag
Html <title> : Definition
• HTML <title> tag is used to define the title of the HTML document.
• The title must contain text-only, which will display the browser's title bar or in the web page's tab.
Html <title> example
<!DOCTYPE html> <html> <head> <title>Title of the page goes here</title> </head> <body> <h1>This is a heading</h1> <p>This is a paragraph.</p> </body> </html>
Output:
This is a heading
This is a paragraph.