Style
type
class
None of the above
<style src="mystyle.css">
<stylesheet>mystyle.css</stylesheet>
<link rel="stylesheet" type="text/css" href="mystyle.css">
<link rel="stylesheet" type="text/css" src="mystyle.css">
In the <body> section
At the end of the document
In the <head> section
Any Where in a Page
<css>
<style>
<script>
<link>
{body;color:black;}
{body:color=black;}
body {color: black;}
body:color=black;
// this is a comment //
// this is a comment
' this is a comment
/* this is a comment */
header
footer
nav
aside
style=”tag{property:value;}”
<style> tag{property: value;} </style>
css=”tag{property=value;}”
<style> tag{property=value;} </style>
body { font-size: 20px; }
body { font-size= 20px };
body:{ font-size: 20px; }
body:{ font-size= 20px; }
TRUE
FALSE
Selector and property
Name and content
Head section and body section
None
property-name=value
property-name : value
property-name= value
property-name:value;
External styles
Inline styles
Embedded styles
Html styles
<Link> tag
<Style> tag
<Script> tag
@media
to make that specific paragraph text color as blue
Error
nothing happen
2
3
4
5
Inline
Internal
External
None of These
None of these
/* Comment */
// Comment
# Coment
All of the above