.Code HTML and CSS for the following: Place three images inside the display area of your web page. The dimensions of the images are imgA: height = 20%; width = 100px imgB: height = 150px; width = 250rem imgC: height = 180vmin; width = 50% Display imgA and have it positioned 100px from the left of its container and 100vmax from the top. Display imgB and have it positioned 120px from the left of its container and 120em from the bottom. Display imgC and have it positioned 200px from the top of its container and centered horizontally. The order of HTML code for displaying the three images are to be imaA code, then imaB code, and finally imaC code.  Make sure imgA is displayed on top of imgC and imgC is on top of imgB. Code all mandatory attributes. Given a choice, always use a property instead of an attribute.

New Perspectives on HTML5, CSS3, and JavaScript
6th Edition
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Patrick M. Carey
Chapter2: Getting Started With Css: Designing A Website For A Fitness Club
Section2.1: Visual Overview: Css Styles And Colors
Problem 7QC
icon
Related questions
Question

18.Code HTML and CSS for the following:

Place three images inside the display area of your web page.

The dimensions of the images are
imgA: height = 20%; width = 100px
imgB: height = 150px; width = 250rem
imgC: height = 180vmin; width = 50%

Display imgA and have it positioned 100px from the left of its container and 100vmax from the top.
Display imgB and have it positioned 120px from the left of its container and 120em from the bottom.
Display imgC and have it positioned 200px from the top of its container and centered horizontally.

The order of HTML code for displaying the three images are to be imaA code, then imaB code, and finally imaC code. 

Make sure imgA is displayed on top of imgC and imgC is on top of imgB.

Code all mandatory attributes.

Given a choice, always use a property instead of an attribute.

  1.  
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Properties of CSS
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning