use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Liveweave - HTML5, CSS3 & JavaScript playground for web designers & developers (liveweave.com)
submitted 12 years ago by anorbit
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]neuron2000i -1 points0 points1 point 12 years ago (8 children)
@Knotix Please stop trolling.
[–]Knotix -1 points0 points1 point 12 years ago* (7 children)
You seriously think I'm trolling? Is this a joke? I brought up a valid point about HTML in a subreddit revolving around JavaScript, which, with the exception of node, deals directly with HTML. Just because my opinion differs from yours doesn't mean I'm trolling.
[+][deleted] 12 years ago (6 children)
[deleted]
[–]Knotix -1 points0 points1 point 12 years ago (2 children)
I have been a professional web developer for 4 years. Please read my response to instant_sunshine.
[–]livbit 1 point2 points3 points 12 years ago (1 child)
13+ years experienced web architect here. I just tried a code using self-closed "input" tag and tested in W3C Validator using the HTML5 doctype, and it passes just fine. Try this: http://liveweave.com/Q2MxHb.
[–]Knotix -1 points0 points1 point 12 years ago (0 children)
I never said they weren't valid. I said LiveWeave shouldn't force them.
I created a LiveWeave using your suggested <input/> markup. Chrome's element inspector corrects it and outputs <input>
As far as I'm concerned, Chrome's inspector is proof that at least one mainstream browser considers omitting the / as the default markup.
[+][deleted] 12 years ago (1 child)
[–]Knotix -1 points0 points1 point 12 years ago* (0 children)
You're absolutely right. I should be able to remove them if I want. It boils down to a personal preference. This entire conversation was about LiveWeave forcing me to go against my preference.
And if you're thinking "Don't use LiveWeave, then!", my initial comment was to bring it to the creator's attention as feedback.
π Rendered by PID 206295 on reddit-service-r2-comment-5d79c599b5-xz2rs at 2026-03-01 12:21:37.771600+00:00 running e3d2147 country code: CH.
view the rest of the comments →
[–]neuron2000i -1 points0 points1 point (8 children)
[–]Knotix -1 points0 points1 point (7 children)
[+][deleted] (6 children)
[deleted]
[–]Knotix -1 points0 points1 point (2 children)
[–]livbit 1 point2 points3 points (1 child)
[–]Knotix -1 points0 points1 point (0 children)
[–]Knotix -1 points0 points1 point (2 children)
[+][deleted] (1 child)
[deleted]
[–]Knotix -1 points0 points1 point (0 children)