Jump to content

Как подключить скрипт extsrc.js на сайт

Recommended Posts

Здравствуйте! Нужно подключить скрипт extsrc.js, который откладывает загрузку js. Там нужно заменить "src=" на "extsrc="  в инструкции говорят подключить скрипт в html код страницы, но все файлы php и там нет "src=". Подскажите, как его засунуть, что бы правильно работало.

Link to post
Share on other sites

To include an external JavaScript file, we can use the script tag with the attribute src . You've already used the src attribute when using images. The value for the src attribute should be the path to your JavaScript file. This script tag should be included between the <head> tags in your HTML document.

Link to post
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.

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.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...