- SelectorIn the CSS We are using Selectors instead of the tags of HTML. I think now you are familiar with tags in HTML. Selectors are the names similar to HTML tags given to Internal and External Stylesheets. Selectors are defines with curly brackets.
- PropertiesWithin the curly bracket of Selector specifying properties. Properties are like to be an HTML attributes such as color, backbround. Value of the property following a colon (in HTML value given after equal sign). Each of property value pairs ends with semi colon. But last value can be defined without a semi colon at the end of it.p{
color : blue;
font-size : 12;
text-align :justify
}These values apply to the font color, font size & align of the text to every Paragraphs in the HTML Document.
This blog supports beginners to get deep knowledge about programming in HTML, CSS, JavaScript, php, asp and other Web technologies and VB, VB.net, Java,step by step from the beginning. All the programming Concepts discuss with simple examples for the readability. Try out daily uploaded lessons to be a Programmer.
CSS - Selectors
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment