What is the correct HTML for referring to an external style sheet?
A. <stylesheet>mystyle.css</stylesheet />
B. <style src=”mystyle.css” />
C. <link rel=”stylesheet” type=”text/css” href=”mystyle.css”>
❥ ᴅᴏɴ'ᴛ ꜱᴩᴀᴍ☃️
Answers
Answered by
10
Question:-
What is the correct HTML for referring to an external style sheet?
Answer ⤵️
<link rel="stylesheet" type="text/css" href="mystyle.css">
Answered by
31
<link rel="stylesheet" type="text/css" href="mystyle. css"> is the correct syntax for importing an external CSS file. We usually write this in <head> section. The REL attribute defines the relationship that the linked resource has to be document from which it is referenced.
Hope it helps you dear friend!
Similar questions