programming-examples/css/Div tag content.html

21 lines
685 B
HTML
Raw Permalink Normal View History

2019-11-15 12:59:38 +01:00
<!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 Content - The Content Property</title>
<style type='text/css' media='all'>
div {content: "All mankind love a lover. Ralph Waldo Emerson";
border: thick solid black;
background: pink;
color: red;
font-size: xx-large;
padding: 25px;}
</style>
</head>
<body>
<div>Love is all we have, the only way that each can help the other.</div>
<div>Euripides</div>
</body>
</html>