• home
  • forum
  • my
  • kt
  • download
  • Hyperlinks

    Author: 2007-08-13 09:18:47 From:

    Welcome, today you will learn how to make a hyperlink.

    Code:
    <a href=http://yourdomain.com/ />URL</a>
    Basic url.
    Output: URL

    By default that will open in the same page, if you want it to open in a new page you add this.

    Code:
    <a href=http://yourdomain.com/ target='_BLANK' />URL</a>
    You can also use target to select an iframe so the url will open in the iframe.

    You can create a label so a link can go to a spacific part of the page without the user scrolling for it.
    Code:
    <a name='scroll'>No need to scroll to here</a>
    To jump directly to that you would use a normal hyperlink followed by #scroll

    Code:
    <a href=http://yourdomain.com/scroll.php#scroll />URL</a>


    Create a mailto
    To create an email link, the code is identical accept one tiny piece.

    discuss this topic to forum

    relation tutorial

    No relevant information

    Category

      Ad Management (4)
      Calendars (3)
      Chat Systems (7)
      Content Management (6)
      Cookies and Sessions (8)
      Counters (8)
      Database Related (8)
      Date and Time (9)
      Development (6)
      Discussion Boards (7)
      E Commerce (6)
      Email Systems (9)
      Error Handling (5)
      File Manipulation (10)
      Flash and PHP (4)
      Form Processing (7)
      Guestbooks (8)
      Image Manipulation (3)
      Installing PHP (5)
      Introduction to PHP (9)
      Link Indexing (6)
      Mailing List Management (8)
      Miscellaneous (10)
      Networking (6)
      News Publishing (6)
      OOP (8)
      PEAR (6)
      PHP vs Other Languages (2)
      Polls and Voting (5)
      Postcards (0)
      Randomizing (8)
      Redirection (8)
      Searching (6)
      Security (6)
      Site Navigation (7)
      User Authentication (10)
      WAP and WML (7)
      Web Fetching (0)
      Web Traffic Analysis (11)
      XML and PHP (0)

    New

    Hot