Comments (3)
type="text/javascript"
This attribute is optional. Since Netscape 2, the default programming language in all browsers has been JavaScript. In XHTML, this attribute is required and unnecessary. In HTML, it is better to leave it out. The browser knows what to do.
I tend to agree, and if we plan to support only HTML (not XHTML), I don't want to add that attribute. That said, this is a rather minor thing to do even if we don't fully support XHTML. I'll give it some thought.
Thanks!
from carnival.
The correct MIME Type is application/javascript
, which is the default.
from carnival.
Some versions of Internet Explorer fail if you specify application/javascript
.
from carnival.
Related Issues (20)
- Add copy to the homepage
- article_selector with id HOT 3
- Make it possible to delete comments HOT 4
- Not working on my site HOT 4
- HTML is unescaped HOT 2
- Unsubscribe may be broken HOT 6
- Syntax error on docs page HOT 1
- Official tutorial for VPS HOT 1
- Consider replacing helper with middleware
- Experiment with Heroku Docker
- Set up Airbrake for 500 errors
- Comment feed contains bogus article URL due to omitting forward slashes
- Comments not working for bottom half of blog post HOT 1
- yesod devel fails on master
- New Comment button not appearing at certain screen sizes HOT 1
- 'Authentication Error' with github sign-in HOT 7
- Comments visually overflowing onto footer HOT 1
- Horizontal overflow for long strings
- Use free SSL option on Heroku?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from carnival.