HTML title tag is used to provide a title name for your webpage. It is necessary for Search Engine Optimization (SEO).
The HTML title tag must be used inside the <head> tag.
The title of the page is displayed on the title bar of the browser.
Let's see the example of HTML title tag.Test it Now
Here you see that we are using two elements, the head tag and the title tag. The whole title element is within the head tag.
The head element which appears before body element just contains the information about the page but it doesn't display on the browser window. So, to display a title name on the web page, title element is used.
If you look at the above example, you will see that "First web page" will be displayed on the tab/ title bar of the browser. Content(text) between <title>.............</title> is shown on the title bar.
Next TopicHTML tr Tag
JavaTpoint offers too many high quality services. Mail us on h[email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected].
Duration: 1 week to 2 week