Div tag in html

    href tag in html example
    anchor tag in html example
    hyperlink tag in html example
    anchor tag in html with example pdf
  • Href tag in html example
  • Anchor tag attributes...

    HTML href Attribute

    HTML href Attribute: It is used to specify the URL of the document.

    How to create hyperlink in html with example

  • How to create hyperlink in html with example
  • Href full form in html
  • Anchor tag attributes
  • Html anchor tag within page
  • Link to another html page in same folder
  • It contains the full address of the page that the user requests. It is used to link or connect one document to another document.

    Supported tags:

    HTML <a> href Attribute

    It is used to specify the URL of the page that the link goes to.

    When the href attribute is not present in the <a>, then the element will not be a hyperlink.

    Syntax:

    <a href="URL">

    Example: Below code illustrates the href attribute in <a> element. 

    Output:

    HTML <base> href Attribute:

    The HTML <base> href attribute is used to specify the base URL for all the relative URL of a page.

    Syntax:

    <base href="URL">

    Example: Below code illustrates the href in <base> tag. 

    Output:

    HTML <area> href Attribute:

    The <area> href attribute is used to specify the URL of the target page.

    When the href attribute is not present in the <area>, an element that it will not be a hyperlink.

    Synt

      href tag example
      hr tag in html example