我对网页设计一无所知。
如果你去http://caroufredsel.frebsite.nl/examples/carousel-lightbox-tooltip.php你会发现 CSS、JavaScript 和 HTML 代码都被单独提到了。我如何整合它们? CSS 和 JavaScript 应该放在 head 标签内吗?
最佳答案
是的,您说得对,它们可以集成到Head Section中。
例如:
<style type="text/css">
/* Place the contents of the file.css here */
</style>
<script type="text/javascript">
// Place the contents of the file.js here.
</script>
关于javascript - CSS、Javascript 和 HTML 的集成,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10781685/