10 Jul HTML5 Title
Title is what you want to show in the web browsers tab. It’s also visible on the page’s tab. HTML5 Title also contains text, like HTML and always adds an appropriate title for your web page.
For example, if you have created a tutorial on Java, then add the title as “Java Tutorial”.
<title> tag is used to add title to a web page.
1 2 3 4 5 6 7 8 9 10 |
<!DOCTYPE html> <html> <head> <title>Java Tutorial</title> </head> <body> <h1> Learn Java</h1> </html> |
Here’s the output, the title shows Java Tutorial (on the tab above), since we added it under the <title> </title> element,
No Comments