given the below markup, which of these statements is true? choose three answers. <!doctype html> <html>…

given the below markup, which of these statements is true? choose three answers. <!doctype html> <html> <head> <style> body { font - family: segoe ui, tahoma, sans - serif; text - align: left; color: blue; } p { font - style: italic; text - align: justify; color: #00ff00; } </style> </head> <body> <h1 style=\font - weight: bold;\>this is a heading</h1> <p>this is a paragraph</p> </body> </html> the text \this is a paragraph\ will display blue and will be italicized. the text \this is a heading\ will display black and be bolded. the text \this is a heading\ will be justified. the text \this is a paragraph\ will display green and will be justified. the text \this is a heading\ will display blue and will be left aligned. the text \this is a paragraph\ will display using the font \segoe ui\.
Answer
Brief Explanations:
- For the
<p>element: Thepstyle hasfont - style: italic;,text - align: justify;andcolor: #00ff00(green), so the text "This is a paragraph" will display green and be justified. - For the
<h1>element: It has an inline stylestyle="font - weight: bold;"and no color specified in the inline style, so it will take the default text color (usually black in browsers) and be bold. Also, it has no text - alignment specified in the inline style and the body hastext - align: left;, but headings usually have their own default alignment and are not affected by the body's text - align for justification purposes. - The body has
font - family: 'Segoe UI', Tahoma, sans - serif;but the<h1>has an inline style and no font - family specified there, and the<p>has its own styling and doesn't inherit the body's font - family for display purposes in this context.
Answer:
- The text "This is a paragraph" will display green and will be justified.
- The text "This is a heading" will display black and be bolded.
- The text "This is a paragraph" will display using the font "Segoe UI".