Solved

<link rel="????"> tag

Posted on 2002-03-21
6
224 Views
Last Modified: 2010-04-09
<link rel="????"> tag

okay, what exactly does this tag do?
0
Comment
Question by:ckaneta
6 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
Comment Utility
It does a whole bunch of things depending on the value of the rel property:

See here for more detail:

http://www.blooberry.com/indexdot/html/tagpages/l/link.htm

Cd&
0
 
LVL 3

Author Comment

by:ckaneta
Comment Utility
ok, but it still doesn't tell me specifically what it does.

for instance:
<link REL="STYLESHEET" HREF="http://www.company.com/mystyles.css" TYPE="text/css">
would putting something like this on a page load the file mystyles.css along with the webpage?

and this
<link TITLE="Here is my home page" REL="HOME" HREF="myhome.htm">

if I put that in an html doc, what would be the result?
would it display myhome.htm too?
0
 

Accepted Solution

by:
taftman earned 75 total points
Comment Utility
<link rel="stylesheet" href="foo.css" type="text/css">

This will load the mentioned CSS document (foo.css) along with the HTML page into the clients browser.

"LINK" causes the parent file to have a relationship with another document.  In this case, with the CSS document your browser knows what it is and reacts properly, as I understand it... not too many other uses are supported yet.

hope that helps
- rob
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 22

Expert Comment

by:CJ_S
Comment Utility
CSS is a way to adjust your styles.

For example you can put in a css style which sets the font for the whole website.

CJ
0
 
LVL 3

Author Comment

by:ckaneta
Comment Utility
ok, I have an understanding of css...

what I'm most curious about is this:
<link TITLE="Here is my home page" REL="HOME" HREF="myhome.htm">


basically is it doing something constructive, or is it just taking up space?


-- if it actually is doing something constructive, what is it doing?
0
 

Expert Comment

by:taftman
Comment Utility
<link TITLE="Here is my home page" REL="HOME" HREF="myhome.htm">

This is a "REL" link which is a forward link, I'm unsure of the relevance of a forward link versus a reverse (rev) link.  This code relates "myhome.htm" to the current page and what happens next is sorta up to the browser.

The W3C reference has more detailed information:
http://www.w3.org/TR/html401/struct/links.html#edef-LINK

It seems pretty self explainatory, I hope this helps.

- rob
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now