Explain in brief about the term CSS.
AnswerA stylesheet language used to describe the presentation of a document written in a markup language. Cascading Style Sheets are a big breakthrough in Web design because they allow developers to control the style and layout of multiple Web pages all at once.
What are the various style sheets?
AnswerInline, external, imported and embedded are the different types of style sheets.
What are style sheet properties?
AnswerCSS Background
CSS Text
CSS Font
CSS Border
CSS Outline
CSS Margin
CSS Padding
CSS List
CSS Table
List various font attributes used in style sheet.
Answerfont-style
font-variant
font-weight
font-size/line-height
font-family
caption
icon
menu
message-box
small-caption
status-bar
Explain inline, embedded and external style sheets.
AnswerInline
If only a small piece of code has to be styled then inline style sheets can be used.
Embedded
Embedded style sheets are put between the tags.
External
If you want to apply a style to all the pages within your website by changing just one style sheet, then external style sheets can be used.

0 comments:
Post a Comment