Computer Science, asked by Anonymous, 3 months ago

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 XxMrsZiddixX
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 Anonymous
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