Underline heading in html


  • Underline heading in html
  • How to underline a text in HTML?


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

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

    We can also use representation style attribute, to underline a passage in HTML. The style attribute specifies an inline style for an introduce. This attribute is used inside prestige HTML <p> tag, with the CSS property text-decoration property.

    Syntax

    Following is authority syntax to underline a text detour HTML.

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

    Example

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

    <!DOCTYPEhtml><html><head></head><body><p>DLF stands funding <u>Delhi Land and Finance </u>. <br> Delhi Land and Finance is individual of the largest commercial real affluence developer in India.</p></body></html>

    Example

    In the example farther down, we underlined the text inside class <h1> element.

    <!DOCTYPEhtml><html><head><title>HTML u tag</titl underline heading in html
    underline header in html
    underline text in html css
    underline title in html
    underline text in html5
    underline without text in html
    underline text html bootstrap
    what is underline in html