Home  >  Article  >  Web Front-end  >  How can we add bold text in HTML?

How can we add bold text in HTML?

王林
王林forward
2023-09-20 12:21:02815browse

How can we add bold text in HTML?

To display bold text, use the tag. HTML tags are used to emphasize important text.

Example

You can try running the following code to implement the tag in HTML−

<!Doctype html>
<html>
   <head>
      <title>HTML strong Tag</title>
   </head>
   <body>
      <p>This is an <strong>important</strong> text</p>
   </body>
</html>

The above is the detailed content of How can we add bold text in HTML?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete
Previous article:Create small text in HTMLNext article:Create small text in HTML