What is the proper html syntax for referencing an external style sheet?
What is the proper html syntax for referencing an external style sheet?
बाहरी स्टाइल शीट को संदर्भित करने के लिए उचित एचटीएमएल सिंटैक्स क्या है?
(a) <style src=”demostyle.css”>
(b) <stylesheet>demostyle.css</stylesheet/>
(c) <link rel=”stylesheet” type=”text/css” href= “demostyle.css”>
(d) None of these/इनमें से कोई नहीं
Detailed Solution & Logic
c
प्रत्येक HTML पेज में हेड सेक्शन के अन्दर <link> एलिमेन्ट के अन्दर बाहरी स्टाइल शीट फाइल का संदर्भ शामिल होना चाहिए।बाहरी स्टाइल शीट को HTML में लिंक करने का सही सिंटैक्स है।
<link rel="stylesheet" type = "text/css" href= "demostyle.css">
Similar Practice Questions
In the given img tag, what “img.png” inside the double quote implies?
In the given img tag, what “img.png” inside the double quote implies? दिए गए img...
Which of the following validations is expected from the given JavaScript function?
Which of the following validations is expected from the given JavaScript function? दिए गए जावास्क्रिप्ट...
Which of the following ways are valid to specify white color using CSS?
Which of the following ways are valid to specify white color using CSS? I. #FFFFFF...
In which of the following way you can insert a SCRIPT tag in JavaScript?
In which of the following way you can insert a SCRIPT tag in JavaScript? आप...
DOM represents a webpage in what way?
DOM represents a webpage in what way? DOM किस तरह से वेबपेज को दर्शाता है?
HSL in CSS stands for?
HSL in CSS stands for? CSS में HSL का क्या अर्थ है?
Which of the following class is used to set the background color displayed by W3.CSS? /
Which of the following class is used to set the background color displayed by W3.CSS?...