Advanced options . Link file to html code
Author: Karel C.
Visited 784,
Followers 1,
Shared 0
In advanced settings (step 4), section Statistics, SEO and Code, you can link files to html code or simply insert them into a chosen directory.
I am not sure about the purpose of that flag 'link file (only .js or .css file) . Whether I flag it or not, as long as I specify the right path in my html or javascript, it will find this file. Guess I am missing something. See attached file.
Posted on the
Hello Karel,
Your screenshot shows that you are linking an image file (.gif). The checkbox you refer to has no effect on image files. It works only when used in conjuction with JavaScript (.js) and Cascading Style Sheets (.css)
When linking to one of those two file formats checking the box will insert a line in the HEAD of the web page similar to one of the following:
<script type="text/javascript" src="files/linked_file.js"></script>
<link rel="stylesheet" type="text/css" href="files/linked_file.css" media="screen, print" />
This line is required in order for these types of files to operate correctly.
Kind regards,
Paul
Author
Thanks Paul,
Understood. My point was: if I include those tags in my html code, I don't have to flag the link button. Is that correct ?
Yes, if you include them manually.