Temp
Temp
ALL
1
1. Xplore : UI : Format Div
#### Instruction
Create a web application which is used to display a formatted paragraph using <div>
tag as shown bellow.
2) Display a header in <h1> tag with a message as "My Application" and need to be
aligned to center.
"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."
"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."
Git Instructions
Use the following commands to work with this project
Run
Copy
npm start
Test
Copy
npm test
Install
Copy
npm install
Instructions
Web IDE
Test Results
Help
Run Tests
Submit Code
<html>
<head>
<title>Question1</title>
<style>
#head{width:600px;height:200px;background-color:red;color:white}
#body{width:600px;height:200px;}
#span1{width:300px;height:300px;background-color:#00FF00;float:left;}
#span2{width:300px;height:300px;background-color:#0000FF;float:right;}
</style>
<body>
<!-- Design & Develop your code here -->
<div id="head"><h1>"My Application"</h1></div>
<div id="body">
<span id="span1">"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">"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>