Box Model use case

Report a typo

There is HTML and CSS code below. Set the margin to 50px, the padding on the left and right side to 30px, and the border of the p tag to 3px.

Write HTML and CSS code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Box Model</title>
</head>
<body>
<p>Box Model is awesome</p>
</body>
</html>





Completed 1 of 5
Set the margin to 50px
Set padding on left to 30px
___

Create a free account to access the full topic