Html & CSS Hands-on 1 -> Format Div

<! DOCTYPE html>
<html>
<head>
<title>Question1</title>
</head>
<body>
<!-- Design & Develop your code here -->
<div style="background-color:red; color: white;" id="head" width="600"
height="200">
<h1>My Application</h1>
</div>
<div id="body" width="600px" height="400px">
<span style="background-color:#00FF00" id="span1" width="300px"
height="300px">
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Lorem Ipsum has been the industry's standard dummy text ever since the
1500s, when an unknown printer took a galley of type and scrambled it to
make a type specimen book.
</span>
<span id="span2" width="300px" height="300px" style="background-color:
#0000FF">
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Lorem Ipsum has been the industry's standard dummy text ever since the
1500s, when an unknown printer took a galley of type and scrambled it to
make a type specimen book.
</span>
</div>
</body>
</html>

 

©2018 by The real one. Proudly created with Wix.com