Languages
[Edit]
EN

HTML - underline text

0 points
Created by:
Inayah-Alexander
767

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.

Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
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