You are developing a web page that includes the following HTML.
<span id=”myTextSpan” class=”myStyle”>Hello, World!</Span>
You need to use inline CSS styling to format the text with Arial font.
Which code segment should you use?
A.
Option A
B.
Option B
C.
Option C
D.
Option D
Explanation:
The font-family property specifies the font for an element.
Incorrect Answers:
A, D: This is not inline CSS.
C: With font style we define style only:
Syntax: font-style: normal|italic|oblique|initial|inherit;
CSS font-family Property