Live data from Hacker News

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

naya.lol

111–120 of 547 posts

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

#113
post #38

Earlier quoted context omitted.

Until you try creating one of those videos, and now you need .movs and .mp3s and .pngs and a place to store the render output. Files have a way to go yet.

You’d be surprised! With many apps on the iPhone you can get by Edit a video? Built in app, or your social media app is already loaded with that and you can save state instead of posting Reverse a video? There’s an app for that which just goes back into your Photos app to let you tried that content and so on people dont need to have that mental model until something breaks

Right, but those videos are amateur and get 200 views on TikTok.

You want to produce a video of any quality at all? You're using files.

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

#114
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…

> 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 tags you’re allowed to use the trailing slash on are the defined void tags like and
.

It’s not “not necessary”, it’s “completely useless, by definition”.

I’ve seen people presume they can close tags this way. JSX probably helps cause this, because you can there. But because self-closing tags aren’t a thing in HTML syntax, I think it’s harmful to use the spelling at all in HTML syntax.

② I wouldn’t mind so much if people used it consistently, and I wouldn’t mind at all if it was being used to support both HTML and XML syntax, but if you see sites that use trailing slashes on void tags in their head, practically every time there will be at least one tag that isn’t using it:

  
  
  
  
③ I also dislike it because it’s fairly common for syntax highlighters or other casual parsers to get it wrong. Most commonly, I’ve seen tools misinterpret an unquoted last attribute, treating as rather than before. (Same with the likes of , but anchor hrefs are more commonly going to look like that.)

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

#115
Cool! I made my first HTML website in 2001, when I was 10. The ISP allowed you FTP some HTML and image files into a folder, and you got a little website.

Figuring out HTML was not too hard for me as a kid. Things enclosing other things is not a hard to grasp concept. I didn't use CSS and back then you had and stuff; nowadays it's frowned upon as mixing up semantics and presentation, but back then it made sense to me.

But doing any sort of programming (like at least writing batch files that had ifs and loops) was way harder and it took me several years to figure out.

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

#116
post #53
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…

> The dog is squeezed! We talked about that, and she thought it looked better that way.

[deleted]

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

#117
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…

  the dog is squeezed!
Her page, her squeezed dog !

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

#118
Surprisingly similar to our own web page made ~20 years ago as kids. Repeating and animated background, some theme pages with a few words about some hobby or things we liked, and then shit loads of marquee tags, heh.

https://web.archive.org/web/20180330033122/http://moj24.trip...

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

#119
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.

Is this a joke? I genuinely can't tell.

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

#120
post #99

Earlier quoted context omitted.

I'm 22, and most of my "not tech savvy" peers and anyone I've met under 20 have zero concept of how most tech actually works. The pictures taken on your phone are not "stored somewhere", they are stored "in Google" or "in iCloud" or "in the photos app". Documents are similarily "in Google" or "in Word". There's no intuitive relation between photos and documents being the same thing on the filesystem, nor is there a c…

> darn adults these days won't teach their kids how to use the computer! I would bet most of the greyhaired people on here as well as those who were born at the time of the personal computer revolution didn't have parents who were proficient in a technology that was literally just made available to consumers yet those kids learn to use a computer on their own at a time where there was no internet available to check.…

It ain't that deep. Back then, you had to understand the lower level concepts in order to use the computer... Nowadays, you don't. It's that simple.
Post reply on HN