How do we create underlined text in HTML?


The HTML <u> tag is used to underline a text. You can try to run the following code to create underlined text in HTML −

Note − This tag is deprecated now and should not be used. Use CSS instead.

Example

<!DOCTYPE html>
<html>
   <head>
      <title>HTML u Tag</title>
   </head>
   <body>
      <u>Qries.com</u> is the next generation knowledge management system.
   </body>
</html>

Updated on: 02-Mar-2020

224 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements