Live data from Hacker News

[] are like Facebook

arelikefacebook.com

21–30 of 47 posts

Re: [] are like Facebook

#23
post #5

I'll take one for the team: I don't get it, what does this mean?

It makes more sense if you've seen this: http://www.youtube.com/watch?feature=player_embedded&v=c... which brought on at least one parody I've seen: http://www.youtube.com/watch?v=-2vfxnfWGRA

Or this: http://www.youtube.com/watch?v=5i32fJ7-4-4

Re: [] are like Facebook

#29
This is way off topic, but I want to share since I just learned about this a day or two ago. Skip over this comment if you don't care about HTML5 trivia.

I had no idea what this was supposed to be, and I thought maybe it just wasn't loading more content, so I checked the source. While there, Firefox told me there was an error with the HTML, and that the element contained elements that hadn't been properly closed.

This turned out to be because of the first element in the section, because it's trying to be a self-closing element when such a thing isn't possible.

As it turns out, the slashes you see in such elements as are purely decoration in HTML5. They're a holdover for people like me, who like the structure that XHTML tried to bring to the language.
is the proper HTML5 element, and is just there for decoration/compatibility. The slash doesn't mark the element as void - the element is void regardless of whether or not you use the slash.

The impact of this is that trying to create a self-closing in HTML5 by including the slash in the start tag - i.e. - only opens a without closing it. You need to include a closing tag right after the opening tag to get the result you want - i.e. .

Post reply on HN