We would like to know how to create tag line.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
.tagline {<!--from w w w . ja v a2 s . c om-->
width: 120px;
margin: 5px;
background: #000;
}
.tagline h1 {
color: #fff;
padding: 4px 10px;
display: inline-block;
font-size: 20px;
line-height: 30px;
text-transform: uppercase;
width: 60px;
}
</style>
</head>
<body>
<div class="tagline">
<h1>A Headline Thanks</h1>
</div>
</body>
</html>
The code above is rendered as follows: