🇮🇳 Full Stack Web Development · subject
Full Stack Web Development Web Fundamentals & HTML5 Syllabus
The Web Fundamentals & HTML5 syllabus for Full Stack Web Development in full: 4 chapters, 15 topics and 42 sub-topics, every one listed below, plus 51 Web Fundamentals & HTML5 flashcards with answers.
Web Fundamentals & HTML5 syllabus: all 4 chapters
Expand any chapter to see its topics and sub-topics.
-
How the Web Works
4 topics- Client-Server Architecture
- Web browsers and web servers
- Request-response cycle
- Front-end vs back-end roles
- HTTP and HTTPS Protocols
- HTTP methods (GET, POST, PUT, DELETE)
- Status codes (2xx, 3xx, 4xx, 5xx)
- Request and response headers
- TLS/SSL and HTTPS security
- URLs, Domains and DNS
- URL structure and query strings
- Domain name resolution
- Web hosting and IP addresses
- Browser Rendering Pipeline
- Parsing HTML into the DOM
- CSSOM and render tree
- Layout, paint and composite
- Client-Server Architecture
-
HTML Document Structure
4 topics- Anatomy of an HTML Document
- DOCTYPE declaration
- head, body and metadata tags
- Character encoding and viewport
- Text and Content Elements
- Headings and paragraphs
- Lists (ordered, unordered, definition)
- Links, anchors and navigation
- Images and the figure element
- Tables and Tabular Data
- table, tr, td and th
- thead, tbody and tfoot
- Spanning rows and columns
- Inline vs Block-level Elements
- div and span containers
- Default display behaviour
- Anatomy of an HTML Document
-
Forms and User Input
3 topics- Form Structure and Submission
- form action and method attributes
- Input types (text, email, number, date)
- Labels and accessibility
- Form Controls
- Checkboxes and radio buttons
- Select dropdowns and option groups
- Textarea and buttons
- Client-side Validation
- required, pattern and min/max
- Built-in validation messages
- Form Structure and Submission
-
Semantic HTML and Accessibility
4 topics- Semantic Structural Elements
- header, nav, main, footer
- article, section and aside
- Multimedia Elements
- audio and video tags
- Embedding with iframe
- Web Accessibility (a11y)
- ARIA roles and attributes
- Alt text and keyboard navigation
- WCAG guidelines overview
- SEO-friendly Markup
- Meta tags and descriptions
- Open Graph basics
- Semantic Structural Elements
Full Stack Web Development Web Fundamentals & HTML5 flashcards — 51 questions with answers
In the client-server model, what is the defining role of the client versus the server?
The client initiates requests for resources or services; the server listens for requests and responds with the requested resource or result. The client drives the interaction, the server fulfills it.
What does the term 'stateless' mean in the context of HTTP, and how is state preserved across requests?
Each HTTP request is independent and the server retains no memory of previous requests. State is preserved using cookies, sessions, tokens, or URL parameters.
List the most common HTTP request methods and the primary purpose of each (GET, POST, PUT, PATCH, DELETE).
GET = retrieve data; POST = create/submit data; PUT = replace a resource entirely; PATCH = partially update a resource; DELETE = remove a resource.
What is the key security difference between HTTP and HTTPS?
HTTPS encrypts traffic using TLS/SSL, providing confidentiality, integrity, and server authentication. Plain HTTP sends data in cleartext, making it readable and tamperable.
Which TCP ports are conventionally used by HTTP and HTTPS?
HTTP uses port 80; HTTPS uses port 443.
What do the HTTP status code classes 2xx, 3xx, 4xx, and 5xx each indicate?
2xx = success; 3xx = redirection; 4xx = client error; 5xx = server error.
Give the meaning of HTTP status codes 200, 301, 404, and 500.
200 = OK (success); 301 = Moved Permanently (redirect); 404 = Not Found; 500 = Internal Server Error.
Name the components of a full URL in this example: https://www.site.com:443/path/page?id=5#top
https = scheme/protocol; www.site.com = host/domain; 443 = port; /path/page = path; ?id=5 = query string; #top = fragment/anchor.
What is DNS and what fundamental task does it perform?
The Domain Name System translates human-readable domain names (e.g., example.com) into machine-usable IP addresses, acting like the internet's phone book.
Order the DNS resolution hierarchy from highest to most specific: root, TLD, authoritative.
Root nameserver → TLD nameserver (e.g., .com) → authoritative nameserver for the specific domain, which returns the final IP address.
In a domain like 'shop.example.co.in', identify the TLD, the second-level domain, and the subdomain.
TLD = .in (with .co as a second-level/registry label); the registrable domain is example.co.in; 'shop' is the subdomain.
What is a DNS A record versus a CNAME record?
An A record maps a domain name to an IPv4 address; a CNAME record maps a name to another canonical name (alias), not directly to an IP.
Name the main stages of the browser rendering pipeline in order.
Parse HTML → build DOM; parse CSS → build CSSOM; combine into the Render Tree; Layout (reflow) to compute geometry; Paint to fill pixels; Composite layers to screen.
What is the difference between the DOM and the CSSOM?
The DOM (Document Object Model) is the tree of the HTML document's structure/content; the CSSOM (CSS Object Model) is the tree of all CSS style rules. They are combined into the render tree.
What is the render tree and how does it differ from the DOM?
The render tree combines DOM nodes with their computed styles and contains only visible elements. Nodes like <head> or those with display:none are excluded, unlike in the DOM.
Distinguish 'reflow' (layout) from 'repaint' in the rendering pipeline.
Reflow/layout recalculates element positions and dimensions; repaint redraws pixels (colors, visibility) without changing geometry. Reflow is more expensive and usually triggers a repaint.
Why can a <script> tag without async/defer block page rendering?
By default the parser stops to download and execute the script before continuing to build the DOM, blocking parsing and rendering until the script finishes.
What is the purpose of the <!DOCTYPE html> declaration?
It tells the browser to render the page in standards mode using the HTML5 specification, preventing legacy 'quirks mode' rendering.
Describe the basic skeleton structure of a valid HTML5 document.
<!DOCTYPE html>, then <html> containing <head> (metadata, title, links) and <body> (visible content).
What goes inside the <head> element versus the <body> element?
<head> holds metadata not rendered as content (title, meta tags, CSS/JS links, charset); <body> holds the visible page content the user sees.
Show the other 31 Web Fundamentals & HTML5 flashcards
What does <meta charset="UTF-8"> do and why is it important?
It declares the document's character encoding as UTF-8 so the browser correctly interprets text/special characters; it should appear early in the <head>.
What is the purpose of the viewport meta tag <meta name="viewport" content="width=device-width, initial-scale=1">?
It controls layout on mobile browsers, setting the viewport width to the device width and the initial zoom to 1, enabling responsive design.
What are the six HTML heading levels and what determines their use?
<h1> through <h6>, representing decreasing levels of importance/hierarchy. Use should follow logical document structure, not visual size; ideally one <h1> per page.
Compare the semantic meaning of <strong>/<em> versus <b>/<i>.
<strong> and <em> convey importance and emphasis (semantic meaning, affects assistive tech); <b> and <i> apply bold/italic styling without semantic importance.
What is the difference between an ordered list (<ol>) and an unordered list (<ul>), and what element holds each item?
<ol> displays numbered/sequenced items; <ul> displays bulleted unordered items. Both use <li> for each list item.
How do you create a hyperlink in HTML, and what attribute opens it in a new tab?
Use <a href="url">text</a>. Add target="_blank" (ideally with rel="noopener noreferrer") to open in a new tab.
What is the difference between <br> and <p> for line breaks?
<br> inserts a single line break within content; <p> defines a separate paragraph block with surrounding margin. Use <p> for paragraphs, <br> only for meaningful breaks like addresses/poems.
Name the core HTML table elements and their roles: table, tr, th, td.
<table> = the table container; <tr> = a table row; <th> = a header cell (bold/centered, semantic header); <td> = a standard data cell.
What are <thead>, <tbody>, and <tfoot> used for in a table?
They group table rows semantically: <thead> for header rows, <tbody> for the main data rows, <tfoot> for footer/summary rows, improving structure and accessibility.
What do the colspan and rowspan attributes do in a table cell?
colspan makes a cell span multiple columns; rowspan makes a cell span multiple rows, merging cells visually.
What is the purpose of the <caption> element in a table, and where must it appear?
It provides a title/description for the table for users and assistive tech. It must be the first child element inside <table>.
Define block-level versus inline elements in terms of layout behavior.
Block-level elements start on a new line and take full available width (e.g., <div>, <p>, <h1>); inline elements flow within a line and take only their content's width (e.g., <span>, <a>, <strong>).
Can width and height be applied to a pure inline element, and how does inline-block differ?
Width/height are ignored on pure inline elements. display:inline-block flows inline like text but accepts width, height, and vertical margins/padding like a block.
Give three examples each of block-level and inline elements.
Block: <div>, <p>, <section>, <ul>, <h1>. Inline: <span>, <a>, <img>, <strong>, <em>.
What attributes on a <form> element control where and how data is sent?
action specifies the URL that receives the data; method specifies the HTTP method (GET or POST).
What is the difference between submitting a form with method="GET" versus method="POST"?
GET appends form data to the URL as a query string (visible, length-limited, cacheable/bookmarkable); POST sends data in the request body (not in URL, suited for sensitive or large data).
Why must a form control have a 'name' attribute to be submitted?
The name attribute is the key under which the field's value is sent to the server. Controls without a name are not included in the submitted data.
How does a <label> get associated with an input, and why does it matter?
Via the label's for attribute matching the input's id (or by wrapping the input). It improves accessibility and lets clicking the label focus/activate the control.
List five distinct input types available via the <input> element.
Examples: text, password, email, number, checkbox, radio, date, file, range, color, submit. (Any five valid types.)
What is the difference between radio buttons and checkboxes?
Radio buttons (same name) allow only one selection within a group; checkboxes allow zero or more independent selections.
When should you use <textarea> instead of <input type="text">?
Use <textarea> for multi-line free-form text input; <input type="text"> is for single-line text.
How do you create a dropdown selection list, including a default-selected option?
Use <select> containing <option> elements; mark the default with the 'selected' attribute, e.g., <option selected>...</option>.
Name three HTML5 attributes used for built-in client-side validation.
required (field must be filled), pattern (regex match), min/max/maxlength (value or length limits), and type-based validation like type="email" or type="url".
What is the benefit and the critical limitation of client-side validation?
Benefit: instant feedback and fewer server round-trips. Limitation: it can be bypassed, so server-side validation is still mandatory for security and data integrity.
What does the 'placeholder' attribute do, and why is it not a substitute for a label?
It shows hint text inside an empty field that disappears on input. It is not a label substitute because it vanishes when typing and is poorly handled by assistive tech.
List the main HTML5 semantic structural elements and their intended purpose.
<header> (intro/nav), <nav> (navigation links), <main> (primary unique content), <section> (thematic grouping), <article> (self-contained content), <aside> (tangential content), <footer> (footer info).
What is the difference between <article> and <section>?
<article> is self-contained, independently distributable content (e.g., a blog post); <section> is a thematic grouping of related content within a document, usually with a heading.
Why use semantic elements like <nav> and <main> instead of generic <div>s?
They convey meaning to browsers, assistive technologies, and search engines, improving accessibility and SEO, and make markup more readable/maintainable.
What attributes make the <img> element complete and accessible?
src (image source URL) and alt (alternative text describing the image for screen readers and when the image fails to load); width/height help reserve layout space.
What HTML5 elements embed audio and video natively, and what attribute provides fallback formats?
<audio> and <video> embed media; nested <source> elements provide multiple formats so the browser picks a supported one. Content between the tags acts as fallback text.
In the context of web accessibility (a11y), what do alt text and ARIA roles contribute, and what does 'semantic HTML' do for screen readers?
Alt text describes images for screen readers; ARIA roles/attributes add semantics to elements that lack them; semantic HTML (headings, landmarks, labels) gives screen readers an inherent, navigable structure, reducing the need for ARIA.
Full Stack Web Development Web Fundamentals & HTML5 FAQ
What is in the Full Stack Web Development Web Fundamentals & HTML5 syllabus?
Full Stack Web Development Web Fundamentals & HTML5 is split into 4 chapters: How the Web Works, HTML Document Structure, Forms and User Input and Semantic HTML and Accessibility. Together they contain 15 topics and 42 sub-topics.
How many chapters are in Full Stack Web Development Web Fundamentals & HTML5?
4 chapters, containing 15 topics and 42 sub-topics. The largest chapter is How the Web Works, with 4 topics.
Are there flashcards for Full Stack Web Development Web Fundamentals & HTML5?
Yes — a 51-card Web Fundamentals & HTML5 deck, printed in full in the flashcards section of this page and available in the Examius app with spaced repetition. The free plan covers one exam of your choice, including its flashcards; Examius Pro, a one-time purchase, unlocks every other exam and deck.