Attributes

HTML Attributes

The Anchor Tag and the Href Attribute

  • HTML uses the <a> (anchor) tag to create a link to another document.
  • Example

    <html>
    <Head>
    <tittle>The syntax of creating an anchor: </tittle>
    </Head>
    <body>
    <a href="">Text to be displayed>/a>
    </body>
    </html>