Learn HTML Underline Tag u with Examples

Learn the HTML Underline Tag   with Examples
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.

 ✷ HTML Underlined Tag

Syntax 

<u> underlined text </ul>

✷ Learn HTML Underline Tag  u with Examples

    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

Learn the HTML Underline Tag   with Examples

Related Post :-

javascript if else statement










Comments

Popular posts from this blog

HTML Tag

CSS Text Color Explained with Syntax and HTML Examples

html script tag attributes

CSS text-emphasis-color Property

HTML Input Type Submit Syntax and Example

CSS Padding Property Explained

How to Display T Pattern in C with Star (*) – Step-by-Step