Css Style - Intoduction

CSS is an excellent addition to plain HTML. With plain HTML you define the colors and sizes of text and tables throughout your pages. If you want to change a certain element you will therefore have to work your way through the document and change it.


With CSS you define the colors and sizes in "styles". Then as you write your documents you refer to the styles. Therefore: if you change a certain style it will change the look of your entire site.


Another big advantage is that CSS offers much more detailed attributes than plain HTML for defining the look and feel of your site.


INTRODUCTION


CSS stands for Cascading Style Sheets. It is a way to divide the content from the layout on web pages.


There are 3 types of CSS Styles:

  • Custom Css(Class) Style create a customized style with the set attributes. These class styles can be applied to any tag.
  • HTML Tag styles:
  • Advanced CSS Selector styles:redefine the formatting for:

A particular combination of tags (for example, td h2 applies whenever an h2 header appears inside a table cell) and pseudo-class styles (for example, a:link, a:hover, a:visited)


A specific ID attribute (for example, #myStyle applies to all tags that contain the attribute-value pair id="myStyle")

0 comments

Make A Comment

Have You Forgotten How Good Webdesign Tastes?

Enter a word for your own slogan:

Generated by the Advertising Slogan Generator. Get more Webdesign slogans.

  • Test your Response time!

    Click on "Start" first, and wait until the background color changes. As soon as it changes, hit "stop!"
top