FUNDAMENTALS OF COMPUTER

WEB BROWSERS TECHNOLOGY

WHAT IS WEB TECHNOLOGY

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which selector will change the font of the text?
A
font-size
B
text-align
C
font-famiy
D
text-decoration
Explanation: 

Detailed explanation-1: -To change font type purely with HTML, use the CSS font-family property. Set it to the value you want and place it inside a style attribute. Then add this style attribute to an HTML element, like a paragraph, heading, button, or span tag.

Detailed explanation-2: -To change the text font family in HTML, use the style attribute. The style attribute specifies an inline style for an element. The attribute is used with the HTML <p> tag, with the CSS property font-family.

Detailed explanation-3: -The font CSS shorthand property sets all the different properties of an element’s font. Alternatively, it sets an element’s font to a system font.

Detailed explanation-4: -In the Styles group on the Home tab, right-click the style you want to change and select Modify from the drop-down menu. A dialog box will appear. Make the desired formatting changes, such as font style, size, and color. If you want, you can also change the name of the style.

There is 1 question to complete.