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
Updated on 02-Mar-2020 12:31:16

Advertisements