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>
  <title>Title of the page goes here</title>
  <h1>This is a heading</h1>
  <p>This is a paragraph.</p>



This is a heading

This is a paragraph.