Short answer
Front end development vs back end is the split between code the browser runs and code the server runs before it sends a response. MDN says the browser side is HTML, CSS, and JavaScript, with little access to the operating system. The server side can be PHP, Python, Ruby, C#, or JavaScript with Node.js, and it can read databases and choose the response. JavaScript is the language MDN names on both sides.
Last verified against the sources listed below.
Key takeaways
- MDN says front-end developers build the part people see and use, with HTML, CSS, and JavaScript.
- Back-end work, on the same page, requests data, fills templates, processes submitted data, and configures the server.
- Client-side code has little access to the operating system. Server-side code can use the server operating system.
- JavaScript is the exception MDN names that runs in the browser and, with Node.js, on the server.
- A static file is sent unchanged. A dynamic page is built on the server from data and a template.
Front end development vs back end is the line between the browser and the server. The browser paints the page and reacts to input. The server decides what that page is allowed to contain and sends it back.
Back end development is the server half of that line. The browser half is what this article sets beside it.
What does the browser run?
It runs HTML, CSS, and JavaScript, and it has little access to the operating system.
MDN’s server-side introduction says code in the browser is client-side code. Its job is the appearance and behavior of the rendered page: selecting and styling pieces of the interface, layout, navigation, and form checks.
That code is written with HTML, CSS, and JavaScript. It runs inside the browser and has little or no access to the operating system, including limited access to the file system.
The web standards model says the same three are front-end, or client-side, languages. HTML is the markup that gives content meaning and structure. CSS is the rule language for presentation, such as color, borders, animation, and layout. JavaScript adds interactivity, from a style change to fetching an update.
Visitors bring their own browsers. MDN notes that those browsers do not all support the same features, so part of client-side work is handling the differences. You do not get to pick the visitor’s browser the way you pick a server runtime.
What HTML is used for is the structure piece of that trio. The HTML living standard, last updated 2 December 2026, calls HTML the core markup language of the web. It started as a way to describe scientific documents and now describes many other documents and applications.
What does the server run?
It runs a language you choose, builds or fetches the response, and can use the server’s operating system.
MDN says server-side programming is the code that supports a dynamic site, also called back-end scripting. A dynamic site creates some of the response only when it is needed. The usual pattern is data from a database dropped into placeholders in an HTML template. The same address can return different data based on the person or on stored preferences.
The request itself is ordinary web traffic. The browser sends a request with an address, a method such as get or post, and sometimes extra fields or cookies. The server replies with a status line and, on success, a body the browser can show. MDN’s example of a success status is the familiar 200 line.
Server-side languages on that page include PHP, Python, Ruby, C#, and JavaScript with Node.js. The code has full access to the server operating system, and the developer chooses the language and the version. Frameworks on the server cover sessions, users, database access, and templates. MDN says you would almost never write the server half of a web app without a framework, and it names Django as the Python example that supplies an HTTP server and other tools.
Node.js is the JavaScript case. Its about page calls it an asynchronous, event-driven JavaScript runtime designed to build scalable network applications.
The sample server listens on 127.0.0.1 at port 3000 and answers with a short text body. The page says HTTP is a first-class part of the runtime.
That sample is an illustration of a server, not a rule that every app must use port 3000.
Back end vs front end development
Back end vs front end development is the same split: server data on one side, the visible page on the other.
MDN’s workflows page defines the roles in those words. A front-end developer uses HTML, CSS, and JavaScript to create the visual part people interact with.
| Side | Where the code runs | What MDN says it uses |
|---|---|---|
| Front end | The browser | HTML, CSS, and JavaScript |
| Back end | The server | PHP, Python, Ruby, C#, or JavaScript with Node.js |
| Full stack | Both | The browser trio plus a server language and a database |
A back-end developer handles the non-visual parts: requesting internal data, generating HTML from templates, and processing data people submit. The same page adds web server configuration, including keeping the site secure. A full-stack developer handles both roles.
The stack sketch on that page puts HTML, CSS, and JavaScript on the front end, then a server language such as Node.js, .NET, PHP, or Python, then a database, then the web server. It also notes that the front end alone can include a component framework, a template, and either plain CSS, a CSS framework, or a preprocessor.
The W3C CSS overview describes CSS as a core language for adding style, such as fonts, colors, and spacing, and it lists CSS Snapshot 2026 as the latest stable snapshot. Style stays a front-end concern even when a server template emits the markup. The snapshot does not move CSS onto the server.
What is front end development vs back end?
It is browser work versus server work: structure and interaction in the browser, and the choice of content on the server.
MDN draws three contrasts. The purposes differ.
The languages usually differ, with JavaScript as the exception that runs in both places. The code runs in different environments.
Client-side frameworks speed up layout and presentation. Server-side frameworks supply the common server pieces you would otherwise build yourself.
Static versus dynamic is the other plain test. A static file is stored and delivered unchanged.
Server-side code generates HTML that varies with the data, which MDN calls dynamic. A weather page that changes with the location is the example on the web standards page.
The HTML the browser finally shows can look the same kind of document either way. The difference is whether the server built it on the way out.
JavaScript sits on the exception line. In the browser it is part of the front end.
On the server, with Node.js, MDN lists it beside PHP and Python. Learning the language does not by itself teach database rules or template security.
Those stay on the server side of the page.
How do you decide what to learn first?
Learn the browser trio if the task is the page people see. Learn a server language if the task is data, accounts, or a response that changes per person.
MDN’s workflows page is written for people heading toward front-end work, and it still spells out the back-end role so the boundary stays visible. A small site can be static files: HTML, CSS, and a little JavaScript, with no database.
MDN says writing that by hand can be the faster path when the interface is small. The moment the page must change per user, hide private data, or store a session, the server-side introduction says that work belongs on the server.
You do not need a salary survey to make the split. The pages above never print one.
They print the runtime. If the bug is a layout or a click, it is in the browser.
If the bug is the wrong record, a missing permission, or a template filled with the wrong row, it is on the server. Full-stack work is both, in that order of responsibility, not a third runtime.
Frequently asked questions
What is front end development vs back end?
Front end development is the browser work: structure, presentation, and behavior of the page the visitor uses. Back end development is the server work: deciding which data comes back, checking what the visitor sent, and talking to a database. MDN treats them as different purposes, usually different languages, and different places the code runs. JavaScript is the overlap, because it can run in the browser and on the server.
Is JavaScript only a front end language?
No. MDN says client-side code is HTML, CSS, and JavaScript, and then names JavaScript again among server languages, with Node.js as the example. Node's own about page describes an event-driven runtime for network applications and shows a small server. The browser still cannot do the server's job of choosing private data. The language can sit on both sides. The trust boundary does not move just because the syntax matches.
What is a static page versus a dynamic page?
MDN says a static site returns the same file whenever that address is requested. The server reads the file and sends it with a success status. A dynamic site builds some of the response when it is needed, often by placing database values into a template. The same address can return different data for different people. Most of that building has to happen on the server. That server work is what the guide calls back-end scripting.
Do front end frameworks replace HTML and CSS?
No. MDN's stack sketch still starts the front end with HTML, CSS, and JavaScript. A framework such as React may define components, and styling may be plain CSS or a CSS framework. The web standards page says HTML gives structure, CSS gives presentation, and JavaScript adds behavior. A framework is a tool on top of those three. It is not a fourth language that the browser invented to replace them.
Who chooses the server language?
The developer does. MDN says server code can be written in many languages, and the examples it prints are PHP, Python, Ruby, C#, and JavaScript with Node.js. The server process has access to the operating system, so the team can pick the language and the version. Browser code does not get that freedom: visitors arrive with their own browsers, and support differs. That is why the same product can keep one server language and still test several browsers.
Sources
- Introduction to the server side · MDN, 2026
- The web standards model · MDN, 2026
- Workflows and processes · MDN, 2026
- HTML Living Standard · WHATWG, 2026
- About Node.js · Node.js, 2026
- Cascading Style Sheets · W3C, 2026