Back

Explore Courses Blog Tutorials Interview Questions

Explore Tech Questions and Answers

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

0 votes
2 views
by (1.5k points)
Can anybody tell me what is the exact difference between <script> tag vs <script type = 'text/javascript'> tag? I am not able to find it online.

1 Answer

0 votes
by (1.4k points)

We use <script>  in HTML 5 an 

We use <script type='text/javascript'> in HTML 4.x (and XHTML 1.x) and 

<script language="javascript"> is HTML 3.2. 

No, it is not different for different webservers 

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Browse Categories

...