Useful CSS Tags

Posted on Updated on

dfff

CSS Tags

Css is the cascade style sheet is use for give the style to the website. Very useful way to give the design to the website with help of friendly coding.css coding is communicate with the html tags using selectors.

Its works on all web browsers and make webpages interactive and color full .

There are 5 types of selectors

Id=> denoted by(#)

class=> denoted by(.)

tags=> denoted by(tag name)

universal selector=> denoted by(*)

Like if we want to give the color to the text we have to write

Color:red;

It gives the colour to the text . there are three types of the css.

  1. Internal
  2. External
  3. Inline

Internal =>

Internal stylesheet is use into the page only where we write the code.internal stylesheet is written in head tag with use of style tag.

Like

<head>

<style>

Here you can write the code of the css

</style>

</head>

External=>

External style sheet is written in a new page which save with .css extension and call into the head of the page using the <link> tag.

The main purpose of the external stylesheet is we can edit the css from one file we don’t need to open all pages.

How to include the External stylesheet??

<head>

<link href=”stylesheet_name.css” rel=”stylesheet” type=”text/css”>

</head>

Inline=>

Inline css have the highest priority its write in the tag using the style keyword.its is easy and impact only that tag where we write it .

Like

<p style=”color:red;”>hello</p>

For more details and queries please feel free to email, visit or call us. Wishing you the very best for all your future endeavors.

Helpline: 9814666333, 8699444666

Email:info@technocampus.co.in

**************************************************************************************************************

Please fill the FORM and we shall contact you soon.

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s