You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.
<p>By default, images are displayed at their full resolution and size. They can be resized using CSS, for example, this page uses a CSS rule that styles all elements that use the <code>IMG</code> tag.</p>
<h1>Experiment</h1>
<ul>
<li>Notice that the <code>img</code> element contains <em>no</em> styling instructions.</li>
<li>What happens when both <code>width</code> and <code>height</code> CSS properties are used simultaneously? Does this image look 'right'?</li>
<li>What happens if a second image is added to the page? Are both images formatted the same?</li>
<li>What happens if the <code>font-size</code> in the <code>body</code> rule is chanegd to <code>2em</code>, <code>3em</code> or larger?</li>
<li>What alternative sizing units are there?
<ul>
<li>What about <code>%</code>, <code>em</code> or <code>vmin</code>?</li>
<li>Try <code>15em</code> and <code>100vw</code></li>
<li>When <code>img</code> width is not defined using <code>em</code><em>s</em> what happens to the image if you change the size of the <code>font-size</code> in the <code>body</code> rule?</li>