Html underline link

    underline heading in html
    underline header in html
    underline text in html css
    underline title in html
  • Underline heading in html
  • Html underline color...

    How to underline a text in HTML?


    Underlined text is used to help draw attention to the text.

    We use the <u> tag, to underline a text in HTML. It represents a text in a different style from another text in the content of the web page.

    We can also use the style attribute, to underline a text in HTML.

    Html underline css

  • Html underline style
  • Html underline color
  • Underline text
  • How to underline button text in html
  • The style attribute specifies an inline style for an element. This attribute is used inside the HTML <p> tag, with the CSS property text-decoration property.

    Syntax

    Following is the syntax to underline a text in HTML.

    <u>The content to be underlined</u>

    Example

    Following is the example program to underline a text in HTML.

    <!DOCTYPEhtml><html><head></head><body><p>DLF stands for <u>Delhi Land and Finance </u>.

    <br> Delhi Land and Finance is one of the largest commercial real estate developer in India.</p></body></html>

    Example

    In the example below, we underlined the text inside the <h1> element.

    <!DOCTYPEhtml><html><head><title>HTML u tag</titl

      underline text in html5
      underline without text in html