This is absolute nonsense. In the beginning the web didn't even have inline images. It was a text-only protocol.
https://www.wired.com/2008/09/history-of-img-and-embed-tags/
Cookies and script tags were hacks added by Netscape, IIRC.
Maybe you misinterpreted my comment. "practically from the beginning" does not mean the same thing as "from the beginning." I think something that was considered to be a part of the HTML spec, regardless of how it came about, since the 1990s counts as "practically from the beginning."
>Cookies and script tags were hacks added by Netscape, IIRC.
Tim Berners-Lee didn't seem to have a problem with the premise of embedded scripting in HTML in 1992[0], albeit not with the script tag and JS per se. And my comment was more referring to whether or not executing code in a browser was considered a legitimate use of HTML and the web at the time - and clearly it was, albeit not universally. That paradigm wasn't something Netscape just "hacked" in and entirely forced upon an unwitting web.
[0]http://1997.webhistory.org/www.lists/www-talk.1992/0064.html
And the possibility of scripts is mentioned at least as far back as HTML3[0] in 1996, with the script tag being added as a placeholder element in HTML 3.2[1], and Java applets were already supported.
So while it wasn't there at the very beginning, it's clear the architects of the web didn't consider running code in the browser to be antithetical to its purpose.
[0]https://www.w3.org/TR/WD-script-960131.html
[1]https://www.loc.gov/preservation/digital/formats/fdd/fdd0004...
Section 5.1.7 Code On Demand
[1] https://www.ics.uci.edu/~fielding/pubs/dissertation/fielding...