Jump to content

Validating Site


Claudia M

Recommended Posts

My research shows that if the HTML declares itself as HTML5*, then <script src="x"></script> is all you need and want.

* All skins I have seen for CC5/6 are HTML5. This is declared with a simple <!DOCTYPE html> as the first line of the page code. Anything more than just this probably means the code is less than HTML5, such as HTML4. If not HTML5, then the rules are different, specifically for this question, the type attribute would then be required.

Check your main.php template for the doctype.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...