Hi there,
Marking something up in a book would mean underlining or highlighting a text. In that sense I am finding it difficult to grasp the reasoning behind the name HTML(Markup).
As a side note, I am puzzled that, isn’t CSS the language that actually marks up the texts and other items in a webpage? Then why would HTML, the language of tags, be called a markup language.
I appreciate your time for reading this, feel free to point me towards resources where more information about this reasoning can be found.
have a good time!
In: 2
A markup language is closely resembling how you would use a markup pen. You are marking certain sections of text to annotate them. Often with multiple colors and commonly with notes in the margins. The HTML tags is these markings. And if you imagine an old style print shop, before computer printing and digital text editing, you would type out some text and mark it with a markup pen. Then you would send it to the print shop along with a style sheet telling the printers what the markings mean. And they would render it out and print it for you.
HTML is keeping the exact same process, just using computers. The way HTML was supposed to work was that you write a text file, annotate it with the HTML tags. You then send this to the browser along with the CSS which tells the browser what the HTML tags mean. And the browser will render it out and display it to the user.
Latest Answers