Computer >> Computer tutorials >  >> Programming >> HTML

How do we add bold text in HTML?


To display bold text, use the <strong> tag. The HTML <strong> tag is used for emphasizing an important text.

Example

You can try to run the following code to implement <strong> 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>