(HTML5, CSS3, JavaScript, PHP / JSP / ASP.NET)
Web programming languages are languages used to create and manage websites and web applications. They are broadly divided into:
👉 Diagram idea for exam: Draw a flow like this:
User (Browser)
↓ Request (HTTP)
Web Server (PHP/JSP/ASP.NET)
↓ Response (HTML, CSS, JS)
Browser displays webpage
✔ Shows interaction between client and server
HTML5 is the standard markup language used to structure web pages.
<!DOCTYPE html>
<html>
<head>
<title>My Page</title>
</head>
<body>
<h1>Hello World</h1>
</body>
</html>
<h1> to <h6> → headings<p> → paragraph<a> → hyperlink<img> → image<form> → user input<header>, <footer>, <article><audio>, <video><video controls>
<source src="movie.mp4">
</video>
CSS3 is used to style and design web pages.
selector {
property: value;
}
color, backgroundmargin, paddingborderdisplaybody {
background-color: lightblue;
}
@media (max-width: 600px) {
body {
background-color: yellow;
}
}
JavaScript is a client-side scripting language used to make web pages interactive.
let x = 10;
function greet() {
alert("Hello!");
}
onclickonloadonchangeUsed to manipulate HTML elements.
document.getElementById("demo").innerHTML = "Hi";
if (x > 5) {
console.log("Greater");
}
PHP is a server-side scripting language used to create dynamic web pages.
<?php
echo "Hello World";
?>
JSP is used to create dynamic content using Java.
<%
out.println("Hello World");
%>
ASP.NET is a framework by Microsoft for building web applications.
Response.Write("Hello World");
| Feature | HTML5 | CSS3 | JavaScript | PHP | JSP | ASP.NET |
|---|---|---|---|---|---|---|
| Type | Markup | Style | Script | Server | Server | Server |
| Runs on | Browser | Browser | Browser | Server | Server | Server |
| Purpose | Structure | Design | Interactivity | Backend | Backend | Backend |
✔ HTML defines structure ✔ CSS defines presentation ✔ JavaScript defines behavior ✔ Server-side languages handle logic + database
HTML → Structure
CSS → Style
JavaScript → Interaction
PHP/JSP/ASP.NET → Server Processing
Web programming involves multiple languages working together:
👉 Together, they form a complete web development system, enabling creation of modern, dynamic, and responsive websites.
Open this section to load past papers