EN
HTML - underline text
0
points
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.