what is the HTML title tag
Syntax
Syntax of HTML <title> tag
<head> <title> HTML Title tag </title> </head>
<head>
<title> HTML Title tag </title>
</head>
what is the HTML title tag
Example
<!DOCTYPE html>
<html>
<head>
<title> HTML Title tag </title>
</head>
<body>
<h1> HTML Title Tag </h1>
<p>learn Free HTML Language<br> https://webdesigningtheory.blogspot.com</p>
</body>
</html>
what is the HTML title tag
Explain Program
Step 1]
<!DOCTYPE html>
- This declare the document type.
- browser that the document is written in html
Step 2 ]
<html>.... . </html>
- html is the root element of the html page.
- Every thing inside it is part of the webpage.
Step 3]
<head>
<title>HTML Title tag </title>
</head>
- <head> section
- head section contains metadata about page. not visible on the page itself.
- <title> tag title section set the title of the page shows the browser tab.
- text appear bookmarks.
Step 4]
<h1> HTML Title Tag </h1>
<p> Blog homepage learn Free HTML Language<br> https://webdesigningtheory.blogspot.com</p>
- <body> body contains the visible content webpage.
- <HTML <body> main part of webpage.
- html <h1> tag Largest heading.
- Main HTML <title> tag of the webpage.
- HTML <P> Tag Creates paragraph of text.
- HTML <br> tag use line break ,text to next line.
Step 5 ]
Closing tag
</body>
</html>
what is the HTML title tag
Output
Related Post :-
