CSS SELECTORS :
TAG SELECTORS








The general syntax for an HTML selector is:

HTMLSelector {Property:Value;}

For example:
<HTML>
<HEAD>
<style type="text/css">
B {font-family:arial; font-size:14px; color:red}
</style>

</HEAD>

<BODY>
<b>This is a customized headline style bold</b>
</BODY>

</HTML>


Click here to open a window that shows the result of the above example.

HTML selectors are used when you want to redefine the general look for an entire HTML tag.




 << PREVIOUS
READ MORE >>  
















DEVELOPER TIP!





     "Better Than Books - As Easy As It Gets!"