Live data from Hacker News

My daughter (7 years old) used HTML to make a website

naya.lol

151–160 of 547 posts

Re: My daughter (7 years old) used HTML to make a website

#151
post #103

Earlier quoted context omitted.

I thought the whole point of XML tags coming in named pairs was so you could be helpfully told which tag wasn't closed?

XHTML was a move by Big CMS to make edit-and-FTP error prone. Before that you rarely had to care whether the tag was closed.

[flagged]

Re: My daughter (7 years old) used HTML to make a website

#152
post #148

This is adorable and made me feel good! I learned something about cats too. Thank you for sharing.

As the father of a six year-old girl, the cheetahs page made total sense to me. My daughter likes to play "Name this animal" with me, where she describes the animal and I have to guess what it is. Why are six and seven year-old girls obsessed with cheetahs?, I ask myself. My guess is that it's because they are the fastest animals.

Re: My daughter (7 years old) used HTML to make a website

#154

Earlier quoted context omitted.

> No need for / in HTML I personally prefer having the /> even though it's not necessary, so that I can tell at-a-glance whether a tag is self-closing or not. It doesn't hurt, does it? (plus I'm just used to it because the book I learned HTML from was confident that XHTML was the future)

I reckon it does hurt, beyond the negligible cost of the extra transferred and parsed bytes: it teaches something that’s simply incorrect, and doesn’t do what people often think it does. ① The trailing slash doesn’t make a tag self-closing. All it does is get ignored, emitting a parse error (which in common compiler terms is just a warning) if you use it on a non-void tag. You can’t use . You can’t use . The only tag…

IIRC, that's not necessarily true, some parsers "upgrade" html to xhtml and then process the xhtml since its more regular. html in general is a mess due to backwards compatibility requirements so trying to follow these kind of definitions imo is kinda pointless. you can optimize for size if you want but the decrease from these kind of optimizations with modern speeds is rather minimal

Re: My daughter (7 years old) used HTML to make a website

#156
post #152
post #148

This is adorable and made me feel good! I learned something about cats too. Thank you for sharing.

As the father of a six year-old girl, the cheetahs page made total sense to me. My daughter likes to play "Name this animal" with me, where she describes the animal and I have to guess what it is. Why are six and seven year-old girls obsessed with cheetahs?, I ask myself. My guess is that it's because they are the fastest animals.

Yet despite their ferocity still cute, they purr rather than roar!

Re: My daughter (7 years old) used HTML to make a website

#158
it's good to see a little person having fun with all this technocrap that us grognards have gotten so bitter about over the years/decades. :) i hope she continues to have a blast!

(from the dedication page in SICP:)

“I think that it’s extraordinarily important that we in computer science keep fun in computing. When it started out, it was an awful lot of fun. Of course, the paying customers got shafted every now and then, and after a while we began to take their complaints seriously. We began to feel as if we really were responsible for the successful, error-free perfect use of these machines. I don’t think we are. I think we’re responsible for stretching them, setting them off in new directions, and keeping fun in the house. I hope the field of computer science never loses its sense of fun. Above all, I hope we don’t become missionaries. Don’t feel as if you’re Bible salesmen. The world has too many of those already. What you know about computing other people will learn. Don’t feel as if the key to successful computing is only in your hands. What’s in your hands, I think and hope, is intelligence: the ability to see the machine as more than when you were first led up to it, that you can make it more.” ~Alan J. Perlis (April 1, 1922 – February 7, 1990)

Post reply on HN