Become Joomla Developer

Link Tag <a>

Link Attributes

<a href="url" > Location of page link to

<a Name=" " > Name of a specific section on the page

<a href="url#name" > Link to a specific part in another page. #name is the specific point like anchor

<a target="_blank/_self/_top/_parent" > use to open the target URL.

  • _blank: the target URL will open in a new window
  • _self: the target URL will open in the same frame as it was clicked
  • _parent: the target URL will open in the parent frameset
  • _top: the target URL will open in the full body of the window

Example:

<html>
    <Head><title>Link</title></Head>
    <body>
        <Table width="500" border="0" cellpadding="3" cellspacing="5">
            <tr>
                <td width="150">
                    <ul>
                        <li><a href="page1.html">Page 1</a></li>
                        <li><a href="page2.html">Page 2</a></li>
                        <li><a href="page3.html">Page 3</a></li>
                        <li><a href="page4.html">Page 4</a></li>
                    </ul>
                </td>
                <td>
                    <h1>This is page 1</h1>
                    <img src="images\1.jpg">
                </td>
            </tr>
        </table>
    </body>
</html>

Suggestion | Contact US | About US | Term of Use | Privacy Policy | Advertiseing