HTML Head Title Code For Website - Learn About Website | DaddyFile

0

The HTML <title> Element Explain

The <title> element defines the title of the document.
The <title> element is required in all HTML/XHTML documents.
The <title> element:
  • defines a title in the browser tab
  • provides a title for the page when it is added to favorites
  • displays a title for the page in search engine results
A simplified HTML document:


Html Code:

<!DOCTYPE html>
<title>Page Title</title>

<h1>This is a heading</h1>
<p>This is a paragraph.</p>




Html Code Result:

This is a heading

This is a paragraph.

Post a Comment

 
Top