type Selector

type Selector
CSS type Selector reference
The CSS type selector ( X { } ) is used to target elements in the document by specific type and apply your specified CSS properties to that type.
CSS CODE EXAMPLE
<!DOCTYPE html>
<style type="text/css">
h2 { color:#06C; }
p { color:#090; }
</style>
<h2>Some Stuff</h2>
<p>Stuff inside my paragraph...</p>
<h2>More Stuff</h2>
<p>Stuff inside my paragraph...</p>
 

Some Stuff

Stuff inside my paragraph...

More Stuff

Stuff inside my paragraph...

0 Response to "type Selector"

Post a Comment