Friday, 27 June 2014

CSS Syntax

Every language have its own syntax.If we talk about HTML, C, C++  etc , they all have different syntax. CSS have also a syntax  shown below:-






  • Selector is the basic element which select the HTML Style i.e style should be <p> </p>or<h></h>. other one.
  • Declaration block consist of different type of Properties having its value .
let we take an CSS Syantax example

When we give the following INPUT......




In the Input we gave the color style as a blue and we use Paragraph style so in output we have result shown below


AS A OUTPUT WE HAVE 






SO STAY TUNED..HAPPY BLOGGING.......


0 comments:

Post a Comment