Advanced options . Link file to html code
Автор: Karel C.
Просмотрено 787,
Подписчики 1,
Размещенный 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.
Размещено
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
Автор
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.