---
title: What is an HTML Title Tag and How You Can Change the Title of Your Website
description: What is an HTML Title Tag? Learn why the meta tag title is important for your website, the recommended title length and how to optimize your website's title to increase your SEO rankings.
image: https://blog.shift4shop.com/hubfs/iStock-182798262.png
---

[![eCommerce Blog](https://blog.shift4shop.com/hubfs/shift4shop/shift4-blog.jpg)](https://blog.shift4shop.com/)

[![shift4shop logo](https://blog.shift4shop.com/hubfs/shift4shop/shift4shop-Black.png) |Blog](https://blog.3dcart.com/)

[Sign Up](https://www.3dcart.com/freetrial.htm?utm_campaign=Blog&utm_source=blog&utm_medium=blog-cta&utm_content=free-trial-cta)

[Subscribe](https://blog.shift4shop.com/blog/change-homepage-title-tag#subscribeBlock)

[SEO](https://blog.shift4shop.com/topic/seo)| 6 min read

# What is an HTML Title Tag and How You Can Change the Title of Your Website

 By [Jimmy Rodriguez](https://blog.shift4shop.com/author/jimmy-rodriguez) [0 Comments](https://blog.shift4shop.com/blog/change-homepage-title-tag#comments-listing)

![](https://blog.shift4shop.com/hubfs/iStock-182798262.png)

**Title tags** are a very important part of on-page search engine optimization, so it's crucial to use them properly. They also come into play in helping search engine users decide to click on the link to your site rather than another. Badly-formatted title tags can harm your search rankings and make your links less appealing even when they do appear on Google's first page, so it's important to get them right.

Good title tags, however, can make a huge positive difference. They can raise your website link's placement on search engine results pages (SERPs), as well as making your link more compelling for visitors to click on. In fact, the title tag serves several purposes, and it's important you understand how helpful or harmful a good or bad title tag can be.

This article will instruct you on **how to change your title tags and what to put in them for best results**. Let's start by explaining the title tag in a website, how it's used by search engines and browsers, and the reasons why you should optimize it.

> ## What is an HTML Title Tag?
> 
> The **HTML title tag** is a tiny piece of HTML code that defines the title attribute of a web page. [According to Moz](https://moz.com/learn/seo/title-tag), a title tag is meant to be a concise and accurate description of the page's content. You can see a website's title attribute in the tab at the top of the browser window. The title tag is also the default name used if the visitor adds the page to their bookmarks or favorites.
> 
> For SEO purposes, the title tag provides the clickable headline of your web page when it appears as a search result. Search engines also take title tags into account when ranking pages. An optimized title tag can both raise your rank on SERPs and increase click-through rate, while a bad title tag is one of many [things that harm SEO](https://blog.shift4shop.com/5-seo-mistakes-that-can-harm-your-rankings). Title tags are also used when your link is shared on social media, appearing in a similar way as they do on SERPs: as the "headline" of the link. This is how a title tag would display in SERPs:

![HTML title tag](https://blog.shift4shop.com/hs-fs/hubfs/Banners/page-title.png?width=800&name=page-title.png)

The different purposes of title tags make them important for SEO, usability, and social sharing. To sum up, title tags are used for:

- The brief title and description of a page as appears at the top of a browser window
- The default name for user-created bookmarks
- Search engine rankings
- The clickable headline of a search result
- The headline of a link when shared on social media

This makes optimization important for multiple reasons:

- Helping visitors find and remember your page in their tabs and bookmarks
- Including appropriate keywords to help your page earn a high rank
- Making your links attractive on SERPs, thus improving click rate
- Attracting more views when your link is shared on social media

This might seem intimidating, but optimizing your title tags is fairly simple. Now we'll get into how it's done.

 

## HTML Title Tag Example

The example below shows where the html meta title tag goes within the head section of your website. You cannot use the html title tag in the body element, and you should never have 2 html title tags in the the html head tag of your website.

![html-title-tag-example](https://blog.shift4shop.com/hs-fs/hubfs/html-title-tag-example.png?width=1302&name=html-title-tag-example.png)

## How to Edit HTML Title Tags

There are two main ways to edit title tags: by directly editing the HTML, or by changing them in your website's control panel.

### Changing the Title Tag in your Website's Control Panel

Most websites today are built with a Content Management System (CMS) like WordPress for blogs or [Shift4Shop](https://www.shift4shop.com/shopping-cart-features-seo.html) for an eCommerce website. You would edit your title tags through the control panel you use for creating and editing website pages. Look for the section in which you can change meta tags; for more information, refer to your CMS provider's support.

Some website builders automatically generate title tags, but they may not be optimized for best results. If you cannot find an easy way to change title tags in your control panel, you'll need to edit the HTML code directly. As a side note, if your CMS is missing this feature, you might consider [migrating to a better platform](https://www.shift4shop.com/switch.html) if you're serious about increasing your website's visibility.

### Editing the HTML Title Tag

To change your homepage's title tag directly in your website's HTML code, you'll need to open the main page of your website in a text editor or other coding interface. Homepages are usually named home.html, index.html, or default.html.

Near the top of your page, you'll find the title tag nested inside the header tags, like this:

![html title tag example](https://blog.shift4shop.com/hs-fs/hubfs/Banners/page-title-code.png?width=639&height=92&name=page-title-code.png)

Update the text between the opening and closing title tags, i.e. <title> and </title>. For this to work, you must maintain the structure of the opening <title> and closing </title> and just modify the text between them.

Save your work and keep in mind that changes to your title attributes will take time to reflect in SERPs.

 

## How to Write a Great HTML Title Tag

Now that you understand how to change your title tags, you should learn what it takes to make them effective. Remember that you have two main goals here: to optimize for search engines and improve them for human readability.

A good title tag needs to be:

- **50-60 characters in length, including spaces.** Google cuts off SERP entries based on pixel width, not character count, so your title may need to be shorter if it uses many wider characters like M or O.
- **![Keywords for the HTML title tag](https://blog.shift4shop.com/hs-fs/hubfs/Stock%20images/Keywords%20Research%20and%20Analysis%20through%20Loupe%20on%20Old%20Paper%20with%20Blue%20Vertical%20Line%20Background..jpeg?width=300&name=Keywords%20Research%20and%20Analysis%20through%20Loupe%20on%20Old%20Paper%20with%20Blue%20Vertical%20Line%20Background..jpeg)Written with important keywords first.** The earlier your crucial keywords appear in your title, the better. Put your brand or company name at the end, not the beginning. Keep in mind that users are most likely to search for products rather than for your specific business, so product keywords are more important. If you don't know what keywords to use, learn [how to do keyword research](https://blog.shift4shop.com/blog/beginning-keyword-research).
- **Relevant to the page.** Every title tag needs to be a quick summary of the page it belongs to, otherwise Google may arbitrarily display a different title in SERPs.
- **Different from the page's headline.** Your H1 headline is another important place for keywords. If your headline and title are identical, you're wasting a chance to use different keywords instead of redundant ones.
- **Human-readable.** Remember that, while search engines rank your pages, human beings are the ones actually reading and using them. A human-readable title tag makes your page clickable on SERPs and memorable in bookmarks.
- **Not keyword-stuffed.** Don't fall into the trap of adding tons of keywords in an attempt to rank higher. This hurts human readability, and if it's bad enough, Google will penalize you for it.
- **Different on every page.** The title tag should always be appropriate to the page content, so each page needs its own individual title tag to help differentiate it from your other pages. It's also very likely that each page will need a few different keywords, so optimize each title tag accordingly.

Many Content Management Systems will display a preview of how your title tag will look as part of your page's SERP link, or you can use an online [SERP preview tool](https://www.portent.com/serp-preview-tool) for fine-tuning.

 

## Learn More About SEO

HTML Title tags are one of the most important parts of SEO, but there's a lot more you need to understand. Download our free eBook to learn about meta descriptions, optimizing your page content, and more. With these guidelines at your fingertips, you'll start seeing a difference in your SERP rank in no time.

- [Tweet](https://twitter.com/share)

[![Get the "SEO-Friendly eCommerce Solution Checklist"](https://no-cache.hubspot.com/cta/default/3365633/e5ede856-99f4-46a0-9b40-42df5c6eaea4.png)](https://cta-redirect.hubspot.com/cta/redirect/3365633/e5ede856-99f4-46a0-9b40-42df5c6eaea4)

### Leave a reply or comment below

### Sign up for Marketing Tips

### Related posts

[The Impact of Google's AI Search on eCommerce Businesses](https://blog.shift4shop.com/google-ai-search-ecommerce-businesses)

With over 8.5 billion searches per day, Google has an immense impact on how people find and purchase products online. But here's the twist — it's not just your regular Google anymore. The impact of ...

[Read More](https://blog.shift4shop.com/google-ai-search-ecommerce-businesses)

December 20, 2023

[How to Use Search Intent to Boost Conversions for Your eCommerce Store](https://blog.shift4shop.com/search-intent-boost-conversions-ecommerce)

SEO can help enhance your business’s visibility on search engines like Google. But to ensure good SEO, you need to understand search intent. Search intent describes the purpose of an online search. ...

[Read More](https://blog.shift4shop.com/search-intent-boost-conversions-ecommerce)

December 28, 2022

[5 Ways To Use Google To Grow Your Online Business](https://blog.shift4shop.com/google-grow-online-business)

Whether you’re a decades-old brick-and-mortar store just starting to sell online or a strong up-and-coming eCommerce shop, your business needs to be able to adapt and thrive in the digital ecosystem. ...

[Read More](https://blog.shift4shop.com/google-grow-online-business)

September 28, 2022

[![3dcart logo](https://blog.shift4shop.com/hubfs/shift4shop/shift4shop-Black.png) |Blog](https://blog.3dcart.com/)

### Sign up for Marketing Tips

[![New call-to-action](https://no-cache.hubspot.com/cta/default/3365633/fcff512b-4483-4b5f-b166-fec0d89749f8.png)](https://cta-redirect.hubspot.com/cta/redirect/3365633/fcff512b-4483-4b5f-b166-fec0d89749f8)

 

### Resources

[Apps & Integrations](https://blog.3dcart.com/topic/apps-integrations)

[B2B Ecommerce](https://blog.3dcart.com/topic/b2b-ecommerce)

[Conversion Optimization](https://blog.3dcart.com/topic/conversion-optimization)

[Customer Service](https://blog.3dcart.com/topic/customer-service)

[Digital Payments](https://blog.3dcart.com/topic/digital-payments)

[Ecommerce Features](https://blog.3dcart.com/topic/ecommerce-features)

[Ecommerce Marketing](https://blog.3dcart.com/topic/ecommerce-marketing)

[eCommerce News](https://blog.3dcart.com/topic/ecommerce-news)

[Email Marketing](https://blog.3dcart.com/topic/email-marketing)

[Fraud Prevention](https://blog.3dcart.com/topic/fraud-prevention)

[Holiday Shopping](https://blog.3dcart.com/topic/holiday-shopping)

[Search Engine Optimization](https://blog.3dcart.com/topic/seo)

[Shipping & Fulfillment](https://blog.3dcart.com/topic/shipping-fulfillment)

[Social Media](https://blog.3dcart.com/topic/social)

[Starting an Online Business](https://blog.3dcart.com/topic/starting-a-business)

[Success Stories](https://blog.3dcart.com/topic/success-stories)

[Web Design](https://blog.3dcart.com/topic/web-design)

 

### Popular Articles

Search Articles



[![](https://feedburner.google.com/fb/images/pub/feed-icon32x32.png)](http://feeds.feedburner.com/3dcartEcommerceBlog) [RSS Feed](http://feeds.feedburner.com/3dcartEcommerceBlog)

 [![3dcart eCommerce Blog - Blog Directory OnToplist.com](https://www.ontoplist.com/images/ontoplist31.png?id=59e75cd39646e)](https://www.ontoplist.com/blogs/3dcart-ecommerce-blog_59e75cd39646e/)

[Want to be a Guest Author?](https://blog.3dcart.com/guest-posts-application)

<https://www.facebook.com/3dCart> <https://twitter.com/3dcart> <https://plus.google.com/+3dcart>

Copyright © 2023 Shift4Shop. All Rights Reserved.

## Rocket Fuel for Your Business

About Shift4Shop

![](https://www.shift4shop.com/2021/images/icons/dropdown-blue.svg)

[Why Shift4Shop](https://www.shift4shop.com/why-3dcart.html) [Shopping Cart Software](https://www.shift4shop.com/shopping-cart-software.html) [Success Stories](https://www.shift4shop.com/lp/success-stories/) [Shift4Shop Reviews](https://www.shift4shop.com/shopping-cart-reviews.html) [eCommerce Blog](https://blog.shift4shop.com/) [Sitemap](https://www.shift4shop.com/sitemap.html)

eCommerce

![](https://www.shift4shop.com/2021/images/icons/dropdown-blue.svg)

[Features](https://www.shift4shop.com/all-features.html) [How to Sell Online](https://www.shift4shop.com/sell-online.htm) [Create a Website](https://www.shift4shop.com/build-ecommerce-website.htm) [Start an Online Store](https://www.shift4shop.com/start-an-online-store.html) [eCommerce](https://www.shift4shop.com/ecommerce-saas.html) [Online Store Builder](https://www.shift4shop.com/build-an-online-store.html)

Resources

![](https://www.shift4shop.com/2021/images/icons/dropdown-blue.svg)

[eCommerce Web Design](https://www.shift4shop.com/ecommerce-web-design.htm) [eCommerce Marketing](https://www.shift4shop.com/ecommerce-marketing-tools.html) [Custom Development](https://www.shift4shop.com/custom-development.html) [Start an Online Business](https://www.shift4shop.com/start-an-online-business.html) [App Store](https://apps.shift4shop.com/) [Theme Store](https://themes.shift4shop.com/)

Technical Support

![](https://www.shift4shop.com/2021/images/icons/dropdown-blue.svg)

[Support Center](https://support.3dcart.com/) [eCommerce Forum](https://forums.shift4shop.com/) [eCommerce University](https://www.shift4shop.com/lp/ecommerce-university/) [Developer Portal](https://developer.3dcart.com/) [Supported Payments](https://www.shift4shop.com/ecommerce-payment-gateways.html)

Company

![](https://www.shift4shop.com/2021/images/icons/dropdown-blue.svg)

[About Us](https://www.shift4shop.com/aboutus.htm) [Contact Us](https://www.shift4shop.com/aboutus.htm#contact-area) [Become a Partner](https://www.shift4shop.com/ecommerce-partners.html) [Affiliate Program](https://www.shift4shop.com/3dcart-affiliates.html)

Copyright © 2025 Shift4Shop

[Terms and Conditions](https://www.shift4shop.com/legal.html) [Privacy Policy](https://www.shift4shop.com/privacy.html)

<https://www.facebook.com/Shift4Payments/> <https://x.com/shift4> <https://www.youtube.com/@Shift4Shop> <https://www.linkedin.com/company/shift4> <https://www.instagram.com/shift4/>

<https://www.facebook.com/Shift4Payments/> <https://x.com/shift4> <https://www.youtube.com/@Shift4Shop> <https://www.linkedin.com/company/shift4> <https://www.instagram.com/shift4/>

Copyright © 2025 Shift4Shop

```json
{
  "@context" : "http://schema.org",
  "@type" : "Organization",
  "address" : {
    "@type" : "PostalAddress",
    "addressCountry" : "United States",
    "addressLocality" : "Center Valley",
    "addressRegion" : "PA",
    "postalCode" : "18034",
    "streetAddress" : "3501 Corporate Pkwy "
  },
  "alternateName" : "3dcart Shopping Cart Software",
  "areaServed" : {
    "@type" : "GeoCircle",
    "geoMidpoint" : {
      "@type" : "GeoCoordinates",
      "latitude" : "37.0902",
      "longitude" : "95.7129"
    },
    "geoRadius" : "500 km"
  },
  "description" : "Shopping Cart Software",
  "email" : "sales@3dcart.com",
  "image" : "https://www.3dcart.com/images/logo.png",
  "logo" : "https://www.3dcart.com/images/logo.png",
  "mainEntityOfPage" : {
    "@id" : "https://blog.shift4shop.com/blog/change-homepage-title-tag",
    "@type" : "WebPage",
    "description" : "What is an HTML Title Tag? Learn why the meta tag title is important for your website, the recommended title length and how to optimize your website's title to increase your SEO rankings."
  },
  "naics" : "5112",
  "name" : "3dcart",
  "sameAs" : [ "https://www.3dcart.com", "https://www.facebook.com/3dcart", "https://www.twitter.com/3dcart", "https://plus.google.com/+3dcart", "https://instagram.com/3dcart/", "https://www.youtube.com/3dcart", "https://www.linkedin.com/company/3dcart.com", "https://www.pinterest.com/3dcart" ],
  "telephone" : "8882762108",
  "url" : "https://www.shift4shop.com"
}
```

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Jimmy Rodriguez"
  },
  "dateModified" : "January 19, 2021, 9:45:21 PM",
  "datePublished" : "2012-10-07 15:36:08",
  "description" : "What is an HTML Title Tag? Learn why the meta tag title is important for your website, the recommended title length and how to optimize your website's title to increase your SEO rankings.",
  "headline" : "What is an HTML Title Tag and How You Can Change the Title of Your Website",
  "image" : {
    "@type" : "ImageObject",
    "url" : "https://cdn2.hubspot.net/hubfs/3365633/iStock-182798262.png"
  },
  "mainEntityOfPage" : {
    "@id" : "https://blog.3dcart.com",
    "@type" : "WebPage",
    "description" : "eCommerce Blog by 3dcart"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://www.3dcart.com/images/logo.png"
    },
    "name" : "3dcart"
  }
}
```