Languages
[Edit]
EN

HTML - bold text

0 points
Created by:
DrJoystick
315

In this article, we would like to show how to bold text in HTML.

Quick solution:

// ONLINE-RUNNER:browser;
<strong>bold text</strong>

or

// ONLINE-RUNNER:browser;
<b>bold text</b>

 

Practical example using <strong> tag

In this section, we present how to make the bold text with <strong> tag.

Practical example:

// ONLINE-RUNNER:browser;

<!doctype html>
<html>
<head>
  <style>
    /* style properties here */
  </style>
</head>
<body>
  <p>Some text with <strong>bold</strong> element.</p>
</body>
</html>

Note:

You can also use the CSS solution from the following article: CSS - bold text

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