Why isn't HTML a Programming Language?
![Why isn't HTML a Programming Language?](http://ideacdn.net/idea/ct/82/myassets/blogs/html-isaretleme-dili-programlama-dili.jpg?revision=1581982499)
Whether HTML is a programming language is one of the questions that especially those who are new to web design are curious about. To answer briefly, HTML is not a programming language. HTML is a markup language called markup language in English.
What is a markup language?
Markup languages are used for manipulating, describing and presenting text. Layout and style formatting codes in a text file are written in these languages. For this, codes called tags are used. HTML stands out as one of the widely known and used markup languages.
The difference between a markup language and a programming language
The use of code in markup languages often leads to the misconception that it is a programming language. However, as we have seen in HTML, code in markup languages does not generate an executable script. Instead, the browser reads and interprets HTML codes. HTML codes, browser's titles, paragraphs, images, etc. allows you to distinguish.
The main feature that distinguishes programming languages from markup languages is functions. While HTML only marks the content for the browser, in programming languages we come across functions that will be activated under certain conditions. There are no conditional statements like if or else in HTML. The codes are sorted and the browser reads and interprets the codes, valid from top to bottom.
For example, we cannot find the result of 2+2 operation in HTML. Here, we can only use the phrase "2+2=4" as a content to make it appear on our website.
Should you learn HTML?
The fact that it's not a programming language doesn't make HTML any less valuable. Only HTML is used for different purposes as it is not a programming language. For example, for people who are interested in web design, learning HTML will be much more beneficial than learning C#. But HTML alone allows you to build a website only structurally.
If you want to make a satisfactory website in terms of design, you need to learn CSS and HTML together. For this reason, the curriculum in schools and courses is prepared to teach these two languages together. The book HTML5 CSS3 gives detailed information for those who are looking for helpful resources for school or who want to learn web design from scratch on their own. With this book, you can start your web design adventure with fast and solid steps.