We would like to know how to display: inline;.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Example of CSS content property</title>
<style type="text/css">
p:before {<!-- www .ja v a 2 s. c o m-->
content: "Note: ";
display: inline;
}
</style>
</head>
<body>
<p>
Internet Explorer 7 and earlier versions don't support the
<code>content</code>
property. IE8 supports, but requires a
<code><!DOCTYPE></code>
. IE9 has full support for the
<code>content</code>
property.
</p>
</body>
</html>
The code above is rendered as follows: