HTML Title Tag Tips and Tricks for better SEO
Tags: html, beginners, seo, tutorial
Published: 2020-12-04 15:54:24

---
title: HTML Title Tag Tips and Tricks for better SEO
published: true
date: 2020-12-01 16:27:24 UTC
tags: HTML, beginner, SEO, tutorial
canonical_url: https://web-crunch.com/posts/html-title-tag-tips-and-tricks-for-better-seo
---

{% youtube wAH3wXwxre4 %}

The `<title>` tag in an `HTML` document is the main entry point for popular search engines including Google and Bing.

You can use it to both inform the end-user of your website and increase your SEO (search engine optimization) rankings with the search engines mentioned before.

The `<title>` tag lives between the `<head>` tags in an `HTML` document.

```html
<!DOCTYPE html>
<html lang="en">
  <head>
    <title>My website | Web-Crunch.com</title>
  </head>
  <body>
    ...
  </body>
</html>
```

You won't see the contents of the `<title>` tag render on the page but it does render in your browser's tab. This feature is useful for understanding where you are on a website as well as what website you are on if you are using a browser with multiple tabs open.

Additionally, you can provide real-time updates to the `<title>` tag to inform users of updates taking place on the website they have already visited. This might include things like errors, status updates, notifications, and more. Some websites will go as far as updating both the [favicon](https://developer.mozilla.org/en-US/docs/Glossary/Favicon) (the icon next to the title in your browser's tab) and the title when a change occurs.

Besides real-time updates, having unique `<title>` content on every page of your website will perform much better when people search on search engines. This allows search engines to properly index all the pages of your website which ultimately returns higher quality search results.

How you construct your `<title>` tag contents can vary. You'll want the unique content first in line no matter which path you go.

```html
<title>Blog: The blog of Andy Leverenz | web-crunch.com</title>


<title>This is one good blog post title | web-crunch.com</title>
```

Here are some good guidelines to follow:

- Avoid one or two-word titles. Use a descriptive phrase or a term-definition pairing for glossary or reference-style pages.

- Search engines typically display about the **first 55–60** characters of a page title. If you must use a longer title, make sure the important parts come earlier in the string of text.

- Don't use "keyword blobs." If your title is just a list of words, algorithms often reduce your page's position in the search results.

- Make your titles as unique as possible within your own site. Duplicate—or near-duplicate—titles can contribute to inaccurate search results.

Read more about the [`<title>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title) tag on [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title).

### Shameless plug!

![Hello HTML & CSS](https://dev-to-uploads.s3.amazonaws.com/i/x4igv9lgvwkdv4rcv2f9.jpg)

I have a new free course coming out soon called [Hello HTML & CSS](https://hellohtmlcss.com). It's a course designed to help you learn HTML & CSS from scratch.

[Subscribe to get notified when it launches >> ](https://hellohtmlcss.com)