Structure, semantics, forms and accessibility for the modern web — written by Aivasu Tech Institute's mentors. Free to read, structured to actually help you learn.
HTML notes by Aivasu Tech Institute cover 197 topics — from html home to nav best practices — each explained with short definitions, syntax and runnable code examples. They are 100% free, need no signup, and work as quick revision for college exams, HTML interviews and Aivasu Tech Institute's mentor-led HTML course in Pitampura, Delhi.
HTML Tutorial chapters
HTML Forms chapters
HTML Graphics chapters
HTML Media chapters
HTML APIs chapters
Document structure, elements, attributes, and how HTML connects to CSS and JavaScript.
Headings, paragraphs, and the inline tags for meaning, not just style.
Anchor tags, URL types, and link accessibility & SEO considerations.
The img tag, alt text, responsive images and layout-stable sizing.
Ordered, unordered and description lists, including nesting.
Rows, cells, headers, spanning cells and accessible table markup.
Every input type, validation, labels and accessible form patterns.
header, nav, main, section, article and footer — used correctly.
No notes found. Try a different search term, or browse all HTML notes.
HTML is the skeleton of every website you have ever visited, from landing pages to dashboards. This free track walks you through structure, forms, media and modern semantics from scratch.
HTML — HyperText Markup Language — describes the structure of web pages using elements and tags. It is the first skill every web developer learns, and this topic covers what it is and why it matters.
You do not need expensive software to write HTML — a simple editor and a browser are enough. Learn what to look for in an editor and how professionals set up their workspace.
Every web page begins with the same few pieces: a document type, head, title and body. Mastering this basic skeleton means you can start any page correctly from day one.
Elements are the building blocks of HTML — an opening tag, content and a closing tag. Understanding how they nest inside each other is the key to valid, predictable pages.
Attributes add extra information to elements, like the destination of a link or the source of an image. They turn plain tags into functional, accessible components.
Headings organise content into a clear hierarchy, and search engines rely on them to understand a page. Using h1 to h6 correctly helps both readers and SEO.
The paragraph element is where most written content on the web lives. Learn how browsers handle spacing and line breaks so your text renders exactly as intended.
Styles control how HTML looks, from colours to fonts, and they can be applied inline, in the head or from a stylesheet. See the three approaches and when to use each.
Formatting elements add meaning and emphasis to text — bold, italic, marked, deleted and more. Choosing semantic tags over visual ones keeps your content accessible.
Quotations in HTML come with dedicated elements like blockquote and q, which signal quotes to browsers and screen readers. Use them instead of styling plain text to look quoted.
Comments let you leave notes inside HTML that browsers ignore, which is invaluable when working in teams. They document structure and temporarily disable code during debugging.
Colour brings web pages to life, and HTML supports names, hex codes, RGB and HSL. Learn the formats so you can match any brand colour exactly.
RGB mixes red, green and blue light to produce over sixteen million colours, the way screens actually work. Understanding it is essential for picking and tweaking colours in code.
Hex codes are the most common way developers write colours, like #FF5733. They pack an RGB value into six characters and appear in every real codebase.
HSL describes colours by hue, saturation and lightness, which often feels more natural for humans. It makes tints, shades and accessible colour pairs much easier to design.
HTML structures the page and CSS makes it beautiful, so learning how they connect is fundamental. See the three ways to attach CSS to your markup.
Links are what make the web a web, connecting pages across sites and sections. Learn the anchor tag, absolute versus relative URLs and how to open links safely.
Link colours signal state to users — unvisited, visited, hover and active. Styling them properly makes navigation intuitive and your site feel polished.
Bookmarks let a link jump to a specific spot on a page using ID anchors. They power skip-links, tables of contents and shareable deep links.
Images carry more of the web's weight than text and can make or break page speed. Learn the img tag, src and alt attributes, and why alt text is non-negotiable.
An image map turns regions of a single picture into separate clickable areas. It is a niche but useful technique for diagrams, maps and infographics.
Background images sit behind page content and can be repeated, positioned and fixed. They are a classic design tool, though CSS now handles most of it.
The picture element serves different image files for different screens and formats, saving bandwidth on mobile. It is the modern, responsive way to handle hero images.
The fastest way to lock in HTML is to build something real. This guided mini-project combines the tags you have learned into a working page.
The favicon is the small icon shown in the browser tab, and it is a tiny detail with a big brand impact. Learn how to add one in multiple sizes and formats.
The title tag defines the text on the browser tab and the clickable headline in Google results. It is the most valuable real estate on any page.
Tables display data in rows and columns and remain essential for reports and schedules. Learn their structure — rows, cells and headers — before styling them.
Borders separate table cells visually, and modern CSS gives you full control over their width, style and colour. A clean border design makes tables instantly readable.
Tables need the right dimensions to look deliberate — column widths, row heights and responsive behaviour. Learn the modern CSS approach to sizing tables.
Headers label what each column means, and using the right header elements makes tables accessible to screen readers. They can sit on top, on the left, or both.
Padding inside table cells and spacing between them is what turns a cramped grid into a comfortable layout. These small CSS properties have a large visual effect.
Colspan and rowspan let cells stretch across multiple columns or rows, essential for tables with merged headings. They appear constantly in real report layouts.
Plain tables look unfinished; striped rows, hover highlights and padding make them professional. Learn the styling recipes used on production dashboards.
The colgroup element styles an entire column at once, avoiding repeated classes on every cell. It keeps table markup lean and column styles consistent.
Lists organise items into ordered, unordered and description layouts, and they appear everywhere — menus, steps, FAQs. They are one of HTML's most-used structures.
Unordered lists show bulleted items where order does not matter, like features or ingredients. Their flexible styling makes them the basis of most navigation menus.
Ordered lists number items automatically, perfect for instructions, rankings and processes. Learn the type and start attributes that control numbering.
Description lists pair terms with their definitions, ideal for glossaries and metadata. This less-known list type deserves a spot in your toolkit.
Every element is either block-level or inline, and this determines how it flows on the page. Grasping the difference is the foundation of CSS layout.
The div is the generic container used to group elements for layout and styling. You will use it constantly, so learn its purpose and its limits.
Classes let you style multiple elements the same way and reuse design patterns across pages. They are the main hook between HTML and CSS.
IDs uniquely identify one element on a page, enabling targeted styling, anchors and JavaScript hooks. Learn when an ID is right — and when a class is better.
Buttons drive every interaction on the web — forms, popups, actions. Learn the button element, its types and how styling changes its meaning.
Iframes embed another page inside yours — maps, videos, dashboards. They are powerful but come with security and performance trade-offs worth understanding.
HTML and JavaScript work together to make pages interactive, usually through the script tag. See where and how scripts load without blocking your page.
File paths tell the browser where to find images, stylesheets and pages. Mixing up absolute and relative paths is a classic beginner bug — learn it once, avoid it forever.
The head holds metadata about the page: title, styles, scripts and SEO tags. It is invisible to visitors but decides how browsers and search engines treat your page.
Layout is how you arrange header, navigation, content and footer on a page. HTML provides semantic elements for each zone, making structure clear before CSS touches it.
Responsive pages adapt to phones, tablets and desktops automatically. This topic introduces the viewport, media queries and flexible layouts that make it happen.
Displaying code inside a page needs special elements like code, pre and samp. Learn how to show code snippets with correct formatting and styling.
Semantic elements describe what content is — header, article, nav — instead of just how it looks. They improve accessibility, SEO and code clarity at once.
Consistent, readable HTML is a team skill, not just a personal habit. A style guide covers naming, indentation and structure so every developer's code looks the same.
Some characters, like < and &, are reserved in HTML and need entity codes to display. Learn the common entities and when you need them.
Symbols like arrows, currency signs and mathematical marks can be typed as entities without images. They add polish to interfaces at zero performance cost.
Emojis are just unicode characters, and HTML renders them directly — though supporting them fully takes a charset and a little care. Learn to use them reliably.
Character sets determine how text is encoded, and UTF-8 has become the universal standard. Getting the charset right prevents garbled text across languages.
URLs cannot contain spaces and certain symbols, so they must be percent-encoded. Understanding this keeps links working with special characters in them.
XHTML is a stricter, XML-based version of HTML with tougher syntax rules. Comparing the two clarifies modern HTML5's forgiving parsing.
Forms collect input from users — signups, search, feedback — and they are the gateway to every web application. This topic covers the structure all forms share.
Form attributes control where data is sent and how it is validated, from action and method to autocomplete. Getting these right makes forms actually work.
Inputs, selects, textareas and buttons each collect a different kind of data. Knowing the full range of form elements lets you design any data-entry flow.
Modern input types — email, date, number, range — bring built-in keyboards and validation on mobile. Using the right type is the easiest UX win in forms.
Input attributes like placeholder, required and maxlength shape how fields behave without JavaScript. They add usability and validation in one line each.
Attributes such as form, formaction and formmethod connect inputs to specific forms and override submission behaviour. They enable multi-form pages and custom actions.
Canvas is a drawable area controlled by JavaScript, powering games, charts and image editing in the browser. It is where HTML stops describing and starts rendering.
SVG describes vector graphics in markup that scale perfectly at any size. Icons, logos and illustrations on modern sites are almost always SVG.
HTML natively plays audio and video through dedicated elements, no plugins required. Learn the media tags and the formats browsers support.
The video element embeds video with controls, posters and captions. Learn how to include it so it plays across browsers and devices.
The audio element embeds sound clips with playback controls. It is used for podcasts, voice notes and background music embedded in pages.
Plug-ins like old Flash once extended the browser, but they are now obsolete and unsafe. Understand their history and why modern HTML replaced them.
Embedding a YouTube video is a paste-and-go task using the iframe embed code. Learn the parameters for size, autoplay and privacy-enhanced mode.
The browser exposes Web APIs that give pages superpowers — location, storage, workers. This overview maps what is available beyond core HTML.
The Geolocation API lets a page request the user's location for maps and local services. Learn how permission and privacy shape its use.
Drag and drop turns ordinary elements into draggable, droppable interfaces. It is the interaction pattern behind kanban boards and file uploads.
Web Storage keeps data in the browser across visits, without cookies. localStorage and sessionStorage power saved preferences and offline-ready apps.
Web Workers run JavaScript in the background so heavy work never freezes the page. They are how apps stay smooth while processing big tasks.
Server-Sent Events push live updates from the server to the page over a single connection. They suit notifications, live scores and feeds.
What HTML actually does, and how it fits with CSS and JavaScript.
How HTML evolved from a simple proposal to the modern living standard.
Why structure and presentation are kept separate, and how they connect.
The standard skeleton every HTML page is built from.
Tags, attributes, nesting rules, and void elements explained.
The three kinds of HTML tags, and which ones to avoid in new code.
Attributes like id, class and data-* that work on almost any element.
Elements that start on a new line and take full width by default.
Elements that flow within text instead of stacking — with a block vs inline comparison.
Where all visible page content lives, and where scripts commonly go.
Why the doctype matters — quirks mode vs standards mode.
A small attribute with real accessibility and SEO impact.
The h1–h6 elements, heading hierarchy, and why it matters for accessibility and SEO.
The p element for blocks of text, and how whitespace collapsing actually works.
The br element for forced line breaks, and the br vs p comparison.
The hr element as a semantic thematic break, not just a decorative line.
The b element for stylistic bold text with no implied importance, and b vs strong.
The i element for an alternate voice or tone in text, and i vs em.
The u element for non-textual annotation underlines, and why it risks link confusion.
The strong element for genuinely important text, with a full strong vs b comparison.
The em element for stress emphasis that changes meaning, with a full em vs i comparison.
The mark element for highlighting text relevant to the reader's current context.
The small element for fine print and side comments — not just smaller font size.
The del element for marking removed content, with cite and datetime attributes.
The ins element for marking added content, usually paired with del for tracked changes.
The sup element for exponents, ordinal suffixes, and footnote references.
The sub element for chemical formulas and mathematical index notation.
The blockquote element for long quotations, with proper attribution and the cite attribute.
The q element for short inline quotations, and a full blockquote vs q comparison.
The pre element for preserving whitespace and line breaks exactly as written.
The code element for inline code snippets, and how it pairs with pre for full code blocks.
What hyperlinks are, the a vs button distinction, and the main link types at a glance.
The anchor tag in depth — href, target, rel, download, and how it actually works.
Full web addresses that work anywhere, and when they're required over relative paths.
Root-relative, same-directory and parent-relative paths, and when each one is correct.
Linking within your own site, orphan pages, and why internal linking matters for SEO.
Linking to other sites safely, and the real security reason behind rel="noopener".
mailto: links with pre-filled subject and body, and spam-safe contact practices.
tel: links for one-tap calling, and correct international phone number formatting.
The target attribute — _self, _blank and when opening a new tab is actually the right call.
Every important rel value on a tags — noopener, nofollow, sponsored and ugc explained.
The history and modern SEO nuance of rel="nofollow", sponsored, and ugc links.
Forcing a file download instead of navigation, and its same-origin limitation.
What the img tag does and a map of every responsive/accessible image technique.
Every important img attribute — src, alt, width/height, loading and srcset.
Writing alt text that actually helps screen reader users and search engines.
Reserving layout space with width/height to prevent layout shift as images load.
Grouping a self-contained image with its caption using the figure element.
Adding a real caption to a figure that adds context beyond the alt text.
Serving the right image size per device using srcset and sizes.
The srcset attribute in depth — width descriptors and how the browser picks a file.
Art direction and modern image format fallback with source and img together.
Deferring offscreen images with loading="lazy" to speed up initial page load.
The three HTML list types, and how to choose the right one for your content.
The ol element for numbered, sequential content, with a full ol vs ul comparison.
The ul element for bulleted, order-independent content like navigation and features.
The dl, dt and dd elements for term-definition and label-value pairs.
Placing a list inside a list item correctly, for sub-items and multi-level content.
The still-valid ol attributes, and why ul styling has moved entirely to CSS.
What tables are for, and every building block that makes one up.
The outer table container, and why old presentational attributes are obsolete.
The tr element for defining a single row, and keeping cell counts consistent.
The td element for regular data cells, and when a cell should be th instead.
The th element and the scope attribute — the most important accessible-table detail.
Grouping a table's header rows into their own explicit section.
Grouping a table's main data rows, and using multiple tbody sections.
Marking a table's summary row — totals, averages, and closing notes.
Spanning a table cell across multiple columns correctly.
Spanning a table cell down across multiple rows, with a full colspan vs rowspan table.
The caption element for a real, semantically-linked table title.
The complete checklist for building tables real screen reader users can navigate.
Keeping wide tables usable on mobile without breaking the real table structure.
What the form element does and a map of every field type and validation technique.
The form element in depth — action, method, enctype and novalidate.
The input element — how name and type drive everything about a form field.
The complete reference of every HTML5 input type and what each one is for.
The default type="text" field, and when a more specific input type is actually better.
type="email" and its built-in format validation, including the multiple attribute.
type="password", what masking actually protects, and correct autocomplete values.
type="number", min/max/step, and why it's the wrong choice for phone numbers.
type="date" and its native calendar picker, with the required YYYY-MM-DD format.
type="time" and its native time picker, with the required 24-hour HH:MM format.
type="file", the accept attribute, and the required multipart/form-data enctype.
type="checkbox" for independent choices, and what an unchecked box actually submits.
type="radio", mutually exclusive groups, with a full checkbox vs radio comparison.
The select dropdown element, including multiple selection and placeholder options.
The option element, and the key difference between displayed text and submitted value.
The textarea element for multi-line text, with a full input vs textarea comparison.
The button element and its critical default-type-submit gotcha inside forms.
The label element — the single most important form accessibility detail.
Grouping related fields together, and disabling a whole group at once.
Captioning a fieldset so screen readers announce the group's purpose.
Attaching autocomplete suggestions to a text input, with a full select vs datalist table.
Displaying a calculated result tied to other form fields with the output element.
HTML5's built-in, JavaScript-free validation system, and why server-side checks still matter.
Marking a field mandatory, across text inputs, select, checkboxes and radio groups.
Regex-based validation for text fields, with a full required vs pattern comparison.
Setting valid bounds on number, date, time and range inputs.
Hint text that disappears on typing, and why it's never a substitute for a real label.
Standard autocomplete tokens, and why correct values are a real accessibility requirement.
The method attribute on form — get vs post at the attribute level.
The action attribute — where a form's submitted data actually goes.
The complete comparison — data visibility, security, and when to use each method.
Why semantic elements matter more than divs, with a full reference layout.
Introductory content for a page or section — not just for the top of the page.
Wrapping major navigation blocks correctly, including multiple-nav labeling.
Marking a page's primary content, and the skip-to-content accessibility pattern.
Grouping thematic content, and the heading-based rule for using it correctly.
Marking self-contained content, and the standalone/syndication test.
Tangential content — sidebars, pull-quotes, and related content blocks.
Closing content for a page or section, and its accessibility landmark role.
Marking author contact information specifically — not any physical address.
A native, JavaScript-free collapsible widget for FAQs and expandable content.
Marking dates and durations in a machine-readable format.
The real difference, and why both have a legitimate place in real pages.
The heading/theme test for deciding which generic container to use.
The standalone-content test that separates these two commonly confused elements.
Two similarly-named, completely unrelated elements — and how to avoid mixing them up.
Accessible, SEO-friendly navigation habits — labeling, lists, and current-page marking.
Join Aivasu Tech Institute's HTML course — live mentorship, hands-on projects, and 100% placement support in Delhi NCR.
Enroll Now — Free Demo Available✳ Common questions
What students search before reading HTML notes.