Introduction to CSS

So basically, CSS is incorporated in html.

it has predefined tags, like, it basically knows what the body tag is.

so if you do

 background: black;

It will make the background black. Of course the syntax is

<style type=”text/css”>





Technically any html tag can be completely customized. So, your body automatically becomes black and you dont have to type in the bgcolor attribute.

The basic attributes are:

font-family: FONTNAMEHERE;
border: double/dotted COLOR NAME;
font-size: FONTSIZEHERE; eg 12pt;
padding: 4px 4px 4px 75px; (Just use this, it’s generally the best dimensions);

These are a few of the basic attributes that can be used for each of the tags.

Next post (which will be in a while) will be related to division tags <div> (V V IMPORTANT)


Categories: Uncategorized | Leave a comment

Post navigation

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at

%d bloggers like this: