Multiple choice technology web technology

What is the correct HTML for referring to an external style sheet?

  1. <style src="mystyle.css">

  2. <stylesheet>mystyle.css</stylesheet>

  3. <link rel="stylesheet" type="text/css" href="mystyle.css">

  4. None of the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The correct HTML syntax for linking an external style sheet is using the element with rel='stylesheet', type='text/css', and href pointing to the CSS file. The element is for internal styles, not external linking. Option C shows the standard, W3C-recommended syntax that works across all browsers.