"
---
The [built-in browser `` component](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title) lets you specify the title of the document.
```js
My Blog
```
---
## Reference {/*reference*/}
### `` {/*title*/}
To specify the title of the document, render the [built-in browser `` component](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title). You can render `` from any component and React will always place the corresponding DOM element in the document head.
```js
My Blog
```
[See more examples below.](#usage)
#### Props {/*props*/}
`` supports all [common element props.](/reference/react-dom/components/common#common-props)
* `children`: `` accepts only text as a child. This text will become the title of the document. You can also pass your own components as long as they only render text.
#### Special rendering behavior {/*special-rendering-behavior*/}
React will always place the DOM element corresponding to the `` component within the document’s ``, regardless of where in the React tree it is rendered. The `` is the only valid place for `` to exist within the DOM, yet it’s convenient and keeps things composable if a component representing a specific page can render its `` itself.
There are two exception to this:
* If `` is within an `