MENU
Question -

Define CSS. How to create a CSS file?



Answer -

CSS is a simple design language intended to simplify the process of making Web pages presentable.
CSS is a type of stylesheet and this stylesheet consists of a list of rules. You can include a CSS in multiple XML documents that have the same data structure.
Syntax
selector
{
property: value; } Declaration Block
}
Creating a CSS File
To create a CSS file, you need to have all the style rules composed in it and save it with extension .css.

You can define the color in CSS by name as well as by code like green color may be written as #008000 or rgb(0,128,0).

Comment(S)

Show all Coment

Leave a Comment

Free - Previous Years Question Papers
Any questions? Ask us!
×