Languages
[Edit]
EN

HTML - set web page description

0 points
Created by:
Kevin
797

In this article, we would like to show you how to set web page description in HTML.

Quick solution:

<meta name="description" content="description of the web page" />

 

Practical example

In order to set description of the web page, we need to include the meta tag inside the head section. The meta tag content attribute specifies the web page description.

<!doctype html>
<html>
<head>
  <meta name="description" content="description of the web page" />
</head>
<body>
  <!-- Webpage content here ... -->
</body>
</html>

 

References

  1. <meta>: The metadata element - HTML: HyperText Markup Language | MDN

Alternative titles

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