programming-examples/css/Div tag width and height.html
2019-11-15 12:59:38 +01:00

24 lines
722 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Div Tag Width And Height</title>
<style type='text/css'>
div {
padding: 16px;
margin: 16px;
border: thin solid red;
}
</style>
</head>
<body>
<div style='width: 250px; height: 160px;'>
But when a young lady is to be a heroine,<br>
the perverseness of forty surrounding families cannot prevent her.<br>
Something must and will happen to throw a hero in her way.<br><br>
Jane Austen, Northanger Abbey
</div>
</body>
</html>