|
INTERVIEW QUESTIONS
WEB
CSS
DETAILS
Question: What is value?
Answer: Value is a 'physical' characteristic of the property. Property declares what should be formatted, e.g. FONT while value suggests how the property should be formatted, e.g. 12pt. By setting the value 12pt to the property FONT it is suggested that the formatted text be displayed in a 12 point font. There must always be a corresponding property to each value or set of values.
H1 {font: bold 180%} In the example above the H1 selector is declared the FONT property which in its turn is declared the values BOLD and 180%. The values suggesting alternatives are specified in a comma separated list, e.g. H1 {font-family: font1, font2}
|
|
|
Category |
CSS Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 9631 users |
Added on |
4/3/2013 |
Views |
70744 |
Rate it! |
|
|
Question:
What is value?
Answer:
Value is a 'physical' characteristic of the property. Property declares what should be formatted, e.g. FONT while value suggests how the property should be formatted, e.g. 12pt. By setting the value 12pt to the property FONT it is suggested that the formatted text be displayed in a 12 point font. There must always be a corresponding property to each value or set of values.
H1 {font: bold 180%} In the example above the H1 selector is declared the FONT property which in its turn is declared the values BOLD and 180%. The values suggesting alternatives are specified in a comma separated list, e.g. H1 {font-family: font1, font2} Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
How do I have links of different colors on the same page?
|
View Answer
|
|
How do you make a whole div into a link?
|
View Answer
|
|
Why shouldn't I use fixed sized fonts ?
|
View Answer
|
|
Which characters can CSS-names contain?
|
View Answer
|
|
How do you make a tool tip that appears on hover?
|
View Answer
|
|
What is the difference between ID and CLASS?
|
View Answer
|
|
Can I include comments in my Style Sheet?
|
View Answer
|
|
Is there anything that CAN'T be replaced by Style Sheets?
|
View Answer
|
|
How can I make a page look the same in e.g. NS and MSIE ?
|
View Answer
|
|
What are pseudo-elements?
|
View Answer
|
|
How do I write my style sheet so that it gracefully cascades with user's personal sheet ?
|
View Answer
|
|
What is property?
|
View Answer
|
|
How do I make my div 100% height?
|
View Answer
|
|
What can be done with style sheets that can not be accomplished with regular HTML?
|
View Answer
|
|
Why is my external stylesheet not working ?
|
View Answer
|
|
How do I quote font names in quoted values of the style attribute?
|
View Answer
|
|
CSS is clearly very useful for separating style from content. But apparently people tend to have problems when using it for layouts. Would you say this is because people have not yet understood how to properly do layout in CSS, or is it CSS that is lacking in this area? What can be done to improve the situation? --- Would the web benefit from HTML and CSS being complemented with some kind of "layout language"?
|
View Answer
|
|
How do I have a non-tiling (non-repeating) background image?
|
View Answer
|
|
Are Style Sheets case sensitive?
|
View Answer
|
|
What is cascade?
|
View Answer
|