School Revise · Class 12 Information Technology · Chapter 2
Code 802, Class 12. Web pages are built with HTML and run in a browser. Here we learn the main HTML tags and how web applications work.
|
|
A web-based application runs in a browser over the internet. Web pages are written in HTML, which uses tags to mark up the content.
HTML uses tags in angle brackets. A heading uses h1 to h6, a paragraph uses p, and most tags come in pairs that open and close.
|
A heading and a paragraph: (h1) My Page (/h1) (p) Welcome to School Revise (/p) |
A link uses the a tag with href, an image uses the img tag with src, and a list uses ul (unordered) or ol (ordered) with li items.
A form collects input using the input tag, so users can type data and send it. Web applications like email and online shopping run this way in the browser.
Explore the idea by tapping. The interactive opens right here in the lesson.
[sr_g12_it802 id=”g12-it802-ch2″]
Type each one into the code lab above, then open the card to see the worked solution and its output.
SOLUTION
OUTPUT
SOLUTION
OUTPUT
SOLUTION
OUTPUT
SOLUTION
OUTPUT
SOLUTION
OUTPUT
SOLUTION
OUTPUT
SOLUTION
OUTPUT
SOLUTION
OUTPUT
SOLUTION
OUTPUT
SOLUTION
OUTPUT
HTML.
The p tag.
The a tag (with href).
The input tag (in a form).
|
A web-based application runs in a browser. Web pages are written in HTML, which uses tags in angle brackets, most in open and close pairs. Headings use h1 to h6, paragraphs use p, links use a with href, images use img with src, and lists use ul or ol with li. A form uses input to collect user data, which is how web applications work. |
| Open the Virtual Lab |
These free Class 12 Information Technology (Code 802) notes explain operating web-based applications, HTML tags, headings paragraphs links images and lists, and forms with worked examples and practice, for CBSE students across India and the Gulf including the UAE, Saudi Arabia, Qatar, Oman, Kuwait and Bahrain.
© 2026 School Revise. All rights reserved. Original content aligned to the CBSE and NCERT Class 12 Information Technology syllabus. Unauthorised copying is not permitted.