CSS Introduction

0

 

What is CSS?

  • CSS stands for Cascading Style Sheets.
  • It defines how HTML elements are displayed on different media like screens, paper, and more.
  • By using CSS, you can control the layout of multiple web pages simultaneously, saving significant time and effort.
  • External stylesheets are stored in .css files.

Why Use CSS?

CSS defines styles for web pages, including design, layout, and variations for different devices and screen sizes. It enhances the visual presentation of a site, ensuring consistency and responsiveness.

CSS Solved a Big Problem

Originally, HTML was meant to describe the content of a web page, not its formatting. Tags like <font> and color attributes in HTML 4 complicated web development. Managing fonts and colors for large websites became cumbersome and costly. To address this issue, the World Wide Web Consortium (W3C) created CSS, which separated style formatting from HTML.

CSS Saves a Lot of Work!

  • CSS allows for style definitions to be saved in external .css files. 
  • This means you can change the look of an entire website by editing just one file, streamlining the process and enhancing efficiency.

Tags:

Post a Comment

0Comments
Post a Comment (0)

#buttons=(Accept !) #days=(20)

Our website uses cookies to enhance your experience. Check Now
Accept !