Introduction
Cascading Style Sheets (CSS)
is a fantastic tool to add layout to your websites. It can save you a lot of
time and it enables you to design websites in a completely new way. CSS is a
must for anyone working with web design. This article will get you started with
CSS in just a few hours. It is easy to understand and it will teach you all the
sophisticated techniques. Maybe you already heard about CSS without really
knowing what it is. In this article you will learn more about what CSS is and
what it can do for you. CSS is an acronym for Cascading Style Sheets. CSS is a
style language that defines layout of HTML documents. For example, CSS covers
fonts, colours, margins, lines, height, width, background images, advanced
positions and many other things.
Benefits of CSS:
The some benefits of css given below.
- control layout of many documents from one
single style sheet.
- more precise control of layout.
- apply different layout to different
media-types.
- numerous advanced and sophisticated
techniques.
Some CSS properties:
- accelerator
- azimuth
- background
- background-attachment
- background-color
- background-image
- background-position
- background-repeat
- border
Exapple of CSS :
<html>
<head>
<style
type="text/css">
body
{
background-color:#b0c4de;
}
</style>
</head>
<body>
<h1>My
CSS web page!</h1>
<p>Hello
world! This is c#conner.</p>
</body>
</html>
Summary: This is the simple example of CSS
set the background of page and display the title.