👻 Check our latest review to choose the best laptop for Machine Learning engineers and Deep learning tasks!
To create bold text in HTML you can use the tag, the
When designing a web page, you might want to emphasize a specific piece of text.
For example, let’s say you have a list of instructions on how to use new technology and there is a Safety Notice which is especially important for the user to read. You can underline this warning to ensure that the user does not miss it when reading the instructions.
In HTML
, there are built-in functions that allow programmers to encourage particular text. In this tutorial, we’ll explore the three most common ways to encourage text in HTML
: the tag, the
font-weight Cascading style Sheets (CSS)
parameter.
HTML tag
The most common way developers create text in HTML
is through the use of the tag
. The tag is used to create an element that represents bold text on an
HTML
web page. For example, a
can put evidence of sub - titles in a section line.
Here is an example of HTML
in action:
It’s that simple. If you want to make some bold text while leaving the rest of a paragraph, you can include a tag in a section like we do below:
Here is the result of our code: