Advertisements
Advertisements
Question
How do you tell the browser you are creating a styling section with an internal style sheet?
Options
<style type="css"></style><class type="css"></class><class type="text/css"></class><style type="text/css"></style>
MCQ
Advertisements
Solution
<style type="text/css"></style>
Explanation:
The <style> tag should only be used within the <head> tag of a web page in order to include a style sheet:
<head>
<style type = "text/css">
... css rules ...
</style>
</head>shaalaa.com
Is there an error in this question or solution?
