• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Start selling Create your account
Document preview thumbnail
Preview 1 out of 3 pages
Summary

Summary Web Development: HTTP, HTML, CSS and JavaScript Fundamentals

Document preview thumbnail
Preview 1 out of 3 pages

Study notes for a first-year Web Development module covering the full stack of the browser. Section 1 explains DNS, TCP and TLS, the HTTP request and response, method and status-code semantics, cookies, caching headers and the critical rendering path. Section 2 covers semantic HTML structure, heading hierarchy, WCAG accessibility principles, ARIA and form accessibility. Section 3 covers the cascade and specificity, the box model, inheritance, flexbox versus grid, responsive design with media queries and custom properties. Section 4 covers JavaScript's single-threaded event loop, DOM selection and events, promises and async/await, and the defences against XSS, CSRF, SQL injection and client-side secret exposure. Includes an HTTP method table, four practice questions with marking checkpoints, a glossary and a revision plan.

Content preview

Web Development: HTTP, HTML, CSS and JavaScript
Fundamentals
How a request becomes a page, and what makes the page accessible and safe
Computer Science | Undergraduate (Level 4) | December 2026


WHAT IS INSIDE

1. The request-response cycle
2. HTML: structure and accessibility
3. CSS: the cascade and layout
4. JavaScript, the DOM and security
Exam question patterns
Glossary of exam-ready definitions

1. The request-response cycle
A browser resolves a URL to an IP address through DNS, opens a TCP connection (with TLS for
HTTPS), and sends an HTTP request with a method, path, headers and optional body. The server
responds with a status code, headers and body. The status classes are worth memorising: 2xx success,
3xx redirection, 4xx client error, 5xx server error. GET is safe and idempotent, POST creates and is
neither, PUT replaces and is idempotent, PATCH amends, DELETE removes.
Cookies carry state over a stateless protocol; HTTP/2 multiplexes many requests over one connection
and HTTP/3 runs over QUIC. Caching is decided by headers such as Cache-Control, ETag and
Last-Modified, and understanding it explains most 'why am I seeing an old version' questions. The
critical rendering path - HTML parsed into the DOM, CSS into the CSSOM, combined into the
render tree, then layout and paint - determines what blocks first paint.
• Idempotent - repeating the request has the same effect; GET, PUT and DELETE qualify, POST does
not.
• Same-origin policy - a page may read only resources from the same scheme, host and port.
• CORS - controlled relaxation of the same-origin policy using response headers.
• Render-blocking - stylesheets and synchronous scripts delay first paint; defer or load asynchronously.

2. HTML: structure and accessibility
HTML describes meaning, not appearance. A semantic document uses header, nav, main, article,
section and footer rather than generic containers, which helps assistive technology, search engines and
future maintainers. Headings form a hierarchy: one h1 per page and no skipped levels. Lists, tables and
forms each have elements that carry the meaning; a table is for tabular data, never for layout.
Accessibility follows the WCAG principles - perceivable, operable, understandable, robust. In practice
that means text alternatives on images, labels tied to inputs, sufficient colour contrast, keyboard
operability, visible focus and correct landmarks. ARIA attributes can add semantics but the first rule of
ARIA is not to use it when a native element already carries the meaning. Forms need label for,
appropriate input type for mobile keyboards, and error messages announced to screen readers.
• Alt text - describe purpose, not appearance; empty alt for decorative images.
• Form validation - client-side for usability, server-side for security.

Web Development: HTTP, HTML, CSS and JavaScript Fundamentals Page 1 of 3

Document information

Study
Unknown
Uploaded on
December 2, 2026
Number of pages
3
Written in
2026/2027
Type
Summary
£6.35

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
225
Last sold
-



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions