When you use viewport height (vh) to size fonts, which of the following is true?

A. The font size is relative to the browser's default font size.
B. The font size changes as the size of the viewport changes.
C. The font size is relative to the font size specified for the body.
D. The font size changes as the size of the font used by its parent element changes.

Answer :

Final answer:

When using viewport height (vh) to size fonts, the font size changes as the size of the viewport changes, not relative to the browser's default size or the size of the matern element.

Explanation:

When you use viewport height (vh) to size fonts, the font size isn't relative to the browser's default font size (Option A), or relative to the size specified for the body (Option C), or changes as the size of the font used by its parent element changes (Option D). Instead, the font size changes as the size of the viewport changes (Option B). This means, if the viewport height increases, the font size will also increase and vice versa.

For example, if you set the font size to be equal to 5vh, the font size will be 5% of the viewport height. So, when the size of the viewport changes, the font size will adjust accordingly.

Learn more about Viewport Height here:

https://brainly.com/question/33623787

#SPJ11