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

CSS Properties

11/02/2015 Categories: CSS. No Comments on CSS Properties

To give various styles to HTML elements, CSS provides various properties. Related properties are grouped as: font properties, text properties, background properties, List properties etc. Font Properties The primary content in any web document is text. To apply different styles to the font of the text, we can use font properties. Font Families:  The shape […]

Read the rest of this entry »

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: The selector […]

Read the rest of this entry »
Scroll Up