Introduction to CSS 3 | Learn Website Desiging For Free

Introduction To CSS 3 Tutorial:

CSS stands for Cascading Style Sheets. It is used to style HTML elements, for example color of a webpage, font size, adding space, borders, etc.

CSS can be used in three ways:

1. Inline CSS:

Inline CSS is used as HTML Attribute, it is written directly into HTML element with a style attribute.

Example:

*Using this method is not advisable.

2. Internal CSS:

Internal CSS is written in between <head> and </head>. It is enclosed under style tag, starting with <style> and closing with </style>.

If you want to add red color to <h1> element in a webpage you would so as follows:

Example:

*Using this method is not advisable.

3.

External CSS

Using external CSS is the best practice to design or style website or webpage.

Steps:

1. Create a file name style.css.
2. In style.css file add the following:

3. Link style.css into your HTML file.

This will change the color of <h1> element to red.

That’s enough theory on HTML and CSS. Now let’s jump into real world of web designing with step by step practical approach.

Spider Weaves

Spiderweaves is a small team of fresh and skilled Freelance Web Designers, Web Developers & Search Engine Optimizer in India. We offer web design, web development and strong Search Engine Optimization (SEO) Services for websites at affordable price. We are based in Mumbai with freelancers in Delhi, Kolkata, Goa, Guwahati, Shillong, Arunachal Pradesh, Nagaland, Tripura and Imphal. Our motto is to provide quality services with 100% client’s satisfaction.

Leave a Reply

Close Menu
×