Percentage

Report a typo

Judith wants to use CSS properties to set the width of the image using percentage (%). Relative to which element will the width be calculated?

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Sunny day</title>
  </head>
  <body>
     <div>
       <p>It was sunny today. I love this weather!</p>
       <img src="sun.gif">
     </div>
  </body>
</html>
Enter a short text
___

Create a free account to access the full topic