209k views
3 votes
Identify the output for the following line of code:

New Title


А. All the headings on the website will be red in color,
B. All the headings on the website will be

in size
C. All the headings on the website will have the text New Title,
D. The heading New Title has an inline style with the color red



User John Oxley
by
6.8k points

1 Answer

3 votes

Answer:

The correct answer is D: The heading New Title has an inline style with the color red.

The explanation is given below

Step-by-step explanation:

For A to be the correct answer the html will be:

h1,h2,h3,h4,h5.h6{color: red}

For B option to be correct, there should be a size attribute. but no html about size is given.

For C to be the right answer, other heading should be mentioned but there are none.

The code html for D is given.

User Pradeep Kesharwani
by
6.7k points