CSS

CSS

CSS

In the late 90s, HTML coders noticed that they were retyping the same old tags again and again on the same page, leading to bigger HTML files and above all, time consumption and frustration. You may have found yourself in the same situation, adding in mountains of tags, despite wanting them all the same; or using tricks like invisible gifs for spacing. Then, someone had a great idea: have one file that defines all the values that those piles of tags would have done, and then have all your pages checking this file and formatting your pages accordingly. You can therefore leave out most of the formatting tags in HTML and use only nice structural elements (like headings, paragraphs and links) separating structure and presentation. Then, someone had a great idea: have one file that defines all the values that those piles of tags would have done, and then have all your pages checking this file and formatting your pages accordingly. You can therefore leave out most of the formatting tags in HTML and use only nice structural elements (like headings, paragraphs and links) separating structure and presentation. In late 1996 CSS (Cascading StyleSheets) became a reality, forged by our good friends the ยป World Wide Web Consortium (W3C). Your stylesheet acts as a partner to your HTML code; taking care of all the layout, fonts, colours and overall look of your site. If you ever decide to change the look of your site, you modify that one CSS file (your style sheet) and all the HTML pages reading from that file will display differently. This makes maintenance of your design much easier.

Donate Us

Share



  • Date: 22 Sep 2016
  • Course Level: Intermediate
  • free Course
  • Teacher Shehzad Ahmed
  • Views 29284

You may also watch



Back to Top