Introduction
What is CSS ?
CSS is commonly known as Cascading Style Sheet which describes how the HTML elements are to be displayed on the browsers.It is the tool which make up the HTML and give a dynamic view of a website. It controlls the layout of web pages at once.
Why using CSS ?
As we know CSS is a web designing tool which gives the perfect view of the web by giving external make up of colours, lenght height and other designs in the web page. It helps to design web pages suitable for both desktop view and mobile. CSS is also preferred more because HTML was never intened to contain tags for formatting a web pages.CSS is the one which remove the style formatting from the HTML page.
A basic web developer who is learning about CSS should know about these following terms so CSS:
A basic web developer who is learning about CSS should know about these following terms so CSS:
- CSS Border
- CSS Background
- CSS Margin
- CSS Padding
- CSS Height and width
- CSS Text
- CSS Fonts
- CSS Links
- CSS Lists
- CSS Table
- CSS Layout
- Navigation Bar
- Dropdown menu
Only the CSS is helping to create the web pages in a proper way as it makes the loading time less and made the performance rate of the web pages faster.Web pages designed with CSS is faster then the HTML and also more attractive than the HTML web page.To combine CSS with HTML is the best way to make more responsive and more attractive web pages which is liked by the users who surf the web pages.
Npw we are going to discuss about syntax of CSS whose is like of html markup but different than that. It consists of three parts. they are:-
1. Inheritance
When you put one element inisde other the kept element inheritant the property.
2.Combining Sector
In this you can combine the sectors in the folowing
h2,h2,h3,h4,h5,h5{color:#356364,font-family:georia , sans-serif}
In the above code heading tags have declared and combined and aswell fonts is also combined if the first one i have used is not in the users computer it will take to the second one.
3. Comment Tags
Comment tags is used in css which used to hide the things to appear in the webpage.
/* Your codes or message about the code you write*/
Using comment code will le tyou hide it and also help you to remember what you have written about and how.
Npw we are going to discuss about syntax of CSS whose is like of html markup but different than that. It consists of three parts. they are:-
1. Inheritance
When you put one element inisde other the kept element inheritant the property.
2.Combining Sector
In this you can combine the sectors in the folowing
h2,h2,h3,h4,h5,h5{color:#356364,font-family:georia , sans-serif}
In the above code heading tags have declared and combined and aswell fonts is also combined if the first one i have used is not in the users computer it will take to the second one.
3. Comment Tags
Comment tags is used in css which used to hide the things to appear in the webpage.
/* Your codes or message about the code you write*/
Using comment code will le tyou hide it and also help you to remember what you have written about and how.