WHAT IS CSS?

WHAT IS CSS?


CSS stands for Cascading Style Sheets
CSS describes how HTML elements are to be displayed on screen, paper.
CSS saves a lot of work. It can control the layout of multiple Web pages all at once
External Style Sheets are stored in CSS files

Uses of CSS:

CSS is used to define styles for your web pages, including the design, layout and variations in display for different devices and screen sizes.

HTML was NEVER intended to contain tags for formatting a web page. HTML was created to describe the content of a web page, like:
<h1>Zeeshan.</h1>
<p>Ahmad.</p>
To solve this problem, the World Wide Web Consortium created CSS language. CSS was created to specify the document's style, not its content.

Example

h1 {
    color: green;
    text-align: center;
}

Example

{
    color: red;
    text-align: center;
}

Share this

Related Posts

Previous
Next Post »