Solved

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

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

okay, what exactly does this tag do?
0
Comment
Question by:ckaneta
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 6886016
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
ID: 6886078
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
ID: 6886382
<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
Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

 
LVL 22

Expert Comment

by:CJ_S
ID: 6888534
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
ID: 6888977
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
ID: 6889090
<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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
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…

617 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