0

Что такое...

Что такое сценарии и теги. Извините за, возможно, глупый вопрос, я только начинаю учиться

28th Mar 2020, 6:03 PM
Егор Арефьев
Егор Арефьев - avatar
1 ответ
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. 🙌
28th Mar 2020, 6:28 PM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar