Set the margin of the div to "25px". - HTML CSS CSS

HTML CSS examples for CSS:Quiz

Description

Set the margin of the div to "25px".

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<head>
<style>
div {<!--from   w w  w .j  a va 2 s.c o m-->
    background-color: pink;
    width: 200px;
    padding: 25px;
    border: 25px solid navy;
    margin: 25px;
}
</style>
</head>
<body>

<div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</div>

</body>
</html>

Related Tutorials