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\.

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:

  1. For the <p> element: The p style has font - style: italic;, text - align: justify; and color: #00ff00 (green), so the text "This is a paragraph" will display green and be justified.
  2. For the <h1> element: It has an inline style style="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 has text - align: left;, but headings usually have their own default alignment and are not affected by the body's text - align for justification purposes.
  3. 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:

  1. The text "This is a paragraph" will display green and will be justified.
  2. The text "This is a heading" will display black and be bolded.
  3. The text "This is a paragraph" will display using the font "Segoe UI".