Which property would you use to change the font style of text?

Study for the TSA Foundations of Information Technology Exam. Prepare with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your exam!

To change the font style of text, the property used is the font-family. The font-family property specifies the typeface that should be applied to the text, allowing you to dictate whether the text appears in Arial, Times New Roman, Courier New, or any other available typeface. This property is essential for defining the look and feel of text, impacting its readability and aesthetic appeal on a webpage.

By contrast, the font-size property adjusts the size of the text but does not change its style or typeface. Text-align controls the horizontal alignment of the text (left, right, center, justify), and the background-color property modifies the color behind the text rather than the text itself. Therefore, when the goal is to alter the actual appearance of the font, the font-family property is the appropriate choice.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy