You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
programming-examples/css/Div tag width and height.html

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>