+ 2
Why <script> isn't written in the code playground?
3 Answers
+ 3
Because it's a Js file so no need to write <script> tag
+ 3
When writting JS codes directly into the html document, we use the <script>...</script> tag, but when we have the js code in a different document, we dont use the tag, we use the <link> tag
0
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
</body>
</html>
... I'm sorry, but I don't see any <link> tag neither in Code playground - section html. Why is it so?