| PHP tutorials, html tutorial, photoshop tutorial, ajax tutorials,java tutorial, web design tips tutorials, css tutorial, visual basic tutorial, dreamweaver tutorial, php tutorial, html tutorials, c++ tutorial, javascript tutorial, windows tutorials, free flash tutorials, free photoshop source codes, sql tutorial | ||||||||
![]() |
||||||||
| Home | Forums | Downloads | Books | Submit Content | Links | ||||||||
Selectors in CSSDate:2006-03-28The selector is an HTML element or tag that you define for different styles, the property is the attribute you wish to change, and each property can take a value. The property and value are surrounded by curly braces and separated by a colon: HTML
selectors
In above example, p and body selectors are looks like <p> and <body>. Class
selectors
ID
selectors
If you wish to specify more than one property, you must separate each property with semi-colon. For example we wish to define a left aligned paragraph with blue color, the example is shown below:
To make the style definitions more readable, you can describe one property on each line, like this:
Grouping
|
|
|||||||
| Desclaimer | Privacy Policy | Submit Content | Links | Link to Us | Sitemap |Contact Us | ||||||||
| Copyright Programming Tutorials, Web Development
Tutorials, Source codes © All Rights are Reserved. Powered By Evernew Solutions Loans - Flights - Loans - Credit Cards |
||||||||