View video tutorial

HTML <title> Tag


The <title> tag provides the page title.

The title of a page

Set the page title using <title> tag.

The <title> tag should title something related to the page contents.

The <title> tag should be used only once and inside <head> tag.

Global attributes

Global attributes may be applied on all elements, although some elements may have no effect on them.

<accesskey>, <class>, <contenteditable>, <contextmenu>, <data-*>, <dir>, <draggable>, <dropzone>, <hidden>, <id>, <lang>, <spellcheck>, <style>, <tabindex>, <title>, <translate>.

Learning with HTML Editor "Try it Now"

You can edit the HTML code and view the result using online editor.


    <title>HTML title tag Example</title>
Try it Now »

Click on the "Try it Now" button to see how it works.