This commit is contained in:
Miloslav Ciz 2025-05-13 20:44:05 +02:00
parent 1343c90ee8
commit edb70b8898
33 changed files with 2184 additions and 2044 deletions

View file

@ -4,7 +4,7 @@ HTML, short for *Hypertext Markup Language*, is a relatively simple [computer](c
By traditional definitions **HTML is NOT a [programming language](programming_language.md)** because it doesn't express [algorithms](algorithm.md), only a structure and content of a document (webpage), so boasting about being an "HTML programmer" results in nothing but cringe and embarrassment. HTML webdevs are therefore NOT necessarily programmers. Going by a more liberal definition of a "programming language" (such as that of the [esolang](esolang.md) wiki) a 200 [IQ](iq.md) nerd can claim HTML is ACKCHUALLY a programming language of a very odd sort, specifically a [declarative](declarative.md) one that's not [Turing complete](turing_completeness.md). But that's like stretching the definition of "[music](music.md)" to include any kind of audible noise, like farting for example, so that anyone who farts can be called a musician.
**[History](history.md) and context**: HTML emerged as a part of the [world wide web](www.md) framework created circa 1990 by Tim Berners-Lee. Later on it got standardized every once in a few years or so; the latest standard is HTML5 from 2014. In [syntax](syntax.md) HTML is of resemblance to another widely popular language called [XML](xml.md). This is due to both languages descending from [SGML](sgml.md), a standard for markup languages. HTML and XML different, however, in both syntax and semantics (unlike with XML, HTML tags are case insensitive, closing tags aren't required, semantics of tags is predefined etc.), and so in general HTML and XML require different [parsers](parser.md) and [libraries](library.md). There was once an effort to make a version of HTML conforming to XML rules, so called [XHTML](xhtml.md), but it was kind of fruitless as hardly anyone adopted it.
**[History](history.md) and context**: HTML emerged as a part of the [world wide web](www.md) framework created circa 1990 by Tim Berners-Lee. Later on it got standardized every once in a few years or so; the latest standard is HTML5 from 2014. In [syntax](syntax.md) HTML is of resemblance to another widely popular language called [XML](xml.md). This is due to both languages descending from [SGML](sgml.md), a standard for markup languages. HTML and XML differ, however, in both syntax and semantics (unlike with XML, HTML tags are case insensitive, closing tags aren't required, semantics of tags is predefined etc.), and so in general HTML and XML require different [parsers](parser.md) and [libraries](library.md). There was once an effort to make a version of HTML conforming to XML rules, so called [XHTML](xhtml.md), but it was kind of fruitless as hardly anyone adopted it.
HTML can be (and often is) intermixed with other web languages, namely [CSS](css.md) and [JavaScript](javascript.md). As we know, JavaScript is a [shitty](shit.md) retarded [scripting](script.md) language for embedding sneaky, automatically executed programs to the HTML document, such as [crypto](crypto.md) miners, [keyloggers](keylogger.md), [bloat](bloat.md) and other [malware](malware.md), so good programmers consider use of JavaScript a very bad practice, so henceforth we'll just ignore it. CSS serves to give the HTML document a specific visual style, for instance specify concrete [fonts](font.md), background [color](color.md), paragraph spacing etc. In its beginning HTML actually contained its own ways for manipulating the visual appearance of the document (and for backwards compatibility still does), but later on a new [paradigm](paradigm.md) was adopted, stating that HTML should only define the "structure and content" of the document, while its appearance would be dictated separately by another language. CSS is crap too, but using it correctly and moderately is justifiable, i.e. as long as the CSS is light and the document stays fine when the style is removed, everything's cool.