Google News
logo
CSS INTRODUCTION
CSS is the acronym for "Cascading Style Sheet". Tutorial provides basic and advanced concepts of CSS technology. Our CSS tutorial is developed for beginners and professionals.

1. CSS is used to design HTML tags.
2. CSS is a widely used language on the web.
3. HTML, CSS and JavaScript are used for web designing. It helps the web designers to apply style on HTML tags.

CSS is the language for describing the presentation of Web pages, including colors, layout, and fonts. It allows one to adapt the presentation to different types of devices, such as large screens, small screens, or printers. CSS is independent of HTML and can be used with any XML-based markup language.

CSS is categorised into three types : 

1) Class base css
2) Tag base css
3) ID base css

Class Base : The css used to redefine the elements of html is called as  class base css.It is denoted by dot(.) before the name. The class based css file is using to multiple times of single document.
 ex: (  .sample{color:#000;}  )

Tag Base : The css used to apply for tag of html is called as tag base css. Tag base css is denoted with tags(body,img, ul, li,p,table,h1 to h6..etc)

ID Base : The css used to create block elements is called as ID base css. Alternative for creating table(cell) without html.It is denoted by  (#)before the name. The ID based css file is using to single time of single document.
ex: #header,#banner etc.

Note: Start one value afetr ending this semicolon(;).

Css can be applied in three ways:

1) Internal css
2) External css
3) Inline css

Internal css : The css which is written internally within the html document in the head tag is called Internal css.

External css : The css which is written externally and it is linked within head tag is called External css.

Inline css : The css which is written in the tags in the body of html documents is called Inline css.