Freemote Logo

Coding Wiki

Most Common Coding Questions

Find answers to popular programming questions and level up your coding skills

Where to put script in css

Learn how to position your scripts correctly within an HTML document.

Answer:

In CSS, scripts are not typically included as part of the stylesheet. Instead, they are usually placed at the bottom of an HTML document or inside an <head> tag.

css
<style> /* your styles here */ </style>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>

However, if you want to include CSS in a JavaScript file or embed it dynamically, you can use the following code: <link rel=

Tags:
css
☾☾☾
+++++++++
Level Up Your Coding Skills

CSS Cheat Sheet

Remember the essentials of 5 different languages, it's free.