Home > Article > Web Front-end > Some basic questions about JS
We often encounter some js problems during development and learning. This article will introduce some related js basic issues.
What is the order in which CSS and JS are placed on the web page?
Generally we put the CSS in the head tag and the JS code at the end of the body code.
<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>JS基础</title> <style> /* 这里放css代码 */ </style></head><body> <!-- 这里放HTML代码 --> <script>
The above is the detailed content of Some basic questions about JS. For more information, please follow other related articles on the PHP Chinese website!