May
7th
Author: Editor |
Files under HTML Tutorials
Every HTML file must include a title. This is especially important for the following reasons:
- When the web browser opens the page, the file title will be shown on the page’s title headline.
- When the web browser opens the page, the file title will be shown in the web tabs.
- The file title will be used by the browser for setting bookmarks.
- The file title will be shown in the web browser’s list of previously visited sites.
- The file title serves as an important piece of information for many online search engines. If the file appears as a search result, then search engines often present the file’s title as a clickable link.
An Example:
<head>
<title>Tutorial for HTML Beginners</title>
</head>
Explanation:
The title is notated inside the file head in the ground framework of a HTML file. The <title> tag introduces the information regarding the title. Then the title’s text follows. The title entry is closed with the ending </title> tag.
Take Note:
The title should not be too long. We will go over descriptive file designations in a separate section on meta elements.
All the rules for the character set, special characters and HTML unique characters, apply for the title as well.