Código:
Validation Output: 2 Errors 1. Error Line 1, Column 1: no document type declaration; will parse without validation <script src="http://widgets.twimg.com/j/2/widget.js"></script> The document type could not be determined, because the document had no correct DOCTYPE declaration. The document does not look like HTML, therefore automatic fallback could not be performed, and the document was only checked against basic markup syntax. Learn how to add a doctype to your document from our FAQ, or use the validator's Document Type option to validate your document against a specific Document Type.
Código:
Aca el Codigo que estoy probando.2. Error Line 2, Column 8: document type does not allow element "SCRIPT" here <script> ✉ The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed). One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Código HTML:
<script src="http://widgets.twimg.com/j/2/widget.js"></script> <script> new TWTR.Widget({ version: 2, type: 'profile', rpp: 6, interval: 6000, width: 300, height: 250, theme: { shell: { background: '#383138', color: '#ffffff' }, tweets: { background: '#dfe8f2', color: '#170317', links: '#3356e6' } }, features: { scrollbar: true, loop: false, live: true, hashtags: true, timestamp: false, avatars: true, behavior: 'all' } }).render().setUser('anime_golem').start(); </script>