Chapter 10: CSS in HTML

Chapter 10: CSS in HTML

Chapter 10: CSS in HTML

Fill in the Blanks

  1. CSS stands for _______.
  2. Answer: Cascading Style Sheets

  3. Inline CSS is applied directly within an HTML element using the _______ attribute.
  4. Answer: style

  5. External stylesheets are linked using the _______ tag.
  6. Answer: <link>

  7. The color property is used to set the _______ of text.
  8. Answer: color

  9. The font-size property controls the _______ of text.
  10. Answer: size

True or False

  1. CSS is used to define the structure of a webpage.
  2. Answer: False

  3. External stylesheets are linked using the <link> tag.
  4. Answer: True

  5. Inline CSS cannot be overridden by external stylesheets.
  6. Answer: False

  7. The color property is used to change the background color.
  8. Answer: False

  9. The font-size property adjusts the text size.
  10. Answer: True

Answer in One Sentence

  1. What is the purpose of CSS?
  2. Answer: CSS is used to style and design webpages.

  3. How do you apply inline CSS?
  4. Answer: Inline CSS is applied using the style attribute within an HTML element.

  5. What tag is used to link external CSS files?
  6. Answer: The <link> tag is used to link external CSS files.

  7. How do you change the text color in CSS?
  8. Answer: You use the color property to change text color.

  9. What property controls the size of text?
  10. 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

Popular posts from this blog

Index Class V - Excel - ICT

Interactive Worksheet - Excel-V True or False- Quiz

Interactive Worksheet - Excel-V Fill-in-the-Blanks Quiz