Eli5:What does “Markup” in HTML mean?

181 views

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

4 Answers

Anonymous 0 Comments

HTML marks up (describes) what any given element on a page is. Is it a paragraph, an article, a section, a quote, an address etc. Makes it easier for search engines and the like to read a page and ascribe meaning to it.

It isn’t really meant to describe what something looks like – just what it is. CSS is attached separately and that describes what elements in a page actually look like. You can have different stylesheets for different devices (back in my day we had aural stylesheets, and used CSS to describe how a web page would sound when read out by a screen reader)

Then you also have Javascript which is meant to add behaviour.

There’s some overlap, and it is often commonly misused – a lot of HTML used to describe the appearance of a page with tags such as font and center, which have been deprecated, though some tags do still have purely presentational purposes.

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