Some basic questions about JS
May 21, 2018 am 10:21 AM
javascript
Base
question
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>
Copy after login