Perhaps you have already heard about CSS, but do not know what it is? In this lesson you will learn what CSS is and what it can do for you.
CSS is an acronym for Cascading Style Sheets / Cascading Style Sheets.
What can I do with CSS?
CSS is a style language that defines layout of HTML-documents. For example, CSS covers fonts, colors, margins, lines, height, width, background images, advanced positions and many other things. Just wait and see!
HTML can be (incorrectly) used to design web-sites. But CSS offers more features and a more accurate and sophisticated. CSS, to date, supported by all browsers (Viewer).
After only a few lessons in this tutorial, you can create your own style sheets using CSS to give your web-site a gorgeous view.
What is the difference between CSS and HTML?
HTML is used to structure content. CSS is used for formatting structured content.
I agree, it sounds like a technical and confusing. But please read on. Soon everything will start to clear up.
Long ago, when Madonna was a virgin, and a guy named Tim Berners Lee invented the World Wide Web, HTML is only used to a structured text. Author could mark text: "it - title" or "it - paragraph" using HTML-tags such as <h1> and <p>.
As the Web designers started looking for formatting documents online. To meet this demand, the browser vendors (then - Netscape and Microsoft) invented new HTML-tags, such as <font>, which differed from the original HTML-tags by defining layout and not the structure.
It also led to the fact that the original structure tags such as <table>, were increasingly being misused for layout instead of structuring the text. Many of the new layout tags such as <blink>, only supported by one browser. "You need browser X to view this page" - this became a common disclaimer on web-sites.
CSS was invented to remedy this situation by providing web-designers to design, supported by all browsers. Simultaneously, there was separation of presentation and content of the document, which greatly simplify the work.
What advantages would give me CSS?
The advent of CSS was a revolution in the world of web-design. Specific Benefits of CSS:
control layout of many documents from one single style sheet;
more precise control over the appearance of pages;
different views for different media (screen, print, and so on. etc..)
complex and sophisticated equipment design.
Next Article :
By Karan Vyas → Sunday, July 20, 2014