0
Что такое...
Что такое сценарии и теги. Извините за, возможно, глупый вопрос, я только начинаю учиться
1 Odpowiedź
0
<script> tag is used to embed code , usually javascript code.
You can directly write script within tags or link an external script file using src (source) attribute .
For example :
<script>
alert("Hello!");
</script>
This show alert message "Hello".
In external file named *myscript.js*
alert("Hello");
then link it with html like this:
<script src="myscript.js"></script>
This shows same message but this time script is externalized.
Keep learning. You'll get better with practice . Don't forget to write code. Reading isn't enough. 🙌