Languages

How to set web browser tab name?

6 points
Asked by:
marc_so
1104

Hi, sorry for my stupid question.

What I should do to change the text displayed as tab name?

This part:

Tab name in Google Chrome Web Browser.
Tab name in Google Chrome Web Browser.
1 answer
4 points
Answered by:
marc_so
1104

In HTML add in <head> element:

<title>My tab name here ...</title>

or in JavaScript run:

document.title = 'My tab name here ...';

 

Check this articles:

  1. HTML - set web page title

  2. JavaScript - dynamically change web page title

0 comments Add comment
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join