Languages
[Edit]
EN

HTML - set web page title

5 points
Created by:
user4838
698

In this article, we would like to show you how to set web page title using HTML​​​​​.

Quick solution (put it to <head> element):

<title>Example title</title>

 

Practical example

In this example, we use <title></title> element to set the web page's title.

<!doctype html>
<html>
<head>
  <title>Example title</title>
</head>
<body>
  Web page body here ...
</body>
</html>

Result:

Web page title set using HTML.
Web page title set using HTML.

See also

  1. JavaScript - dynamically change web page title 

Alternative titles

  1. HTML - change web page title
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