h2 font: bold italic 2em "Helvetica Nue", serif;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style type="text/css">
h2 {
font: bold italic 2em "Helvetica Nue", serif;
margin: 0;
padding: 0;
letter-spacing: -0.1em;
}
</style>
</head>
<body>
<h2><span></span>Designing Instant Gratification</h2>
<p>I had to wake up early for the dentist appointment this morning. Why is it that on the day I have to wake up really early it interferes with a good sleep? I had the blankets wright where they were most comfortable, too.
<p>If that ever happens, our society should allow you to tell the other person you were late because you realized you were in the middle of "a good sleepy". It's the positive version of "I was in a car accident."
<p>Try the phrase out, see how it works and report back to me.</p>
</body>
</html>
Related examples in the same category
1. | 'hN' sets the font size | | |
2. | h2 font: bold italic 2em Georgia, Times, "Times New Roman", serif; | | |
3. | h2 font: bold italic 2em Georgia, Times, "Times New Roman", serif; | | |
4. | h2 font-size: 1em; | | |
5. | h1 font-family: sans-serif; | | |
6. | h2 font-family: sans-serif; | | |
7. | h3 font-family: sans-serif; | | |
8. | h4 font-family: sans-serif; | | |
9. | h5 font-family: sans-serif; | | |
10. | h6 font-family: sans-serif; | | |
11. | h1 font-size: 17em; | | |
12. | h1, h2 and p are in Times New Roman font | | |
13. | h1 and h2 have green text and 22pt font | | |
14. | H1 font-family: "Times New Roman"; | | |
15. | H1 font-size: 24px; | | |
16. | H1 font: normal 1.4em verdana, arial, tahoma, sans-serif; | | |
17. | h1 font: normal 1.4em verdana, tahoma, arial, sans-serif; | | |
18. | h1 font: 170% verdana, "Trebuchet MS", arial, tahoma, sans-serif; | | |
19. | h1 font-size: 22pt; | | |
20. | h2 font-size: 18pt; | | |
21. | H4 font-size:1em; | | |
22. | H4 font-weight:bold; | | |
23. | h2 font-size: 130%; | | |
24. | h2 font: 130% verdana, "Trebuchet MS", arial, tahoma, sans-serif; | | |