What is a <title> tag?
Experience Level: Junior
Tags: HTML
Answer
The <title>
tag defines the title of the page.
- The text of the tag is displayed in the browser tab.
- The text of the tag is usually displayed in the top part of the browser window
- The text of the tag is displayed in search engine results. Only the first 50-60 characters are usually displayed, so put the most important information at the beginning.
- The
<title>
tag should be present on each web page. - The tag is very important for search engine optimization (SEO) and the text contained in this tag affects SEO ranking and the position of your web page in search results.
Related HTML job interview questions
What are <h1>...<h6> tags?
HTML JuniorWhat is a <style> tag?
HTML JuniorWhat is a <head> tag?
HTML JuniorWhat is a <button> tag?
HTML JuniorWhat is a <br> tag?
HTML Junior