Contents
What is CSS ?
CSS stands for Cascading Style Sheet. It is the languages that are used to describe the presentation of the webpage. Like, It is used to add styles to web pages including design and layout which are written in HTML, XHTML, XML. CSS allows us to present same pages at different devices with different resolution. CSS is an independent of HTML and it can be used with any Markup Language. The separation of CSS from HTML makes it easier to maintain and uses.
History of CSS
- CSS first version CSS1.0 was developed by W3.org in 1996.
- The second version CSS2.0 released in 2010 by W3.org.
- CSS 3rd version CSS3.0 released in 2012. It is standard and compatible with all browser.
How does CSS Work
It works Internally and Externally inside a line. CSS Stylesheet saved with .css extension. It is embedded in the Head of HTML documents. It identifies two things
- Identify the elements of HTML and its effects.
- Tells the browser what to do.
Syntax of CSS
In which included three things.
- Selector
- Property
- Value
Syntax à H1 { color : red }
H1 is Tag in the following syntax. Color is a property and red is a value. One selector may have many properties like
H1 { color : blue ; size : 12px ; background : red ; }
All Tags are default Selector in CSS, user-defined Selector called ID and Classes.
Methods of CSS
Three methods in CSS.
- External Methods
- Internal Methods
- Inline Method
In Internal,
Code written between these two Tags
Example syntax of Inline CSS
Style Property used for Inline CSS. The example given below.
style = “ color : red ”> This is paragraph
How to Link external CSS?
In external CSS, each page of HTML must include a refrence of external CSS inside tag. Like
What we can do in CSS?
- Create Website layout.
- Drop Down Menu.
- Images galleries.
- Create new web templates.
- Animation creation.
- Create rounded Border.
- Horizontal and Verticle Menu.
- Create Objects.
In the next lecture, we will learn about the basic ” what is CSS “. This is a complete series of CSS + video Tutorials. You can also learn about HTML5, Bootstrap4, PHP7 and Computer Graphic. BI hope this article is very helpful. Please, also give your feedback. Thank you!.

