ad

Showing posts with label Learn the HTML Underline Tag. Show all posts
Showing posts with label Learn the HTML Underline Tag. Show all posts

Friday, September 5, 2025

Learn the HTML Underline Tag u with Examples


web designing theory


 HTML Underlined Tag 

The <u> tag represent some text that is unarticulated or styled differently from normal text, such as the misspell words and proper names in Chinese text.

The <u> HTML element is the represents a span of inline text which should be rendered in  way that indicates that  has a non-textual annotation.

           Program

<!DOCTYPE html>

 <html>                                   

      <head>

<title>Underlined Text Example</title>

</head>

<body>

 <p>The following word uses an <u>underlined</u> typeface.</p>

</body>

 </html>

HTML Underlined Tag 

                            Explain Program

Step 1 ]

<!DOCTYPE html>

  •  document type declaration.
  • browser help this is an HTML5 document.

Step 2 ]  

. <html> ... </html>

  • root element of the HTML document.
  • <html> tag is part of the web page.

Step 3 ]  

<title>Underlined Text Example</title>

  •  title of the web page, which appears ON In the browser tab.
  • As the title in search engine results (SEO impact).

Step 4]  

. <body> ... </body>

  • This is the visible part of the webpage.

Step 5] 

  • <p> creates a paragraph. </P>
  • Inside it is some text, and  word underlined  <u>...</u>:
    • <u> stands for underline.
    • It underlines the word underlined.

 HTML Underlined Tag  

          output

Output in Underline

Related Post :-

javascript if else statement