What language is Html written in?

What type of Html language is based on ?, I already studied html, Css, Php, Js and Ruby But I always wondered what language is written in Html. I do not think this is written in something like C.

+6
source share
4 answers

It is not "written" in anything. This is a markup language . HTML is parsed by a browser that displays a web page.

This is not a programming language. But perhaps if that helps, you can think of HTML as an interpreted language and a browser as an interpreter.

+10
source

If you are talking about how it is implemented by the browser, it is usually written in an object-oriented language because of its modular nature.

In Firefox, which uses C ++, there is an open source policy, you can view the code for the html parser here .

+6
source
  • HTML 2 / 3.2 / 4.x - SGML applications.
  • Different versions of XHTML are XML applications.
  • HTML 5 is not defined in terms of another language
+1
source

Each browser got its own engine, which converts html to what you can see

you can read this: How the browser works

+1
source

Source: https://habr.com/ru/post/952859/


All Articles