What if w3 validates my document and myshop doesn’t?

To validate your html template you can use the validator of w3.
It is possible that w3 validates your document, but if you upload your template at myshop.com you receive error messages.

This can have different reasons:

  • Using the wrong document type:
    The header specification for the type of document is not correct (it must be xhtml 1.0 transitional). The first lines of the document must include:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

This code provides information which type of document the file is. When this is not correct, the w3 validator will validate the document based on a different set of rules.

  • Having newlines inside tags:
    There are enters (newline characters) between tags (between the < and >, for example
<span style="color:black"
align="left">Left aligned text</span>

If you encounter other problems during validation than the ones described above, please send a message regarding this problem to support@myshop.com.

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment