What is the difference between <link href> and <a href>? How do i link 1 or more than 1 particular css document to a html one? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the difference between <link href> and <a href>? How do i link 1 or more than 1 particular css document to a html one?

<link href> and <a href>

11th Apr 2020, 12:56 AM
Joan Ojiako
Joan Ojiako - avatar
4 Answers
+ 2
The anchor element is used to link to another page or to a certain part of the page if you use its ID. And The link tagdefines a link between a document and an external resource. The link tag is used to link to external style sheets.
11th Apr 2020, 1:01 AM
Ayush Kumar
Ayush Kumar - avatar
+ 1
Use the following syntex to link different css documents to your page <link rel="stylesheet"type="text/css" href="sample.css">
11th Apr 2020, 1:03 AM
Ayush Kumar
Ayush Kumar - avatar
0
Oh, wow. Thanks!😄
11th Apr 2020, 1:03 AM
Joan Ojiako
Joan Ojiako - avatar
0
U r welcome
11th Apr 2020, 1:07 AM
Ayush Kumar
Ayush Kumar - avatar