No IP protocol level security (that is widely adopted, IPsec) a top down distribution of addresses. Tacked on mutant growth to fix systemic issues (DNS, NAT, etc). HTML-internet specifically, html is a document markup used for applications and javascript is a browser extension language turned Internet assembly.
Maybe more than anything, people abuse what the Internet is for. Hospitals running their patient records over devices on the public Internet (that are almost certainly full of exploitable security holes on some port, which is probably an Internet "bug" in how easy it is to just barrage all the ports on a machine to find some exploitable application if they aren't proactive with managing the security).
Can you go into more detail on why you feel HTML is broken?
I would have agreed with you back when IE 6 was still a "thing." But these days with strict XHTML, CSS, for appearance/layout, and JS for logic we seem to actually be at a very good place for moving forward.
I'd even go as far as to say that XHTML/CSS and JS do a better job separating responsibilities than many programming frameworks I've used do.
Do I think they're perfect? No. In fact I hate typeless languages like JS. But it is "good enough."
Because there's problems in the protocols and bugs in the code that implements them and bugs in the hardware it runs on.
A simple example: there are some TCP/IP stacks where the urgent pointer indicates the last byte of urgent data, and some where it indicates the first byte after the last byte of urgent data. Obviously these aren't the same thing, and only one is correct according to the standard, but both kinds of stacks are (I think) still in use. We get around this by basically not using urgent data in our TCP streams.
Depends on how you define buggy. IP is vulnerable to all kinds of DOS attacks and weird edge case stuff. Are those "bugs?" Not really, since the spec didn't call for it to be strong against those things, but ... I guess it's a matter of perspective.
One thing the Internet does show is that a system doesn't have to be perfect to be robust and incredibly useful. In fact, worse is often better in that way too. If IP were orders of magnitude more complex to deal with all its potential edge cases, it likely would not have been as successful.
How the Internet is buggy?