QML vs HTML
The following is a small snippet based on the 2022 QML > HTML blog post TODO. Please checkout that post if your interested in a more detailed comparision between QML & HTML.
This aim of this page is really just to introduce the big picture differences between the two.
It is hard to introduce QML without comparing it HTML.
Even if you have never used HTML or QML it is worth taking a moment to think about the big picture difference between the two technologies:
- HTML describes how to structure text documents and links on the web. Overtime it was extended with JS and CSS to let you do much more but at it's core it is a text document rendering technology.
- QML was designed to describe how 2D and 3D spacial elements relate and interact with each other. It can still render text but that is not it's focus. QML is much more concerned with creating a user experience rather than presenting textual information.
This difference is subtle but as you learn QML you will see how this leads to a simpler, easier to understand language that allows you to do everything and more than HTML could ever offer.