3 ms·
HTML has sections for data and code just like most other executable files. The code parts in an HTML file are typically in <script> sections.
by postalrat 6y ago
HTML has sections for data and code just like most other executable files. The code parts in an HTML file are typically in <script> sections.
- s_dev 6y agoWhy do you think it supports <script> tags? To allow you to extend the functionality where HTML is clearly limited. Adding two numbers in HTML might be expressable but clearly it's much easier in Javascript.