-8">             Part 1a - Floats</t

New Perspectives on HTML5, CSS3, and JavaScript
6th Edition
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Patrick M. Carey
Chapter5: Designing For The Mobile Web: Creating A Mobile Website For A Daycare Center
Section: Chapter Questions
Problem 19CP1
icon
Related questions
Question

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Part 1a - Floats</title>
    <style>
        /* Write your style rule here */
    </style>
</head>
<body>
    <!-- Write your HTML here -->
</body>
</html>

Part la - Floats (float-content.html)
Implement a drop cap letter in float-content.html. Using placeholder text
(https://loremipsum.io/) for the text content. Use em units for expressing all sizes/spacing in
your style sheets. You will need to add HTML elements and style rules to complete this section.
Style Requirements:
The line height for all elements should be lem
• The font size for the drop cap letter should be 3em
• The font of the drop cap letter should be different than the font of adjacent text
Remove all margins from the drop cap letter except for the right margin
o You can experiment with the right margin until you find a value that you think
looks good
Text should flow around the drop cap letter
HTML Requirements:
1 x Paragraph element
• 1x Span element
When you are done you should have something that looks like the images below:
Reduced Screen Size
ed ut perspiciatis unde omais iste nats emor sit voluptatem
accusantim doloremge laudantium. tam em speriam.cague ipsa
quae ab illo invetore veritatis et quasi architecto beatae vitae dicta
sunt enplicabo. Nemo enim ipsam voluptatem quia voluptas sit apematur
aut odit aut fugit,
veluptatem sequi nesciunt. Neque pomo quisquam est.qui delorem ipsum
quia dukr sit aet, consectetur, adipisci velit, sed quia on umqua eius
modi tempors incidunt ut labore et dolore magnam aliquam quaerat
voluptatem. Dt enim ad minima veniam, quis nosrum eserciationem
ullam corporis suscipit laborionam, misi ut aliquid es ca commodi
conequatur? Quis autem vel eum iure reprehenderit qui in ca voluptate
velit esse quam nihil molestiae comequatur, vel illum qui dolorem eum
fugiat que valuptas nalla pariatur?
, sed quia consequtr magni doloes cos qui raione
Full Screen Size
Transcribed Image Text:Part la - Floats (float-content.html) Implement a drop cap letter in float-content.html. Using placeholder text (https://loremipsum.io/) for the text content. Use em units for expressing all sizes/spacing in your style sheets. You will need to add HTML elements and style rules to complete this section. Style Requirements: The line height for all elements should be lem • The font size for the drop cap letter should be 3em • The font of the drop cap letter should be different than the font of adjacent text Remove all margins from the drop cap letter except for the right margin o You can experiment with the right margin until you find a value that you think looks good Text should flow around the drop cap letter HTML Requirements: 1 x Paragraph element • 1x Span element When you are done you should have something that looks like the images below: Reduced Screen Size ed ut perspiciatis unde omais iste nats emor sit voluptatem accusantim doloremge laudantium. tam em speriam.cague ipsa quae ab illo invetore veritatis et quasi architecto beatae vitae dicta sunt enplicabo. Nemo enim ipsam voluptatem quia voluptas sit apematur aut odit aut fugit, veluptatem sequi nesciunt. Neque pomo quisquam est.qui delorem ipsum quia dukr sit aet, consectetur, adipisci velit, sed quia on umqua eius modi tempors incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Dt enim ad minima veniam, quis nosrum eserciationem ullam corporis suscipit laborionam, misi ut aliquid es ca commodi conequatur? Quis autem vel eum iure reprehenderit qui in ca voluptate velit esse quam nihil molestiae comequatur, vel illum qui dolorem eum fugiat que valuptas nalla pariatur? , sed quia consequtr magni doloes cos qui raione Full Screen Size
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Function Arguments
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
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