We would like to know how to font-size: 24pt;.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Example of absolute units</title>
<style type="text/css">
body {<!--from w ww. j a va 2 s .com-->
font-size: 12px;
}
h1 {
width: 300px;
font-size: 24pt;
background-color: #ff00ff;
}
p {
width: 20cm;
font-size: 12pt;
background-color: #fff000;
}
</style>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
The code above is rendered as follows: