h1.all {background-color:red;}
h1 {background-color:red;}
all.h1 {background-colorred;}
.h1{background-color:red}
text-color
color
font-color
All of These
font-size
text-size
font-style
text-style
<p style="font-size:bold;">
p {text-size:bold;}
<p style="text-size:bold;">
p {font-weight:bold;}
a {decoration:no-underline;}
a {underline:none;}
a {text-decoration:none;}
a {text-decoration:no-underline;}
You can't do that with CSS
transform:capitalize
text-style:capitalize
text-transform:capitalize
font-family
font-weight
style:bold;
font:bold;
font-weight:bold;
text:bold;
border-width:10px 1px 5px 20px;
border-width:5px 20px 10px 1px;
border-width:10px 20px 5px 1px;
border-width:10px 5px 20px 1px;
margin-left
indent
padding-left
left-margin
list-style-type: square;
list-type: square;
list: square;
list-style: square;
div p
div.p
div + p
div ~ p
Separate each selector with a plus sign
Separate each selector with a comma
Separate each selector with a space
absolute
static
fixed
relative
Apply styles for the web page
Define structure of the web page
Provide meaning to the sections of the web page
None of the above
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; }
id
class
tag
both b) and c)
*test
#test
.test
test
article
html