programming-examples/css/Blocked and preserved Code.html
2019-11-15 12:59:38 +01:00

36 lines
830 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Blocked and preserved Code</title>
<style type="text/css" media="Screen">
* .blocked {
display: block;
}
* .preserved {
white-space: pre;
}
</style>
</head>
<body>
<p>
<code class="blocked preserved">
*.blocked { display:block; }
*.preserved { white-space:pre; }
*.code { font-family:monospace; }
A.style{text-decoration:none; font-size:14; font-family:Courier New; color:black}
A:Visited.style{color:black}
A:Hover.style{font-size:15; color:#204cef}
</code>
</p>
</body>
</html>