Advertisements
Advertisements
Question
List and explain the Font and text element properties and values used CSS.
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 |
|
APPEARS IN
RELATED QUESTIONS
CSS is also called as ______.
What is selector?
What is the property to set text as bold?
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?
Write the general format of linking CSS with HTML.
What is Inline Style?
Write a CSS file to define text color and alignment to <p> tag.
Write an HTML document to display the following paragraph as per the given description Using CSS:
- Font Name: Cooper Black
- Style: Bold Italics
- Color: Blue
“The State Institute of Education (SIE) was established in 1965 to provide for systematic study of problems relating to School Education under the administration of Directorate of School Education.”
