You can get multiple information about programing.

How many types of CSS? - Programming info

How many types of CSS?


How many types of CSS?

There are three methods to use CSS.

  • INLINE CSS:

Use of CSS in html particular  tag.

  • INTERNAL CSS:
use of CSS in that page. Internal tag is always used in between of head tag.  In internal CSS we enter all designing code in between head tag. instead of using CSS coding in each line. The designing ,we want to do  in page take place at the same time .

  • EXTERNAL CSS:

to make extra file of CSS and then link to your website. Use of external CSS is best because it consume less time and less page.
Remember that like html CSS file are save with any name dot CSS. and does dont matter the small or capital letters.

LETS SEE EXAMPLE OF INLINE CSS:
<HTML>
<HEAD>
<TITLE>
INLINE CSS USED IN PARTICULAR TAG.
</TITLE>
<BODY>
<H1 style="color:WHITE; background:RED;">
What is RAM?
</H1>
<P style="color:BLUE;"> RAM stands for random access memory, and it's one of the most fundamental elements of computing. RAM is a temporary memory bank where your find multiple kind of information.

</p><h1 style="color:WHITE; background:RED;" >What is ROM?</H1>
<P style="color:BLUE;">Read-only memory is a type of non-volatile memory used in computers and other electronic devices. Data stored in ROM cannot be electronically modified after the manufacture of the memory device. Wikipedia</P>
<h2 style="color:WHITE; background:RED;">What is input and output devices?</h2>
<h2 style="color:WHITE; background:RED;">What is computer?</h2>
</body>
</html>
The result which we get is in that form

What is RAM?

RAM stands for random access memory, and it's one of the most fundamental elements of computing. RAM is a temporary memory bank where your find multiple kind of information.

What is ROM?

Read-only memory is a type of non-volatile memory used in computers and other electronic devices. Data stored in ROM cannot be electronically modified after the manufacture of the memory device. Wikipedia

What is input and output devices?

What is computer?

Lets see example of internal CSS:

<HTML>
<HEAD>
<TITLE>
INTERNAL  CSS USED IN HEAD TAG.
</TITLE><STYLE TYPE="TEXT/CSS">

H1{COLOR:YELLOW; BACKGROUND:BLACK;}

H2{COLOR:YELLOW; BACKGROUND:BLACK;}

P{COLOR:BLUE;}

</STYLE><H1>What is RAM?</H1>

<P > RAM stands for random access memory, and it's one of the most fundamental elements of computing. RAM is a temporary memory bank where your find multiple kind of information.

</p><h1>what is ROM?</H1>
<P>Read-only memory is a type of non-volatile memory used in computers and other electronic devices. Data stored in ROM cannot be electronically modified after the manufacture of the memory device. Wikipedia</P>
<h2>What is input and output devices?</h2>
<h2>What is computer?</h2>
</body>
</html>
The result you get is in that form.

What is RAM?

RAM stands for random access memory, and it's one of the most fundamental elements of computing. RAM is a temporary memory bank where your find multiple kind of information.

What is ROM?

Read-only memory is a type of non-volatile memory used in computers and other electronic devices. Data stored in ROM cannot be electronically modified after the manufacture of the memory device. Wikipedia

What is input and output devices?

What is computer?

Use of external CSS with example:

This is the simple page ,here cannot used the coding of any CSS. In external CSS type to design our website page ,we have to construct another page and then give link to that page.Suppose, we make another page of CSS like this :👎


h1{color:white; background:blue;}
h2{color:white; background:blue;}
p{color;blue;}

We save this page by giving any name with dot CSS. Like WWW.CSS and then put this page link to our website page as see below:

<HTML>

<HEAD>

<TITLE>
INLINE CSS USED IN PARTICULAR TAG.
</TITLE>

<LINK REL="STYLESHEET" TYPE="TEXT/CSS" HREF="WWW.CSS">

</HEAD>
<BODY>
<H1>
What is RAM?
</H1>
<P> RAM stands for random access memory, and it's one of the most fundamental elements of computing. RAM is a temporary memory bank where your find multiple kind of information.

</p><h1>What is ROM?</H1>
<P>Read-only memory is a type of non-volatile memory used in computers and other electronic devices. Data stored in ROM cannot be electronically modified after the manufacture of the memory device. Wikipedia</P>
<h2>What is input and output devices?</h2>
<h2>What is computer?</h2>
</body>
</html>




What is RAM?

RAM stands for random access memory, and it's one of the most fundamental elements of computing. RAM is a temporary memory bank where your find multiple kind of information.

What is ROM?

Read-only memory is a type of non-volatile memory used in computers and other electronic devices. Data stored in ROM cannot be electronically modified after the manufacture of the memory device. Wikipedia

What is input and output devices?

What is computer?


Next Post Previous Post