Web Development Exam Notes
Web Development Exam Notes
- Tim Berners-Lee (1989) created the World Wide Web to allow document linking via hypertext.
- The web evolved from static HTML pages to dynamic content, including CSS, JavaScript, multimedia, and interactive
apps.
2. HTTP Protocol
- Request Message: Sent by the client (browser). Includes method (GET/POST), URL, headers, and optional body (for
POST).
- Response Message: Sent by the server. Includes status code (200 OK, 404 Not Found), headers, and body
(HTML/CSS/JSON).
- Web Server: Hosts and serves web content (e.g., Apache, Nginx).
- Client: Any user device that sends a request to the server via the browser.
4. Static vs Dynamic Websites
- Static: Pre-written HTML pages. Content doesn't change unless manually edited. Fast and simple (e.g., portfolio
pages).
- Dynamic: Content generated on-the-fly using scripts (PHP, Node.js). Uses databases (e.g., blogs, e-commerce).
- Domain: Human-friendly address (e.g., example.com). Mapped to IP using DNS (Domain Name System).
1. Requirement Analysis
3. Wireframing
4. UI/UX Design
5. Development (HTML/CSS/JS)
6. Testing
Unit II - HTML
1. Tags vs Elements
- Tag: <tagname>
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>Hello World</h1>
</body>
</html>
3. Common Tags
4. List Tags
5. Form Tags
6. Table Tags
<table>
<tr>
<td rowspan="2">A</td>
<td>B</td>
</tr>
<tr><td>C</td></tr>
</table>
1. CSS Syntax
selector {
property: value;
2. Types of CSS
3. Selectors
- Element: p {}
- ID: #id {}
- Class: .class {}
4. Properties
- Text: font-size, color, text-align
Margin
Border
Padding
Content
7. CSS3 Features
Unit IV - JavaScript
2. JS Basics
3. JS OOPs
- Inheritance:
4. DOM Manipulation
- document.getElementById("id")
- document.querySelector(".class")