# Bad value “title” for attribute “http-equiv” on element “meta”.

> Canonical HTML version: https://rocketvalidator.com/html-validation/bad-value-title-for-attribute-http-equiv-on-element-meta
> Attribution: Rocket Validator (https://rocketvalidator.com)
> License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

The `http-equiv` attribute on the `<meta>` element does not accept `"title"` as a valid value.

The `http-equiv` attribute is designed to simulate specific HTTP response headers. It only accepts a limited set of predefined values: `content-type`, `default-style`, `refresh`, `x-ua-compatible`, and `content-security-policy`. Using `"title"` is not among these valid values and will trigger a validation error.

If you want to set the title of your page, use the `<title>` element inside `<head>` instead. The `<title>` element is the correct and standard way to define the document's title, which appears in the browser tab and is used by search engines.

## Bad Example

```html
<head>
  <meta http-equiv="title" content="My Page Title">
</head>
```

## Good Example

```html
<head>
  <title>My Page Title</title>
</head>
```
