Advertisements
Advertisements
Question
List and explain the Font and text element properties and values used CSS.
Long Answer
Solution
Formatting | Properties | Values | Example |
Text Colour | Color | Predefined_Color_Name |
|
Text Alignment | Text-align | Center/Left/Right/Justify |
|
Font type | Font-family | Font_name |
|
Font Style | Font-style | Normal/Italic |
|
Font Style (Bold) | Font-weight | Normal/Bold |
|
Font size | Font-size | Size in pixels |
|
Background Colour | Background Colour | Predefined_Color_Name |
|
Border Colour | Border | Border thickness <space> border style <space> Predefined_ borderColor_Name |
|
shaalaa.com
Introduction to CSS
Is there an error in this question or solution?
APPEARS IN
RELATED QUESTIONS
Which of the following is the page level style?
The extension of CSS file is ______.
What is selector?
Which of the following ways below is correct to write a CSS?
What is the use of <style> tag?
Write the general format of linking CSS with HTML.
What is Inline Style?
Write down general format of CSS declaration.
Write a CSS file to define text color and alignment to <p> tag.
Write a CSS file to define font type, style and size to <h1> tag.