Chapter 10: CSS in HTML
Chapter 10: CSS in HTML
Fill in the Blanks
- CSS stands for _______.
- Inline CSS is applied directly within an HTML element using the _______ attribute.
- External stylesheets are linked using the _______ tag.
- The color property is used to set the _______ of text.
- The font-size property controls the _______ of text.
Answer: Cascading Style Sheets
Answer: style
Answer: <link>
Answer: color
Answer: size
True or False
- CSS is used to define the structure of a webpage.
- External stylesheets are linked using the <link> tag.
- Inline CSS cannot be overridden by external stylesheets.
- The color property is used to change the background color.
- The font-size property adjusts the text size.
Answer: False
Answer: True
Answer: False
Answer: False
Answer: True
Answer in One Sentence
- What is the purpose of CSS?
- How do you apply inline CSS?
- What tag is used to link external CSS files?
- How do you change the text color in CSS?
- What property controls the size of text?
Answer: CSS is used to style and design webpages.
Answer: Inline CSS is applied using the style attribute within an HTML element.
Answer: The <link> tag is used to link external CSS files.
Answer: You use the color property to change text color.
Answer: The font-size property controls the size of text.
Match the Following
Element/Property | Function |
---|---|
color | Sets the text color |
font-size | Adjusts the text size |
<link> | Links external stylesheets |
style | Inline CSS |
background-color | Sets the background color |
Comments
Post a Comment