<Link type = "text/css" rel = "stylesheet" href = "1.css"/>
For front-end workers, this sentence should be very common. But for an IT worker who is idle, the question is always scratching his ears. Why?
Now let the sprinkling house start to ask questions. I hope you can answer questions (^_^ ).
1: What Does type = "text/css" mean? What does this mean? I checked it online, compared it with multiple parties, and added my own understanding. I gave the answer.
I checked it online, compared it with multiple parties, added my own understanding, and gave the answer.
Describes the relationship between this page and the linked page. So what relationship does stylesheet represent? Is it a good friend or a small three, or the original configuration? Find the answer.
The original rel is used to indicate that a style sheet needs to be linked.
Rel has many other values. I really don't know why IT is used. I will list them now. Do IT workers come to post their answers on their own.
Alternate, alternate stylesheet, chapter... too many. If you are interested, follow the post.
Media,
Screen: indicates that the style of the style sheet is used on the display.
Print: The style displayed during printing.
Projection: aural: braille: tty: TV: all: