Set font to caption in HTML and CSS
Description
The following code shows how to set font to caption.
Example
<html>
<head>
<style type='text/css'>
p#caption {<!-- w w w . j a v a 2 s.c o m-->
font: caption;
}
</style>
</head>
<body>
<p id='caption'>
This is the caption font.
</p>
</body>
</html>
The code above generates the following result.