Forum Moderators: phranque

Message Too Old, No Replies

Where Locate Reference To Manifest.Json File?

         

Jennnnn

3:15 am on Apr 10, 2018 (gmt 0)

5+ Year Member Top Contributors Of The Month



Where should the <link rel> for my manifest.json file be located on my pages? Currently its located just below <meta content>. Should it be located below these other references? This is a responsive site, not an app if that makes a difference. Thanks!

<meta content="width=device-width, initial-scale=1.0" name="viewport">
<link rel="manifest" href="/manifest.json">
<link href="https://fonts.googleapis.com/css?family=Raleway:300,100%7cBowlby+One:400" rel="stylesheet" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="../javascripts/jquery.slimmenu.js"></script>
<link href="../css/default.css" media="screen" rel="stylesheet">
<link href="../css/nivo-slider.css" media="screen" rel="stylesheet">
<!--[if lt IE 9]>
<script src="../javascripts/html5.js"></script>
<![endif]-->

phranque

3:34 am on Apr 10, 2018 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



that should work anywhere in the head of your document.

while it is recommended to put the meta charset element before the title element, most of the elements in the head of your document aren't really order-dependent.