Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

error fix, please code- Assignment1 ul { list-style-type: none; margin: 0; padding: 0; overflow: hidden; background-color: #333; align-content: right; text-align: center; } li { float:

error fix, please

code-

Assignment1

  • Home
  • Resume
  • Projects
  • Contact
  • Social
  • Admin

Contact


Feel free to contact me.

If you have any questions or projects you want to work on with me,

Leave me a trace of you, and I'll check it out.

I will give you an answer immediately.

I always look forward to hearing from you.

error-

Validation Output: 20 Errors

there is no attribute X

You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the element to incorporate flash media in a Web page, see the FAQ item on valid flash.

Line 5, column 19: there is no attribute "charset"

 "UTF-8">

Line 112, column 15: there is no attribute "id"

 
"contact">

Line 141, column 74: there is no attribute "placeholder"

Name" type="text" id="contactName" placeholder="Name" value="" minlength="2" />

Line 141, column 100: there is no attribute "minlength"

Name" type="text" id="contactName" placeholder="Name" value="" minlength="2" />

Line 144, column 104: there is no attribute "required"

mail" type="email" id="contactEmail" placeholder="Email" value="" required=""/>

Line 150, column 76: there is no attribute "placeholder"

sage" id="contactMessage" placeholder="message" rows="10" cols="50" > 

Missing xmlns attribute for element X. The value should be: Y

Many Document Types based on XML need a mandatory xmlns attribute on the root element. For example, the root element for XHTML might look like:

Line 2, column 1: Missing xmlns attribute for element html. The value should be: http://www.w3.org/1999/xhtml

<html lang="en">

element X undefined

You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:

incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "" element),

by using vendor proprietary extensions such as "" or "" (this is usually fixed by using CSS to achieve the desired effect instead).

by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).

Line 112, column 24: element "section" undefined

 
>

value of attribute Y cannot be X; must be one of %3

The value of the attribute is defined to be one of a list of possible values but in the document it contained something that is not allowed for that type of attribute. For instance, the selected attribute must be either minimized as selected or spelled out in full as selected="selected"; a value like selected="true" is not allowed.

Line 144, column 46: value of attribute "type" cannot be "email"; must be one of "text", "password", "checkbox", "radio", "submit", "reset", "file", "hidden", "image", "button"

 id="contactEmail" placeholder="Email" 

required attribute X not specified

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