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.

25 lines
712 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Child Selector</title>
<style type="text/css">
#myid > * { border:2px solid blue; }
</style>
</head>
<body>
<p class="my-class">A loving heart is the beginning of all knowledge. Thomas Carlyle</p>
<div id="myid">
<ol>
<li>Take away love, and our earth is a tomb. Robert Browning </li>
<li>You cannot be lonely if you like the person you're alone with. Wayne Dyer
</li>
<li>
<p class="my-class">Poetry is the song of the heart, molded by the mind. Roger W. Hancock</p>
</li>
</ol>
</div>
</body>
</html>