473,396 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How does LINK work?

Hey, I've read the explanation about the LINK tag in w3schools, but I still can't quite understand it- what does that tag do, how do I use it properly, and how does it appear in the web browser.

Thanks in advance,
LightBringer.
Sep 29 '07 #1
4 1621
drhowarddrfine
7,435 Expert 4TB
<link> is used to show a relationship between one document and another. For example, most people use <link> to include CSS styling written in another document in the HTML document they are displaying (the web page). It's done like this:
<link rel="stylesheet" href="style.css" type="text/css">

rel is stating what the relationship with this html document the other page is. It's a stylesheet.

href is saying where the other document is.

type is stating how the other document is presented, in plain text with css syntax and data.

<link>
Sep 30 '07 #2
<link> is used to show a relationship between one document and another. For example, most people use <link> to include CSS styling written in another document in the HTML document they are displaying (the web page). It's done like this:
<link rel="stylesheet" href="style.css" type="text/css">

rel is stating what the relationship with this html document the other page is. It's a stylesheet.

href is saying where the other document is.

type is stating how the other document is presented, in plain text with css syntax and data.

<link>
Thanks for the help.
Anyway, I found the following code:
Expand|Select|Wrap|Line Numbers
  1. <link rel="shortcut icon" href="favicon.ico">
What does it do?


Another question: I've read that you can add more than one style sheet, and you can define one of them as your preferred one, and define the others as an alternatives. My question is- how does the user choose which style sheet to use?
Sep 30 '07 #3
drhowarddrfine
7,435 Expert 4TB
What you show is the 'favicon', the little logo you see in the address bar of this page up at the top.
Here's an article about alternate stylesheets.
Sep 30 '07 #4
Thank you very much :)
Oct 1 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: delerious | last post by:
I have a DIV that contains some links. I have an onmouseout event handler on the DIV, and I want it triggered only when the mouse leaves the DIV. Since there are Anchors in the DIV, onmouseout...
5
by: me | last post by:
I have a Class Library that contains a Form and several helper classes. A thread gets created that performs processing of data behind the scenes and the Form never gets displayed (it is for debug...
10
by: BlueDolphin | last post by:
I'm not sure if this is a question or more of a rant... but I'm looking for some input on this from other developers out there. How often has the following happened to you and how have you dealt...
9
by: Downstreamer | last post by:
Design is as follows: A form for the user to input criteria to be used as the where part of the report's recordsource. This includes a multiselect list box as part of the criteria selection. ...
11
by: Nick | last post by:
This is really starting to piss me off. Someone please prove me wrong. Here is a link to the function in DX 9 sdk....
11
by: Brian W | last post by:
Yet another editor problem To reproduce do the following 1) Open a Webform and switch to HTML edit mode 2) Enter the Following (include spaces) This is some text before <asp:hyperlink...
7
by: TLM | last post by:
I am trying to build a web application that will contain links to files on a users local computer. I am assuming that the files will be in a known location and can display in a browser window. ...
10
by: PJ6 | last post by:
In the VB runtime I can specify paths from the base directory with ~ like so- Page.LoadControl("~\Controls\SomeControl.ascx") but when rendering the LINK tag HTML at runtime, this doesn't work...
2
by: genojoe | last post by:
Using ADOX to update a Property does not work. I want to change the Access database for a linked table. My abridged code is: Dim oCAT As ADOX.Catalog oCAT = New ADOX.Catalog...
17
by: StevePBurgess | last post by:
A really simple script is driving me up the wall. I have a very simply facility on a website to allow the user to reorder items in a database table as she wishes by clicking a link that (in this...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.