Categories
HTML Tutorials

Naming your page with a

Every HTML page needs a descriptive title to tell visitors what the page is about. This text appears in the title bar at the very top of the browser window. A page title should be concise yet informative. (For example, My Home Page isn’t as informative as Ed’s Web Design Services). Define a page title by using the <title> element inside the <head> element:

<html>
   <head>
      <meta charset="UTF-8">
      <title>Ed’s Design Services</title>
   </head>
</html>

Search engines use <title> content to list web pages in response to queries. A page title may be the first thing a web surfer reads about a page, especially if she finds it via a search engine. In fact, a search engine will probably list your page title among many others on a results page, which gives you only one chance to grab a surfer’s attention and convince her to choose your page. The title is also used for bookmarks/favorites and in a browser’s history, so keep your titles short and sweet.