CBSE 2026 results are out, Mukul scored a perfect 100/100 in Computer ScienceSee all toppers →

KwickAcademy Course Topics · 7 min · free

Web Designing using HTML

7 min1 KwickClipsFull text belowFree
Next lesson →Kajal Ma'am (MCA), teaching since 2004Remembered in this browser

HTML is a markup language: tags tell the browser how to show content. A page has html, head, title and body.

Follows the syllabus of: NIOS Senior Secondary Computer Science (330)

On screen in this lesson

What is HTML?

HTML: HyperText Markup Language
Markup: tags tell the browser how to show content
Hypertext: text with links to other pages
Saved as a plain text file ending in .html

What you need

A text editor, like Notepad
A web browser, like Chrome or Firefox
Save the file, then open it in the browser

Tags, elements, attributes

TermMeaningExample
Tagname in < ><p>
Closing taghas a slash</p>
Elementtags plus content<p>Hi</p>
Attributeextra detailalign="center"

Container and empty tags

Container tag: has opening and closing tags
Example: <b>Bold</b>
Empty tag: no closing tag, holds no content
Examples: <br> for a line break, <hr> for a line

Lists

ListTagShows
Ordered<ol>1, 2, 3
Unordered<ul>bullets
List item<li>one entry
Definition<dl>term and meaning

Table attributes

AttributeUsed inDoes
border<table>draws lines
cellpadding<table>space inside cell
colspan<td> or <th>joins columns
rowspan<td> or <th>joins rows

Quick answers

Is <br> a container tag?

No. It is an empty tag with no closing tag.

Which tag makes a link?

The anchor tag <a href>.

KwickClips from this lesson

Short clips, one idea each. Good for revision the night before.

The full lesson, in text

Hello students, welcome to Kwickprep. Every website you open, from your school site to a train booking page, starts with simple text. How does plain text become a web page? Today we will learn HTML, its structure, and the tags for text, lists, links, images and tables.

Let us start with the name. HTML stands for HyperText Markup Language. Markup means we add tags around content, and the browser uses them to display it. Hypertext means text that contains links to other pages. An HTML file is plain text, saved with the extension dot html.

You do not need costly software to write HTML. You need a text editor, such as Notepad, to type the code. You need a web browser, such as Chrome or Firefox, to see the page. Save the file, open it in the browser, and refresh after every change.

Now four words you must know. A tag is a name written inside angle brackets, like p for paragraph. Most tags come in pairs, and the closing tag has a slash. An element is the opening tag, the content and the closing tag together. An attribute gives extra detail inside the opening tag, like align equals center.

Every HTML page has the same skeleton. The first line, DOCTYPE html, tells the browser this page is HTML5. The html tag wraps the whole page. The head holds information about the page, like the title. The title appears on the browser tab, not on the page. The body holds everything that is shown on the screen. So the paragraph Welcome students appears in the browser window.

Tags are of two types. A container tag has an opening tag and a closing tag, with content in between. For example, b makes the text between its tags bold. An empty tag has no closing tag and holds no content. The br tag breaks a line, and hr draws a horizontal line across the page.

HTML has six heading levels, from h1 to h6. H1 is the biggest and most important, and h6 is the smallest. The p tag makes a paragraph, with space before and after it. Inside a paragraph, b makes text bold and i makes text italic. The u tag underlines text.

Lists keep information neat. An ordered list uses the ol tag and numbers each item. An unordered list uses the ul tag and shows bullets. Each item inside either list goes in an li tag. A definition list uses dl, with dt for the term and dd for its meaning.

Here is a timetable list. The type attribute changes the numbering, so type equals capital A shows A and B. A plain unordered list gives round bullets, and the bullet shape is changed with CSS today. Pause and predict. If type is small i, what marks appear? Small Roman numerals, one and two.

Links make hypertext work. The a tag, called the anchor tag, creates a link. The href attribute gives the address to open. The text between the tags is what the reader clicks. The first link opens another page of the same site, and the second opens the NCERT website.

The img tag adds a picture, and it is an empty tag. The src attribute names the image file, here school dot jpg. The alt attribute gives text shown if the image cannot load, and it helps blind users. Width and height set the size in pixels.

Tables show data in rows and columns, like a marks list. The table tag wraps the table, and border equals one draws the lines. Each tr tag is a table row. The th tag is a heading cell, shown bold and centred. The td tag is a normal data cell.

A few attributes change how a table looks. Border sets the thickness of the lines. Cellpadding adds space between the text and the cell edge. Colspan makes one cell stretch across two or more columns. Rowspan makes one cell stretch down two or more rows.

Good web design is more than correct tags. Use headings in order, starting from h1, so the page structure is clear. Give every image alt text so everyone can understand it. Keep the text easy to read, with dark text on a light background. Finally, test the page in more than one browser and on a mobile.

Let us revise what we learned today. HTML is a markup language that tells the browser how to show content. Every page has html, head, title and body. Container tags have closing tags, but empty tags like br do not. Lists use ol, ul and li, links use a with href, and images use img with src. Tables are built with table, tr, th and td.

Courses that teach this

CourseUnit
NIOS Senior Secondary Computer Science (330)Module 4: Database Concepts and Web Designing

Voice-over in this lesson is AI-generated. The script is written and checked by Kajal Ma'am. Boards can revise a syllabus mid-year, so confirm anything you plan around against the official board circular. Keep your passwords, OTPs and ID numbers to yourself — we never ask for them. To reach Kajal Ma'am, use the WhatsApp button; sharing your number there is how we call you back.

Free to watch, no sign-up. Live classes with Kajal Ma'am are the paid course; these lessons stay free either way.

Want a plan that actually fits your board dates?

Ask Kajal Ma'am directly, 20+ years teaching computer science. Free demo class first, no payment.

Talk to Kajal Ma'am on WhatsApp

Or see the Class 12 Computer Science course →

Studying outside India?

We coach CBSE, IGCSE & international students across the globe, one-to-one, in your local time zone.

Visit International →