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?
Option A
Option A
Option B
Option B
Option C
Option C
Option D
Option D
Correct Answer
B
Explanation Explanation: The font-family property specifies the font for an element. Incorrect: not A, not D: This is not inline CSS. not C: With font style we define style only: Syntax: font-style: normal|italic|oblique|initial|inherit; Reference: CSS font-family Property
Question ID 15018
You are developing an HTML5 web form to collect feedback information from site visitors.
The web form must display an INPUT element that meets the following requirements:
✑ Allow numeric values between 1 and 10.
✑ Default to the value of 5.
✑ Display as a slider control on the page.
You need to add the INPUT element to the form.
Which HTML element should you add?
Option A
Rating (Between 1 and 10): <input type="number" name="rating" min ="1" max-"10">
Explanation Explanation: input type="range" The is used for input fields that should contain a value within a range. Depending on browser support, the input field can be displayed as a slider control. Example