Search

Category Archives: CSS

CSS Introduction

What is CSS?

  • CSS stands for Cascading Style Sheets
  • CSS is the language for describing the presentation of Web pages, including colors, layout, and fonts.
  • It allows one to adapt the presentation to different types of devices, such as large screens, small screens, or printers.
  • CSS is independent of HTML and can be used with any XML-based markup language.

[css autolinks=”false” classname=”myclass” collapse=”false” firstline=”1″ gutter=”true” highlight=”0″ htmlscript=”false” light=”false” padlinenumbers=”false” smarttabs=”true” tabsize=”4″ toolbar=”false” title=”CSS Code Example”]

body {
    background-color: lightblue;
}

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

p {
    font-family: verdana;
    font-size: 20px;
}
[/css]

Difference between with CSS HTML page and without CSS HTML Page