CBSE Class 7 Computer Science HTML Lists Notes

Official Class 7 Computer Science Revision Material: CBSE Class 7 Computer Science HTML Lists Notes

Access comprehensive revision notes for HTML Lists using the CBSE Class 7 Computer Science HTML Lists Notes. Designed to align with the 2026-27 academic syllabus for Class 7 Computer Science, these concept summaries help students streamline their exam preparation and review complex topics efficiently.

Chapter-wise Concept Summaries: HTML Lists

Navigate directly to the revision notes for HTML Lists using the digital viewer below. Each summary is structured to highlight high-weightage sections, allowing students to instantly access critical definitions and focus on core exam topics.

TABLES IN HTML:

HTML tables allow web authors to arrange data like text, images, links, other tables, etc. into rows and columns of cells. The HTML tables are created using the <table> tag in which the <tr> tag is used to create table rows and <td> tag is used to create data cells.

Lesson-3 HTML LISTS

You will learn

  • Paragraph formatting Tags
  • List Tags
  • Order (start and type attribute) and Un order List
  • Background Image and other Image Insertion in Web Page with alignment
  • Creation of table
  • Anchor Tag
  • Hyper Link

Lists in HTML

1. Unordered Lists - An unordered list has no specific numbering or ordering. It starts with the <ul> tag. Each list item starts with the <li> tag.Example: Create the following List in HTML

<html>
<head>
<title>
Unordered list
</title>
<head>
<body>
<h2><b>Unordered List with Bullets</b></h2>
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
</body>
</html>

Output: Unordered List with Bullets - I like to drink the following: Coffee, Tea, Milk

Unordered list styling- <ul style="list-style-type:circle"> OR <ul style="list-style-type:square">

11. Ordered Lists - An ordered list can be numerical or alphabetical in a specific order.

Example: Create the following List in HTML

<html>
<head>
<title>
Ordered list
</title>
</head>
<body>
<h2><b>Ordered List with Numbers</b></h2>
<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
</body>
</html>

Output: Ordered List with Numbers - I like to drink the following: 1 Coffee, 2 Tea, 3 Milk

Ordered list styling- To change the starting number from default 1 to any number we use the ‘start’ option.

To Change from numbers to alphabet or to roman numbers we use the ‘type’ option.

Example:

<ol start="10” type=i >
<li>Coffee</li>
<li>Milk</li>
</ol>

Output list numbered x. Coffee, xi. Tea, xii. Milk

TABLES IN HTML:

HTML tables allow web authors to arrange data like text, images, links, other tables, etc. into rows and columns of cells. The HTML tables are created using the <table> tag in which the <tr> tag is used to create table rows and <td> tag is used to create data cells.

Example: Create the following List in HTML

MonthSaving
January$100
February$75
<html>
<head>
<title>
Table in html
</title>
</head>
<body>
<table>
    <tr>
    <td>Month</td>
        <td>Savings</td>
    </tr>
    <tr>
    <td>January</td>
        <td>$100</td>
    </tr>
    <tr>
    <td>February</td>
    <td>$75</td>
    </tr>
</table>
</body>
</html>

1. Table Border:We add border option in <table> tag i.e.<table border=”1”>

2. Bordercolor: It specifies the color of the table’s border.
Syntax: <table border=3 bordercolor=red>

3. Cellspacing: It is the space between cells.

4. Cellpadding: It is the distance between cell border and the cell contents.

Syntax: <table border=3 bordercolor=red cellspacing=10 cellpadding=10>

Student Detail table with Name, Address, Marks for Manik, Ravi, Sunny, Rohan

5. Background: It is used to give image in the background. This attribute takes URL of the file as its value.

Syntax: <table background=”path”

6. Bgcolor: It is used to give colour in the background of the table.

Syntax: <table bgcolor=”red”>

7. Height and Width: These attributes are used to specify the height and width of the table in pixel

Syntax: <table height=200 width=300 >

ROWSPAN AND COLSPAN ATTRIBUTES OF TABLE TAG

Stretching a cell over multiple rows or columns is refered to as spanning. Two or more adjacent rows can be combined together to form a single row using the rowspan attribute. Two or more adjacent columns can be combined together to form a single columns using the colspan attribute.

<html>
<Table border=1>
<caption> PRICE LIST</caption>
<tr><th colspan=2>Activity Name</th><th>Monthly Charges</th></tr>
<tr><td rowspan=2>INDOOR Activities</td><td>Indian Dance</td><td>Rs. 250</td></tr>
<tr><td>Dramatics</td><td>Rs. 350</td></tr>
<tr><td rowspan=2>OUTDOOR Activities</td><td>Skating</td><td>Rs. 150</td></tr>
<tr><td>Horse Riding</td><td>Rs. 400</td></tr>
</Table>
</html>

Output :-

Output table PRICE LIST with Activity Name and Monthly Charges using rowspan and colspan

Anchor Tag:

The ‘a’ or anchor tag. Hyperlinks, or links, are how you move around the web. An <a> or anchor tag is how you make hyperlinks in HTML. The ‘a’ or anchor tag is an elegantly simple and powerful tool.

There are two ways two insert hyperlinks in html:

  1. Internal link –

Steps: 1. Open My Pictures or Sample Pictures or any folder containing pictures or songs or any file, Copy the file you want

2. Create a folder on the Desktop or in My Documents

3.Open the Folder, and paste the file.

4.Right click, and click new and click text document.

5.Open the text document and type the code given below.

<html>
<head>
<title>
Links in HTML
</title>
</head>
<body>
<p><a href=Name of the file. extension>Click here to download</a></p>
</body>
</html>

4.Save the file giving a name with dot html(mypage.html).

5.Open the webpage using browser.

2. External: Here we type the location or address of the picture or file where it is, instead of simply writing the name of the picture.

File explorer window showing the path C:\Users and the file abc.jpg highlighted

Steps:

1.Open a text document and type the code given below.

<html>
<head>
<title>
Webpage with Pictures
</title>
</head>
<body >
<p><a href=c:\User\Name of the file. extension>Click here to download</a></p>
</body>
</html>

4.Save the file giving a name with dot html(mypage.html).

5.Open the webpage using browser

To open webpages using hyperlinks: We can open different webpages by simply clicking on a hyperlink by providing the address of the webpage using <a> tag

<a href="http://www.yahoo.com">Visit Yahoo</a>

To change HTML Link Color: We can change the color of the hyperlinks by using the following options in the <body> tag.

link="color" For the a page that hasn't been to visited yet
vlink="color" For the visited link color
alink="color" For the active link color

<body link="blue" alink="blue" vlink="red">

SUMMARY

  1. Each list item starts with the <li> tag.
  2. In HTML List are of three types Ordered list, Unordered list, Definition list.
  3. An ordered list can be numerical or alphabetical in a specific order.
  4. An unordered list has no specific numbering or ordering. It starts with the <ul> tag.
  5. HTML tables allow web authors to arrange data like text, images, links, other tables, etc. into rows and columns of cells.
  6. HTML tables are created using the <table> tag.
  7. In HTML <tr> tag is used to create table rows and <td> tag is used to create data cells.
  8. Cellspacing is the space between the cells.
  9. Cellpadding is the distance between cell border and the cell contents.
  10. Stretching a cell over multiple rows or columns is refered to as spanning.
  11. Two or more adjacent rows can be combined together to form a single row using the rowspan attribute.
  12. Two or more adjacent columns can be combined together to form a single columns using the colspan attribute.
  13. An <a> or anchor tag is how you make hyperlinks in HTML.
  14. There are two ways two insert hyperlinks in html : Internal Link, External Link.

EXERCISES

A. Fill in the blanks

i. __________list can be numerical or alphabetical in a specific order.
ii. Each list item should start with_____________tag.
iii. We can create table in HTML by using___________tag.
iv. __________tag is used to create table row whereas ___________tag is used to create Data cells.
v. Space between the cells is_____________.
vi. ___________is the distance between the cell border and the cell content.

B. Find true or false

i. We use Table border to change the color of border.
ii. Background is to give image in the background.
iii. <A HREF=”Lotus.html”> here ‘A’ stands for anchor tag.
iv. HREF attribute is used to set URL of the page.
v. <TD> tag is used to create table row.

C. Short Answer Questions

i. What is List in HTML?
ii. What are the types of List in HTML?
iii. Give one difference between Ordered list with Unordered list.?
iv. What is cellpadding?
v. Give one difference between rowspan with colspan.?
vi. What is cellspacing?
vii. What is the use of <A> tag in HTML? Give syntax.
viii. List four attributes of <A> tag.
ix. What are the types of Hyperlink?
x. Identify the error in code given below:
<img src=”mypage.html”

In the lab

1. The student of Lotus Public School wants to create the following web page related to the outdoor activities help them to create the code in HTML.

Browser screenshot of web page LOTUS PUBLIC SCHOOL with Outdoor Activities: 1 Cricket, 2 Horse riding, 3 Swimming

2. Create your class time table with class teacher name using <TABLE> in HTML , You are free to use colors of your own choice.

3. Anita is trying to create two web pages computer.html and definition.html where computer.html is the name and are linked to definition.html. She wants that a click on name and it should display the web page definition.html. Try this assignment to yourself to see whether you get output correctly.

Download CBSE Revision Notes: Class 7 Computer Science HTML Lists

Download Chapter Summary: Class 7 Computer Science HTML Lists

Access structured revision notes for HTML Lists designed in alignment with the latest CBSE curriculum for Class 7 Computer Science. These summaries help clarify core themes and support effective daily study.

Concept Clarification for HTML Lists

Each chapter summary is structured around standard CBSE textbooks, allowing students to check their understanding and clarify complex ideas early in their revision.

Additional Study Resources for Class 7 Computer Science

Explore our broader library of printable assignments, chapter notes, and mock tests designed to support continuous revision and secure higher marks in CBSE assessments.

FAQs

Where can I download the latest PDF for CBSE Class 7 Computer Science HTML Lists Notes?

You can download the teacher prepared revision notes for CBSE Class 7 Computer Science HTML Lists Notes from StudiesToday.com. These notes are designed as per 2026-27 academic session to help Class 7 students get the best study material for Computer Science.

Are these Computer Science notes for Class 7 based on the 2026 board exam pattern?

Yes, our CBSE Class 7 Computer Science HTML Lists Notes include 50% competency-based questions with focus on core logic, keyword definitions, and the practical application of Computer Science principles which is important for getting more marks in 2026 CBSE exams.

Do these Class 7 notes cover all topic-wise concepts for Computer Science?

Yes, our CBSE Class 7 Computer Science HTML Lists Notes provide a detailed, topic wise breakdown of the chapter. Fundamental definitions, complex numerical formulas and all topics of CBSE syllabus in Class 7 is covered.

How can I use CBSE Class 7 Computer Science HTML Lists Notes for quick last-minute revision?

These notes for Computer Science are organized into bullet points and easy-to-read charts. By using CBSE Class 7 Computer Science HTML Lists Notes, Class 7 students fast revise formulas, key definitions before the exams.

Is there any registration required to download Class 7 Computer Science notes?

No, all study resources on StudiesToday, including CBSE Class 7 Computer Science HTML Lists Notes, are available for immediate free download. Class 7 Computer Science study material is available in PDF and can be downloaded on mobile.