Home » questions » how did java script to mix in HTML and to be executed?

how did java script to mix in HTML and to be executed?

2006-08-01 14:33:38, Category: Programming & Design

Answers

  1. tedjn

    On 2006-08-01 14:40:47


    You insert Javascript inside tags. You do so, by the following: Now, the language attribute is not strictly required for some browsers which can figure out what language you are using, and it is deprecated as well. The type attribute is now what we are supposed to use although using either is really fine unless you're looking for spot on validation. The comments are just there for the really old browsers that don't understand Javascript or the Of course, you can also keep in mind the tags for people who have Javascript turned off.