HTML
  Home arrow HTML arrow Page 2 - HTML: Working with Special Characters
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Actuate Whitepapers 
Moblin 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
IBM developerWorks
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
HTML

HTML: Working with Special Characters
By: James Payne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 2
    2008-02-13

    Table of Contents:
  • HTML: Working with Special Characters
  • Linking to Someone Else’s Website
  • Opening a Link In a New Window
  • How to Create a Mailto Link
  • Special Characters/Entities in HTML

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    HTML: Working with Special Characters - Linking to Someone Else’s Website


    (Page 2 of 5 )

    It is also possible to link to another person’s website using the <a href> tag. Here is how you do it:


    <html>

    <body>


    <p>

    <a href="http://www.google.com/">Google</a>

    </p>


    </body>

    </html>

    The above code creates a page with the word Google on it. The <a href> tag places the link to google.com into the word Google. When the user clicks the word, it loads the Google web page.

    Inserting a Link Within An Image

    You can also place a link within an image. This is useful for creating buttons that link to other pages on your website or banners that link to someone else’s site.


    <html>

    <body>

    <p>

    <a href="somepage.htm">

    <img border="0" src="somegraphic.gif" width="75" height="40">

    </a>

    </p>


    </body>

    </html>

    The code above creates a page with an image on it. It then places a link within the image that will load the somepage.htm page when the user clicks on it.

    More HTML Articles
    More By James Payne


       · Hey, thanks for stopping by to read the new installment of my series on HTML. In...
     

    HTML ARTICLES

    - Building Single Row Database Forms with HTML
    - Introduction to Database Forms with HTML
    - Another Look at Animation of Geographical Ma...
    - Animation of Geographical Map Regions
    - Changing and Moving Pictures with CSS
    - Clickable Geographical Map Regions
    - Gradient Creation with the HR Element
    - Text on HTML Images: Do it Yourself
    - Custom Buttons in HTML
    - Quick Web Page Menu
    - Maximizing and Restoring HTML Images with th...
    - Maximizing and Restoring HTML Images with th...
    - Handling Hyperlinks and Images in HTML
    - Quick Start with HTML
    - HTML Tips







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway