Live data from Hacker News

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

naya.lol

161–170 of 547 posts

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

#161
post #63

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 strongly believe that the harm we experienced from XHTML should not be passed down to future generations.

I've always been completely baffled by the rejection of xhtml. It gave a way to extend html with new elements and a simple, powerful client side templating language with xslt. The "reason" for which I remember it being rejected was that allegedly web devs couldn't wrap their heads around closing tags and explicit attribute values, which seems crazy to me. Then a few years later typescript took off (which is way more complicated) and react gave a pretend way to write xml except now you need a compiler/build pipeline, and everyone loved it.

xhtml still works in modern browsers btw. It's still probably the easiest way to do page templates. XSLT shows its age without the ability to modify the page after load (unless you run it via javascript), but we could've just added that and it'd be almost perfect.

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

#164
This looks like my first website that I made for the game Freelancer around 2003, which was essentially just a short description of the game and a bunch of screenshots I made during gameplay.

It's nice that kids these days don't skip the basics.

Please, please, don't ever tell her about Javascript.

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

#166
post #128

Earlier quoted context omitted.

Is this code review of HTML written by a 7 year old too hackernews, or just hackernews enough? Who can tell!

Don’t 7 year olds deserve to learn how to improve too? The comment doesn’t appear to be done aggressively or in bad faith, so what’s the issue? Presumably it will be the parent who’ll read the comment, and they can pass it on or not depending on what they think the kid would prefer and/or would let them grow. Ironically, I find the most HN comments of all to be the ones who complain about something being too HN. Whic…

Unsolicited critique is almost always unwelcome critique, in my experience. Especially where someone else's 7 year old is concerned.

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

#168
post #26

Width and height must be specified without units (although looks like browsers accept it, probably by ignoring the unit). IMG tags are self-closing, so you can omit The dog picture has wrong aspect ratio. The dog is squeezed! It should be 620 × 349 or, if 500 width or 400 height is needed, there's a good mathematical task to calculate the size of the other side. No need for / in HTML. unicorn.html unicorncopy.html Pa…

[deleted]
Post reply on HN