Languages
[Edit]
EN

HTML - underline text

0 points
Created by:
Inayah-Alexander
437

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

Quick solution:

// ONLINE-RUNNER:browser;
<u>underline text</u>

 

Practical example using <u> tag

In this section, we present how to make the underline text using <u> tag.

Practical example:

// ONLINE-RUNNER:browser;

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

Note:

You can also use the CSS solution from the following article: CSS - underline 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