QUESTION IMAGE
Question
question: 12 of 30 consider the following html5 code: <!doctype html> <html lang=\en\> <head> <title>my favorite movie quotes</title> <link rel=\stylesheet\ href=\css/styles.css\/> </head> <body> <p> this web site is devoted to my favorite movie quotes. these iconic movie quotes have been used time and again but will never lose their appeal. </p> <p> captain (strother martin) in cool hand luke (1967) <blockquote> \what weve got here...is a failure to communicate.\ </blockquote> </p> </body> </html> the code does not validate as html5. why? the <meta> tag and its attributes are missing. the !doctype declaration is missing a reference to the document type definition (dtd). the <article> tag is missing. the <blockquote> tag should be used outside the <p> tags.
In HTML5, block-level elements like <blockquote> cannot be nested inside inline/block-level elements like <p> tags, as <p> can only contain phrasing (inline) content. The other options are incorrect: <meta> tags are not required for HTML5 validation, HTML5 doctype does not need a DTD reference, and <article> tags are optional semantic elements not required for validity.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
The <blockquote> tag should be used outside the <p> tags.