简体   繁体   English

Is it possible to create an HTML5 file that contains HTML, CSS, JS, NoUISlider, and Jquery code (not links to other files)?

[英]Is it possible to create an HTML5 file that contains HTML, CSS, JS, NoUISlider, and Jquery code (not links to other files)?

I have created a single working HTML5 file that contains HTML, CSS and JS.我创建了一个工作 HTML5 文件,其中包含 HTML、CSS 和 JS。 I would like to add (to the same file) NoUISlider and JQuery so that I can distribute a single file, rather than distributing a folder containing minified files of the above.我想添加(到同一个文件)NoUISlider 和 JQuery 以便我可以分发单个文件,而不是分发包含上述缩小文件的文件夹。 Is this possible?.... Thank you.这可能吗?....谢谢。

Replace the tags that reference external files with equivalent tags that contain the contents of those files.将引用外部文件的标签替换为包含这些文件内容的等效标签。

Replace代替

<link href="nouislider.min.css" rel="stylesheet">
<link href="customstyle.css" rel="stylesheet">
<script src="nouislider.js"></script>
<script src="wNumb.js"></script>

with

<style>
copy contents of nuuislider.min.css here
</style>
<style>
copy contents of customstyle.css here
</style>
<script>
copy contents of nouislider.js here
</script>
<script>
copy contents of wNumb.js here
</script>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM