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
Which of the following is the page level style?
The extension of CSS file is ______.
What is the property to set text as bold?
Which of the following indicates that the text included is a comment?
Write the general format of linking CSS with HTML.
What is Inline Style?
What are the advantages of using CSS? Advantages of CSS
Write a short note on rule of CSS.
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.
