Advanced Java and Web Technologies for JNTUK
Blog providing beginner tutorials on different web technologies like HTML, CSS, Javascript, PHP, MYSQL, XML, Java Beans, Servlets, JSP and AJAX

Anatomy of a CSS rule

28/01/2014 Categories: CSS. No Comments on Anatomy of a CSS rule

A style sheet contains several rules (CSS rules). A CSS rule is made of two elements: a selector and one or more declarations enclosed in braces ({}). The syntax for a CSS rule is shown below:  

  Syntax of a CSS style rule can be understood clearly by looking at the figure below: […]

Read the rest of this entry »
Scroll Up