Advertisements
Advertisements
Question
List and explain the Font and text element properties and values used CSS.
Long Answer
Advertisements
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
Expansion of CSS ______.
CSS is also called as ______.
The extension of CSS file is ______.
Which of the following indicates that the text included is a comment?
Which of the following ways below is correct to write a CSS?
What is the use of <style> tag?
What is CSS?
What is Inline Style?
What are the advantages of using CSS? Advantages of CSS
Write a CSS file to define font type, style and size to <h1> tag.
