Internal javascript là gì?
Noun
Javascript
- ★
- ★
- ★
- ★
- ★
Internal javascript là cách viết mã JavaScript trực tiếp vào file HTML bằng cách viết mã bên trong thẻ (tag) <script>. Chúng ta có thể đặt thẻ <script> bên trong thẻ <head> hoặc thẻ <body> tùy theo nhu cầu.
<html>
<head>
<title>Internal JS</title>
</head>
<body>
<h2>Dictionary4it</h2>
<script>
/*Internal Javascript*/
console.log("Hi Dictionary4it");
</script>
</body>
</html>
Learning English Everyday