Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

HTML Level 7, Lesson 5 problem

""given proper values but its not taking plz help me out""

<!Doctype html>
<html>
<head>
<title>my website</title>
</head>
<body>
<div style="background-color:orange">
<div>
<h1>Hello World</h1>
<p>sandeep </p>
</div>
<div>
<div style="width:25%;float:right">Sidebar</div>
<div style="width:75%">Main Content</div>
</div>
</div>
</body>
</html>
by

2 Answers

kshitijrana14
Try this one
<!Doctype html>
<html>
<head>
<title>my website</title>
</head>
<body>
<div style="background-color:orange">
<div>
<h1>Hello World</h1>
<p>sandeep </p>
</div>
<div>
<div style="width:25%;float:left">Sidebar</div>
<div style="width:75%">Main</div>
</div>
</div>
</body>
</html>
vamshipriya
<!doctype html>
<html>
<head>
<title>Priya</title>
</head>
<body>
<div style="background-color:orange">
<div>
<h1>studytonight</h1>
<p>best platform for web development</p>
</div>
<div>
<div style="width:25% ; float:left">Sidebar</div>
<div style="width:75%">Main</div>
</div>
</div>
</body>
</html>
what's error in this??

Login / Signup to Answer the Question.