+ 2

What language was used to create HTML?

I might sound absurd to some people, But even though HTML itself is technically not a programming language Tim Berners-Lee must have used some language to write HTML it can’t just sprout out of nowhere. So I’m interested to know, How was HTML written & is it possible for people like us to write a programming language like HTML & be as an alternative to HTML?

12th May 2018, 1:50 PM
Raaja Thalapathy
Raaja Thalapathy - avatar
8 Answers
+ 22
Jan Markus, as i know is html written in C or C++ 🤔🤔
12th May 2018, 3:18 PM
tooselfish - avatar
+ 8
Just my 2¢, I hope you realize that HTML is a markup language and essentially without a parser it will become useless. That means in fact you can create an alternative in any way you like *provided* you have a code or library ready to allow the recipient to parse/read it, which acts like a translator/compiler of a programming language.
12th May 2018, 3:46 PM
Zephyr Koo
Zephyr Koo - avatar
+ 7
HTML is a markup language that is interpreted and rendered in one of the many existing Web Browsers like : Internet Explorer(build in all the Windows OSes), Crome(Google), Safari(Apple), Opera, Fire Fox and many others!! These Browers are mostly written in C++!! Why in C++? Because this language is the most crossed platform supported(in other words it run on any OS, with any kind of Hardware, with the specific compiler suited to implement!!) It has already a buildin parser support which is important to interpret HTML!!
12th May 2018, 4:42 PM
Prop de Puppy
Prop de Puppy - avatar
+ 6
@Akib Reza Thanks man! Probably should have done that first, Seems like HTML was written using a language called SGML (Standard Generalized Markup Language) and Tim Berners-Lee said it was an Application made from SGML, but SGML was the derived from Scribe the first accepted familiar markup language. Too much of History behind HTML I guess 😹 If your interested you can take a look at this Article. https://www.wired.com/1997/04/a-brief-history-of-html/
12th May 2018, 2:21 PM
Raaja Thalapathy
Raaja Thalapathy - avatar
+ 3
Although it could be possible to code a compiler in almost any language, (you can indeed code a C++ compiler in C++). In the end the good fast efficient compilers will have at least some assembly language parts. That being said HTML is an implementation of SGML. BUT in the end it is the browser that has to do the real work of implementing how the HTML is rendered. The source code of several browsers are open just go look them up.
21st May 2018, 2:11 AM
Russ Venlos
Russ Venlos - avatar
+ 2
It was first written in Vulcan, then in a Klingon dialect that corrupted the original intent. Finally the federation (w3c) council convened and forced standardization. I think Jan Markus and tooselfish are pulling your leg. Trust me.
12th May 2018, 3:40 PM
ServantCoder - avatar
- 1
Even if it was a programming language no one would write a language technically people would write compiler. You can google this kinda question instead of asking here. Would be lot faster too.
12th May 2018, 1:58 PM
Akib - avatar
- 3
I dont think there is a "language" used, because that sould be programmed too. I think that its part of the OS, and that it, for users, is not possible to make an own language, because its way too complicated unless there is some kind of sandbox to make one
12th May 2018, 1:59 PM
Roel - avatar