eli5: Why is HTML so dominant?

266 views

Title. It seems that everyone hates HTML, so why is it so dominant? Why are there not many frameworks or languages that compile to HTML in the way that there are for JS? I get that there exists markdown, but that it does not have the standardization nor functionality of HTML.

Thanks!!

In: 0

4 Answers

Anonymous 0 Comments

HTML is not a programming language, it’s a markup language. There’s no variables, no flow control, nothing – just a set of containers-in-containers that you can put content in.

A framework wouldn’t make sense in that context – and translating to/from a different markup language, or adding layers of abstraction, would only muddy the water. Honestly, HTML is about as simple and direct as it’s possible to get.

Markdown is an excellent tool for styling a container of text within a document, but it is *not* suitable or intended for describing an entire page.

You are viewing 1 out of 4 answers, click here to view all answers.