Validation Output: 2 Errors The attribute given above is required for an element
ID: 3731678 • Letter: V
Question
Validation Output: 2 Errors
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
Explanation / Answer
Error:1
You have to mention action attribute in form tag
action means when submitting form, it will send the details to action page
Ex:
<form id="form1" action="submit.php">
.....
</form>
Error: 2
The error means h1 tag does not allowed in nested tags of <center>, <u>.
This can be write as <h1><center><u> Shopping Maniac </u></center></h1>
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.