DEV Community

News Naama
News Naama

Posted on

HTML a Programming Language

We will explain about HTML and CSS with the example and as well as is HTML a programming language.

Hence, HTML is a programming language “HyperText Markup Language” which is the most basic building block of the web page.

After that, whenever any programmer starts web programming they start with the Html. Further, because it is a basic programming language and its very easy understanding.Is HTML a Programming Language

So, using this programming language make the structure of a web page and defines the different different types of content with the help of Html programming language.

Similarly, when we have to use HTML then it can be created many pages and block for a website. Therefore, there are many options for creating structure.Learn Relational Algebra

Top comments (4)

Collapse
 
louislow profile image
Louis Low • Edited

How do you like my joke?

<style>
  if[state="true"] > return { color: blue }
  if[state="false"] > return { display: none }
  if[state]:not([state="true"]) > return:after { color:red; content: "Invalid Boolean!" }
</style>

<if state="true">
  <return>
    Hello World!
  </return>
</if>
Collapse
 
muttsuri profile image
Muttsuri

I think all of this debate hangs on the defnition of "programming language" that you subscribe to.
If you say that a language must be turing complete then HTML isn't but things like Coq that for what I've heard due to their type system must have te program halt meaning that is not turing complete.
However if you define that any language that ultimately ends with the computer doing something by the commands given in the language then yes HTML would be.

I think this boils down to the individual, I fall a bit in the turing camp but with Coq's ability to compile down to haskell I would consider theorem proofers like that valid programming languages.

Collapse
 
abdelrahmanahmed profile image
Wahdan • Edited

These is a huge difference between markup language and programming languages like java. HTML is not a programming language at all.

Collapse
 
gfabrizi profile image
Gianluca Fabrizi

Neither html nor css are programming languages. You are stating that they are, without explain why.

So, why in your opinion html and css are programming languages?