Javascript

Topic: JS Basic

What is the difference between script type and the script language attributes?

The script type specifies the type of content that is used to show the language used by the browsers like “language=text/javascript”. This defines the MIME type that is also known as Multipurpose Internet Mail Extensions (MIME). Text in this defines a plain text format and script defines the language that will be used. The script language attribute on the other hand specify a particular version of JavaScript language that is required to run the script and to provide a mechanism to fall back if any browser doesn't support it.Script type is used to define the type through which the browser can understand the language and all the compatible browsers can execute the type according to themselves, whereas the script language attribute defines the content and its attributes that are used. 

Browse random answers:

What is JavaScript?
What is the difference between Client side JavaScript and Server side JavaScript?
How to comment javascript code? 
Name the numeric constants representing max,min values 
What is the importance of <SCRIPT> tag?
How are tag positions used in JavaScript?
What is the difference between Scripting and Programming?
What is the difference between script type and the script language attributes?
What are the different types of errors supported by JavaScript?
How many looping structures can you find in javascript?
What is the difference between “==” and “===”?
How do you convert numbers between different bases in JavaScript? 
What can javascript programs do? 
Methods GET and POST in HTML forms - what's the difference?.
How to write a script for "Select" lists using javascript?
Text From Your Clipboard? 
What does the "Access is Denied" IE error mean?
Is a javascript script faster than an ASP script?
How to embed javascript in a web page?
What is the difference between RegisterClientScriptBlock and RegisterStartupScript?
How to access an external javascript file that is stored externally and not embedded? 
What is the difference between SessionState and ViewState?
Can javascript code be broken in different lines?
Name the numeric constants representing max,min values
What does javascript null mean?
How to shift and unshift using JavaScript?
eval()?
What does break and continue statements do? 
How to create a function using function constructor? 
How to set the cursor to wait ?
What is Javascript namespacing? How and where is it used?
What is the difference between innerHTML and append() in JavaScript?
How to read and write a file using javascript?
How to detect the operating system on the client machine?
What can javascript programs do?
What does the "Access is Denied" IE error mean?
Can javascript code be broken in different lines?
Does javascript have the concept level scope?
What does break and continue statements do?
How to create a function using function constructor?
What are the Advantages of JavaScript ?
Write the Limitations with JavaScript?
How do we get JavaScript onto a web page?