Question:
Linking CSS in html question?
Dave
2013-05-31 10:47:33 UTC
This is the link I used to link my CSS file, it works fine. I am just curious what the files mean.



How do I know what type it is? and what does rel stand for, I understand the href part. Very new at this but I don't like having something work without understand it.
Three answers:
anonymous
2013-05-31 11:03:57 UTC
The Link Type shows the type of file so the server can read it.

The Href attribute tells the server where to find the file.

The rel attribute specifies the relationship between the current document and the linked document.

Only used if the href attribute is present.

Here are some of the possible values for it:



Attribute Values

Value Description

alternate Links to an alternate version of the document (i.e. print page, translated or mirror)

author Links to the author of the document

bookmark Permanent URL used for bookmarking

help Links to a help document

license Links to copyright information for the document

next The next document in a selection

nofollow Links to an unendorsed document, like a paid link.

noreferrer Specifies that the browser should not send a HTTP referer header if the user follows the hyperlink

prefetch Specifies that the target document should be cached

prev The previous document in a selection

search Links to a search tool for the document

tag A tag (keyword) for the current document
Pradeesh Bm
2013-05-31 11:09:15 UTC


link tag is the used to include an external file to the web document in which it is defined. Type specifies what type of file we are including, whether it is text file, binary, hex or something else. Rel specifies 'relation'. We can specify 'fevicon', 'shortcut' icon as the relation attribute value.

Href is the path of the file which has to be included..
Omicron
2013-05-31 10:51:34 UTC
i just learned that but i prefer this method







to find out more google it.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...