Tuesday, 21 July 2015

Web Designing Tutorials(Cascading Style Sheet Rules)

We’ve produced a video to go with this lesson. It’s recommended that you read the text below as well, though. The video is here:
A Cascading Stylesheet rule tells the browser what the HTML looks like, and what it should do. A rule can dictate what just one HTML tag should look like, or you can construct your own rule to be applied as and where you want it.
For example, a rule can be set up that tells the browser to format every <P> tag so that its first line is indented. Or you could construct your own paragraph rule, and just apply the style to certain paragraphs, not all paragraphs.
There are three parts to a Rule: The Selector, the Property, and the Value.

No comments:

Post a Comment