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> h1, h2, h3, h4, h5, h6 { font - variant: small - caps; text - align: left - align; text - decoration: underline; } p { /*text - indent: 5em;*/ } .left - indent { padding - left: 5em; text - align: justify; } </style> </head> <body> <h1 class=\heading1\ style=\text - decoration: none;\>this is a heading 1</h1> <h2 class=\heading2\>this is a heading 2</h2> <p class=\left - indent\>this is a paragraph.</p> </body> </html> the entire text in the p tag will be indented. the text \this is a heading 2\ will be underlined. only the first line of text in the p tag will be indented. the text \this is a paragraph\ will be left aligned. the text \this is a heading 1\ will display in small caps. the text \this is a heading 1\ and \this is a heading 2\ will be underlined.
Answer
Brief Explanations:
- In the CSS for the
ptag, thetext - indentproperty is commented out, so no indentation forptext. The.left - indentclass haspadding - leftandtext - align: justify, not left - align forptext in that class. h1, h2, h3, h4, h5, h6havetext - decoration: underlinein the global CSS, but theh1with class "heading1" hastext - decoration: nonespecified inline, overriding the global style for thath1. Theh2will be underlined as it has no overriding inline style fortext - decoration.h1, h2, h3, h4, h5, h6havefont - variant: small - capsin the global CSS, but theh1with class "heading1" has nofont - variantspecified inline, so it will follow the global style and display in small caps.
Answer:
- The text "This is a Heading 2" will be underlined.
- The text "This is a Heading 1" will display in small caps.
- The text "This is a paragraph" will be left aligned (since the
text - alignfor the.left - indentclass isjustifywhich still has a left - aligned aspect in normal text flow).