How do we create underlined text in HTML?

HTMLWeb DevelopmentFront End Technology

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>
raja
Published on 13-Mar-2018 11:24:14
Advertisements