programming-examples/css/A CSS comment.html

25 lines
632 B
HTML
Raw Permalink Normal View History

2019-11-15 12:59:38 +01:00
<?xml version = "1.0"?>
<!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>
<title>CSS comment</title>
<style type="text/css">
* .span-style span { /*position:absolute; */
width: 250px; /* width */
height: 120px; /* height */
margin: 2; /* margin */
left: 10;
top: 10;
}
</style>
</head>
<body>
<h1>CSS comment</h1>
<p><span class="span-style" >I Love Clementine<span>Inner span</span></span>
</p>
</body>
</html>