evahenry's avatar

Doctype Declaration Issue

Hey Folks! Actually, I am optimizing my website. Some of the tools are showing that this page - https://www.iglobsyn.com/services/web-development/nodejs-development/ has doctype missing but when I check in the source it present. Anyone has an idea about this issue.

0 likes
1 reply
grenadecx's avatar

If you check the source on the page, you have stuffs above the doctype.


  <link rel="stylesheet" type="text/css" href="https://www.iglobsyn.com/wp-content/themes/iglobsyn/new_style.css">
 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
 <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
 <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>  

Those should be in the header.

On a sidenote, you also have scripts outside body/html tag at the bottom.

Here's how the entire source looks like: https://pastebin.com/sRzzY532

Please or to participate in this conversation.