How to use CSS element Selector
Description
The element
selector adds style to all elements
with the specified element name.
Example
<!DOCTYPE html>
<html>
<head>
<style>
p{<!--from w w w . j av a2s . c o m-->
background-color:red;
}
</style>
</head>
<body>
<p>java2s.com.</p>
</body>
</html>
The code above generates the following result.