Header Ads Widget

Responsive Advertisement

Ticker

6/recent/ticker-posts

Is HTML a language ?

Is HTML a language
Is HTML a language

What is HTML?


HTML is associate degree signifier for a machine-readable text markup language. HTML could be a language whose purpose is to mark up content. it had been modeled on SGML (Standard Generalized Markup Language), that could be a declarative commonplace for describing document structure and attributes.


What is CSS?


CSS may be a style language (Cascading Style Sheet). CSS’ purpose is to style the markup for an internet browser. CSS is additionally declarative in nature.


What is the programming language?

Is HTML a language
Is HTML a language

An artificial language may be a notation for writing programs, that ar specification of computation or rule.


The vital issue to notice here is that an artificial language is outlined by purpose; it’s an artificial language as a result of its job is to jot down programs. Programs are sets of directions that perform specific tasks once dead by a pc.

Programming means a set of instructions that contains logic, conditions, loops, etc.

eg : JAVA, C, C#, etc.

For programming languages, we want a compiler, interpreter, etc

To use programming languages we want platforms that ought to install manually on your computer

To learn programming we've to modify the design of the individual programming

Programming languages modify the databases and frameworks


For capital punishment the programming we want specialized editors individual to the kind of programing language


So why aren’t these programming languages?


HTML and CSS aren't usually “executed” by a laptop. they're parsed by an associate engine, then algorithms keep in a very renderer confirm execution tasks.
When you write
<h1>and</h1>
you’re not programming that part. you're devoting a bit of knowledge. You haven’t “instructed” the browser to execute a task.


Likewise, with CSS, anyone who’s written it for extended than five minutes is aware of that even one thing as easy as float: left might not do this simply because you asked. The browser can dissect your instruction, and follow a group of algorithms over that you have got no management to work out if and the way one thing floats.


Markup language


HTML - machine-readable text terminology isn't an artificial language it's simply a writing language,
HTML doesn’t affect the following:

No want of compiler and interpreter for obtaining output, to visualize the output of the code, the default browser is enough

No logic, conditions, and loops square measure employed in a terminology

HTML doesn’t affect the databases and frameworks

HTML is straightforward to find out and in the main accustomed insert content into the webpage


CSS is that the sheet accustomed style the markup language content as a way of easy. CSS is simply formed up for markup language, not an artificial language or terminology.


But are they domain-specific programming languages?

Is HTML a language
Is HTML a language

I’ve detected the argument that these square measure “Domain-specific programming languages”, wherever the “domain” is that the applications program.
I would challenge that argument on the premise that markup language isn't a group of directions. 

Not even a bit. The browser doesn't understand what to try and do concerning
<h1> and </h1>.

. It desires CSS and JavaScript to inform it a way to render it. although you don’t add a stylesheet, the browser uses its internal stylesheet for rendering that component. The component, on its own, provides no directions.

I might concede that CSS may be a domain-specific programming language, though. And there square measure reasons for acceptive this argument:

CSS, by purpose, maybe a set of directions (rendering instructions)

Those directions square measure tied to the domain (the browser)

those directions don't apply outside of the domain (you can’t use CSS on C++)

those directions enable the developer to use logic and computation

Media queries are a specialized kind of logic

Computation existed before calc(), you'll use an artifact, margin, etc, to work out dimensions


I would ne'er settle for the overall statement that HTML and CSS square measure programming languages. they need no purpose outside of the domain of the browser.


What do you call someone who writes in these languages?


Because I tend to be donnish, I decided the act of writing HTML or CSS “coding” or “developing”. So, one WHO writes these languages (And solely these languages) could be a designer, coder, or developer.

CSS ain’t no simple issue, though. Some CSS developers wish to claim that they're programming. I deny that claim most of the time. If a program may be an assortment of directions that performs a particular task, then somebody claiming to be a CSS software engineer ought to be ready to tell you what specific tasks the browser is performing arts after they write their code.

I imagine the likes of Lea Verou, Jen Simmons, Eric Meyer, Harry Roberts, and some others, be this title as they're intimately tuned in to the rendering algorithms the browser follows for CSS. They in all probability understand the precise tasks the browser is performing arts. thus those guys square measure CSS programmers.

Everyone is a developer.


But, Turing Completeness, yes?


A lot of individuals say that a programing language could be a language that’s Alan Turing Complete, which means the language will simulate a Turing machine. in theory, an Alan Turing Complete system will solve any computation drawback.

And yes, I do know that individuals have argued that CSS3 is Alan Turing Complete. individuals have well-tried that CSS3, SQL, and even RegEx ar Alan Turing Complete. will that build them programming languages? No.

If you're employed out a system with buckets and rocks that helps you solve procedure issues, you would possibly have an Alan Turing Complete system finite tedium, and infinite temperament to prove somebody wrong, we will build regarding something Alan Turing complete.

A programing language could be a programing language attributable to a purpose. simply because you redirected its purpose, that doesn’t build it a programing language.


If I strap balloons and box fan to a chair and manage to induce myself off the bottom, which may build Pine Tree State a pilot, however, it doesn’t build the chair AN plane.

Post a Comment

0 Comments