What Are Language Tags?
The Language Tags are used to be recognized by the language parser or compiler.
Example 17:
<?php
PHP code goes here;
?>
|
<?php……?> is PHP language tags, which means all PHP code should be put in here.
Example 18:
<script>
JavaScript code goes here;
</script>
|
<script>……</script> is JavaScript language tags, which means all JavaScript code should be put in here.
Note: Many languages have no language tags, they use other instructions to mark the beginning and ending of the program.