Understanding the Float Property in CSS
5 Questions
3 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What property can be set to make text wrap around an image?

  • position
  • padding
  • margin
  • float (correct)

What is the ID given to the image in the text?

  • img-one
  • img1 (correct)
  • img-1
  • image-1

What happens when an image is floated to the left?

  • Text does not wrap around the image
  • Image disappears from the page
  • Text wraps around the left side of the image (correct)
  • Text wraps around the right side of the image

Which property sets the space to the right of the image?

<p>margin-right (C)</p> Signup and view all the answers

What should be adjusted to change the space on the right-hand side of the image?

<p>margin-right (C)</p> Signup and view all the answers

More Like This

Use Quizgecko on...
Browser
Browser