Both merit consideration. It is not . HTML is a markup language and this difference is quite meaningful. Conditions can be evaluated, criteria modified, and so on, using logical evaluations. A programming language supports instructions which process data, whether that includes evaluating data so as to make logical decisions or modifying data through calculations and other operations.
Some folks are HTML gurus while others are style fanatics and yet others are programming gods.
Mixing together programming language within HTML within a single document makes life difficult for these folks who would be more productive working on their own distinct modules which can be pieced together to create the final product. Adherence to either style is difficult in a world where script is embedded within an unrelated markup language, yet both styles are critically important to large and complex programs, as Web-based scripts are inevitably becoming. Investing Internet Technology Windows Internet Tech. Copyright 2001 INT Media Group, Incorporated. All Rights Reserved.