Home arrow HTML arrow HTML: Working with Special Characters
HTML

HTML: Working with Special Characters


In the last article we discussed formatting, colors, and working with backgrounds. In this episode, we'll learn how to work with links and special characters, called Entities, in HTML.

Author Info:
By: James Payne
Rating: 4 stars4 stars4 stars4 stars4 stars / 2
February 13, 2008
TABLE OF CONTENTS:
  1. · HTML: Working with Special Characters
  2. · Linking to Someone Else’s Website
  3. · Opening a Link In a New Window
  4. · How to Create a Mailto Link
  5. · Special Characters/Entities in HTML

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
HTML: Working with Special Characters
(Page 1 of 5 )

Working with Links

Links in HTML allow the user to navigate pages. Duh. A link can be attached to text or images and even objects, such as pull down menus, buttons, and so forth. They typically link to another page either within your website or someone else’s website, though they can also link to different places on the same page. They may also point to a music or video file or even documents, such as a PDF.

Linking to a Page within Your Own Website

To link to a page within your website, you simply use the <a href> tag, like so:


<html>

<body>


<p>

<a href="lastpage.htm">Nerd</a>

</p>


</body>

</html>

Let’s say you had a website named funnypeople.com. The above code, when referenced by your browser, would interpret the line <a href=”nerd.htm”> as a link to the page funnypeople.com/nerds.htm. The word Nerd would be displayed in the browser and when the user clicked the word, it would load the funnypeople.com/nerds.htm page.


blog comments powered by Disqus
HTML ARTICLES

- HTML5 Boilerplate: Working with jQuery and M...
- HTML5 Boilerplate Introduction
- New API Platform for HTML5
- BBC Adopts HTML 5, Mozilla Addresses Issues
- Advanced Sticky Footers in HTML and CSS
- HTML and CSS Sticky Footers
- Strategy Analytics Predicts HTML5 Phones to ...
- HTML5 Guidelines for Web Developers
- Learning HTML5 Game Programming
- More Engaging CSS3 and HTML Background Effec...
- Engaging HTML and CSS3 Background Effects
- More Web Columns with CSS3 and HTML
- Columns with CSS3 and HTML
- Creating Inline-Block HTML Elements with CSS
- Drag and Drop in HTML5: Parsing Local Files

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 5 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials