CREATING URLs & HYPERLINKS in XHTML: Links to Articles & Tutorials for XHTML Linking such as how to write url links, absolute addresses, relative addresses, embedding non XHTML content, image linking, and more.
We're going to do the same thing today with Links. We're going to talk about how to build links and how they work in XHTML. As was discussed last time, XHTML is HTML 4 with an XML flavor, so as a topic is covered we'll be discussing any differences between HTML and XHTML.
Writing the URL
The URL is called the uniform resource locator for a reason. It is a standard by which anything that can be addressed through the World Wide Web is assigned an address. All URLs take the form of…
Types of URLs
There are many types of URLs. At last count there were nearly a hundred different types of URLs. There is supposed to be a way to specify a unique type of URL for every type of content available on the Internet. Fortunately, you will normally ever only need to worry about a few of them. Here is a brief overview of the common ones...
Relative and Absolute Addresses
Absolute URLs are the complete URL from the protocol (normally http:) to the finest level of detail required to uniquely identify a single document on the network. Relative URLs only contain the information that is required to determine the new location, or what is different from the current location.
Hyperlinks can be located most anywhere in a document and can link that document to other documents most anywhere on the Web. The a tag that marks a hyperlink is often called an anchor. I will stick with the method of differentiating between anchors and hyperlinks.
Embedding Non-XHTML Content
The hyperlink tag is not the only way to link content in a Web page. There are other tags that are specific in function and specific in the nature of the content they can link to. The primary ones are..
Linking to other pages
Linking to other pages is what turns a collection of webpages into a website. Without links a website is totally useless, and the Internet would not be what it is today…
Links within a document
Sometimes when you visit a website there is a link at the bottom of the page that reads "back to top", or when you enter the page it jumps half way down to a particular point on the page. This is done using markers within the linked page.
Hyperlinks, usually abbreviated links, are a fundamental part of the Internet. A link takes you from one document to another just by clicking on it. By default, in most web browsers links appear blue and underlined. When you put your mouse over a link, in most web browsers, the mouse changes into the shape of a hand with an outstreched index finger.
To make an image into a link, then justplace the image tag inside the anchor tag, as follows…
Links are an essential part of a website, because with a simple mouse click they let you transfer to another page anywhere on the web.
The feature that best characterizes the World Wide Web is the ability to link directly from one page to any other page anywhere on the Web. Normally, this hyperlinking is triggered by a mouse click on a letter, word, phrase, or graphic on the linking page, with the linked page retrieved and loaded immediately into the browser. Web links can be made to local pages in the same directory as the linking page or to a page at any other site on the Web. This is a very powerful, yet easy to use, feature that permits you to navigate to pages located around the world with the simple click of the mouse.
You probably have visited Web sites at which you are automatically redirected from one page to another. This technique is often used when a home page is moved from one URL to another. For a certain period of time the original URL redirects to the new URL until users have a chance to change their bookmarks or link references.
While text may be the meat and bones of an HTML or XHTML document, the heart is hypertext. Hypertext gives users the ability to retrieve and display a different document in their own or someone else's collection simply by a click of the keyboard or mouse on an associated word or phrase (hyperlink ) in the document. Use these interactive hyperlinks to help readers easily navigate and find information in your own or others' collections of otherwise separate documents in a variety of formats, including multimedia, HTML, XHTML, other XML, and plain ASCII text. Hyperlinks literally bring the wealth of knowledge on the whole Internet to the tip of the mouse pointer.
Use the HTML/XHTML a tag to create links to other documents and to name anchors for fragment indentifiers within documents.
Creating Effective Links
A document becomes hypertext by tossing in a few links in the same way that water becomes soup when you throw in a few vegetables. Technically, you've met the goal, but the outcome may not be very palatable.
A hyperlink is something you can click that takes you from one location to another. This can be a different site, different page, or different area on the same page. The address that your browser is viewing changes to the address the hyperlink tells it to. This will have the same effect as typing in the URL in the hyperlink. If the file the hyperlink points to isn't a page, the browser will attempt to view it if it has support for that type of file. Otherwise, you'll receive a "save as" box.
Uploading and Linking to Images
Just like Web pages, to be seen on the Web, images need to be moved from your hard drive to the Web server. This is called uploading. Depending upon your Web server, you will either use an FTP client or a Web page uploading form.
One of the more interesting aspects of XHTML 2.0 is the idea that nearly anything can be a link. The concept of this is that rather than having the following code…
WRITE ARTICLES FOR US & FREE PROMOTION OF YOUR GRAPHIC DESIGN BUSINESS
We are looking for submissions of Graphic Design Tutorials and Articles from Knowledgeable Graphic Designers and Publishing Professionals. We will add a paragraph about your graphic design services (or other services as long as it is not offensive) along with your published article. We will add your contact information, including your graphic design business' website link, within this paragraph. AllGraphicDesign.com gets around 16,000 Unique Visitors every day and this could mean a nice amount of traffic being sent to your graphics business' web site (or your graphic design portfolio). Find Out More Here
Graphic Design Menu
US YOUR HOMEPAGE
UP FOR NEWSLETTER ::
YOUR PORTFOLIO FREE ::
OUR FRIENDS -- Adobe Photoshop Tutorials -- Photoshop, Flash, 3D Studio Max Tutorials -- Web Designers & Developers --Photoshop Tutorial Man -- Tutorial Guide -- Free Webmaster Tutorials -- Web Designers -- Web Design Portfolio --AllFreelanceWork--AllFreelance--Artists Helping Children --All Creative Portfolios -- All Work at Home Ideas
Design Resources Center is always looking for more information & resources to
put into our graphics directory portal. If you have any
design or dtp resources that you think would fit in well, such as graphics software links, graphics and clipart foundries, objects, filters,
fonts, desktop publishing or other graphic design resources articles,
templates, etc...Please email us and let us know. All Graphic Design Resources Center has been around since 1998 (originally as deezin dot com), offering desktop publishing information and graphic
design resources to make your web search for graphics stuff easier.
Let us know how we can make All Graphic Design site more helpful for
you! All informational links are hand added by an editor. Thank you for visiting
our site and don't forget to bookmark this site.
R E L A T E D . L I N K S
and software are the copyrighted works of Allfreelance, ©
2003 - 2019 QuinStreet, Inc.