Simple Box Maker

Here’s the code for this example:


<div style="background:yellow; border:10px solid black; margin:100px; padding:20px;">
 
<p style="border:3px dashed red;">This is a paragraph of text, which has no real meaning except to take up space inside this box and show how to add margins and padding around it.</p>
 
</div>

This is a paragraph of text, which has no real meaning except to take up space inside this box and show how to add margins and padding around it.