Languages

HTML - tekst pogrubiony

3 points
Asked by:
Sylwia
3500

W jaki sposób mogę zrobić pogrubiona czcionkę w HTML?

1 answer
3 points
Answered by:
Sylwia
3500

Pogrubienie tekstu w HTML możesz zrobić na dwa sposoby:

1. Element <b>

Element <b> (ang. bold - pogrubienie).

Prkatyczny przykład z tagiem <b>:

// ONLINE-RUNNER:browser;
<!doctype html>
<html>
<body>

   <p>Potrafię napisać <b>tekst pogrubiony</b></p>

</body>
</html>

2. Element <strong>

Element <strong> (ang. strong - silny) stosowany w specyfikacji HTML5.

Praktyczny przykład z tagiem <strong>:

// ONLINE-RUNNER:browser;
<!doctype html>
<html>
<body>

   <p>Potrafię napisać <strong>tekst pogrubiony</strong></p>

</body>
</html>

 

0 comments Add comment
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