Saturday, 2 August 2014

Introduction to CSS

C.S.S. stands for Cascading Style Sheets; documents which contain styling rules for applying to HTML (or XML, along with a few other structural formats). Multiple style rules can point to one HTML element, in which case there needs to be a way to determine which rule should take effect. The term cascading describes the process of filtering down from general rules, until the most specific rule is encountered. That rule is then chosen to do its work..
Through CSS, presentation can be separated from structure. It solves the need for mashing styling rules in amongst HTML, like this:
css-best-font-size
CSS is read by web browsers. They take the markup document, then they apply the styling rules to the elements within that document.
css-best-browser

Related Posts:

  • PHP LOOPING PHP LOOP  —When you want the same block of code to run over and over again in a row. Instead of adding several almost equal lines in a script we… Read More
  • PHP OPERATORS Php operators    —Variables are simply containers for information. In order to do anything useful with them, you need Operators&n… Read More
  • Conditional statement in PHP Conditional statement in PHP   PHP supports different types of conditional statements:- The if Statement In if Statements Output w… Read More
  • PHP String Functions strlen() function   —The strlen() function returns the length of a string, in characters. strtolower() Function The strtolower(… Read More
  • PHP Numeric ceil <?php         $num=19.7   echo ceil($num); ?> In the above example, Initial… Read More