> For the complete documentation index, see [llms.txt](https://docs.novarietygames.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.novarietygames.com/websitecreator/luascript/dom/document/title.md).

# title

{% hint style="danger" %}
This property currently does not exist and is a **work in progress**. \
Please use [getTitle](/websitecreator/luascript/dom/document/gettitle.md) & [setTitle](/websitecreator/luascript/dom/document/settitle.md)
{% endhint %}

The **`document.title`** property gets or sets the current title of the document. **`document.title`** defines the document's title that is shown in a browser's title bar or a page's tab.

<pre class="language-lua"><code class="lang-lua"><strong>document.title = "String"
</strong></code></pre>

Examples

```lua
document.title = "New Title!"
```

```lua
document.addEventListener("DOMContentLoaded",function()
document.title = "DOM Loaded!"
end)
```
