Inline
Internal
External
All of these
1
2
3
None of these
<style> tag
style attribute
class attribute
External stylesheet
a) <link rel="stylesheet" type="text/css" href="style.css">
<style src="style.css">
<link type="text/css" href="style.css">
<style link="style.css">
font-color
text-color
color
text-style
Adds space inside an element
Adds space outside an element
Sets the font size
Changes the background color
letter-spacing
word-spacing
text-spacing
line-spacing
Hides the element
Changes the font
Increases the element's size
Makes the element visible
Adds rounded corners to an element
Aligns an element to the center
Moves an element to the left or right
Changes the transparency of an element
background-color
bgcolor
background
<!-- Comment -->
// Comment
/* Comment */
# Comment
It is a separate document that contains CSS rules
It separates content from the presentation but both are still contained in a single file
It separates the content and style into separate files
. It allows a web designer and a content author to work in parallel
The external CSS rule is applied
The inline style is applied
Both are ignored
The browser applies the styles randomly
Inline CSS
External CSS
Embedded CSS
Import XML
<link>
<style>
<script>
<css>
E[attr^=value]
E[attr$=value]
E[attr*=value]
E ~ F
::after
:checked
:default
:%
:disabled
:element
:empty
:enabled
:first-child
:last-child
::first-line
::first-letter