Software Development Exam  >  Software Development Videos  >  Learn Website Designing with XHTML and CSS  >  XHTML and CSS Tutorial - 18 - font-weight & font-style

XHTML and CSS Tutorial - 18 - font-weight & font-style Video Lecture | Learn Website Designing with XHTML and CSS - Software Development

45 videos

FAQs on XHTML and CSS Tutorial - 18 - font-weight & font-style Video Lecture - Learn Website Designing with XHTML and CSS - Software Development

1. What is the purpose of the font-weight property in CSS?
Ans. The font-weight property in CSS is used to specify the thickness or boldness of the text. It allows you to control the weight of the font, ranging from normal to bold or even bolder.
2. How can I apply different font weights to different elements in XHTML using CSS?
Ans. To apply different font weights to different elements in XHTML using CSS, you can use the font-weight property. Simply select the desired element(s) using CSS selectors and specify the desired font weight value using the font-weight property.
3. Can I use font-weight property with any font family in XHTML and CSS?
Ans. Yes, the font-weight property can be used with any font family in XHTML and CSS. However, not all font families may have different font weight variations available. It is important to check the font family's documentation or specifications to determine the available font weight options.
4. What is the purpose of the font-style property in CSS?
Ans. The font-style property in CSS is used to specify the style of the text, such as italic or oblique. It allows you to control the appearance of the font by changing its slant or posture.
5. Can I apply multiple font styles to the same text in XHTML using CSS?
Ans. No, you cannot apply multiple font styles to the same text in XHTML using CSS. The font-style property allows you to choose one style for the text, such as italic or oblique. If you want to apply multiple styles, you can use other CSS properties like text-decoration or combine multiple elements with different font styles.
Related Searches

mock tests for examination

,

pdf

,

MCQs

,

practice quizzes

,

Viva Questions

,

Extra Questions

,

Previous Year Questions with Solutions

,

past year papers

,

Important questions

,

study material

,

shortcuts and tricks

,

XHTML and CSS Tutorial - 18 - font-weight & font-style Video Lecture | Learn Website Designing with XHTML and CSS - Software Development

,

Sample Paper

,

Exam

,

XHTML and CSS Tutorial - 18 - font-weight & font-style Video Lecture | Learn Website Designing with XHTML and CSS - Software Development

,

XHTML and CSS Tutorial - 18 - font-weight & font-style Video Lecture | Learn Website Designing with XHTML and CSS - Software Development

,

Semester Notes

,

Free

,

Objective type Questions

,

video lectures

,

ppt

,

Summary

;