Assume you have the following html code: chtml> Lorem ipsum dolor sit amet. consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Add the following internal CSS styling rules to the code; you may use CSS class selectors as needed: Ut • For the div • The width is 500px. Set the background color to green and the border should be solid yellow color with Spx thickness. • The margin distance from the top is 20px. • For the paragraph "p" • Set the background color to red, text color to white. • The padding for all the directions should be 50px.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
QUESTION 15
Assume you have the following html code:
<html><head>
<style>
* Your code goes here "/
</style>
labore et dolore magna aliqua.
</head><body><div class="container"> <p>Lorem ipsum dolor sit amet,
enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. </p></div></body></html>
consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut
Ut
Add the following internal CSS styling rules to the code; you may use CSS class selectors as needed:
• For the div
• The width is 500px.
• Set the background color to green and the border should be solid yellow color with 5px thickness.
• The margin distance from the top is 20px.
• For the paragraph "p"
• Set the background color to red, text color to white.
• The padding for all the directions should be 50px.
Lorem ipsum dolor sit amet, consoctetur adipiscing elit, sod
do eiusmod tempor incididunt ut labore el dolore magna
aliqua. Ut enim ad minim veniam, quis nostrud excrcitation
ullamco laboris nisi ut aliquip ex ea commodo consequat.
Transcribed Image Text:QUESTION 15 Assume you have the following html code: <html><head> <style> * Your code goes here "/ </style> labore et dolore magna aliqua. </head><body><div class="container"> <p>Lorem ipsum dolor sit amet, enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. </p></div></body></html> consectetur adipiscing elit, sed do eiusmod tempor incididunt ut Ut Add the following internal CSS styling rules to the code; you may use CSS class selectors as needed: • For the div • The width is 500px. • Set the background color to green and the border should be solid yellow color with 5px thickness. • The margin distance from the top is 20px. • For the paragraph "p" • Set the background color to red, text color to white. • The padding for all the directions should be 50px. Lorem ipsum dolor sit amet, consoctetur adipiscing elit, sod do eiusmod tempor incididunt ut labore el dolore magna aliqua. Ut enim ad minim veniam, quis nostrud excrcitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Expert Solution
steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Knowledge Booster
Multimedia tools and applications
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
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education