CBSE Class 8 Computer Science Chapter 17

CBSE Class VIII Computer Science Chapter 17 – Using list and creating table in HTML

Lists are used to organise the contents on the web page in an ordered and sequential manner. HTML supports three types of lists: unordered lists, ordered lists and definition lists. An ordered list starts with the <OL> tag and ends with the < /OL> tag. Each list item starts with the <LI> tag. By default, the list items are marked with numbers. To change the type of number style, use the TYPE attribute. The START attribute specifies the start value of the first list item in an ordered list. An unordered list starts with the < UL> tag and ends with the </UL> tag. The list items are marked with bullets.

In HTML, tables are enclosed within a <TABLE> tag </TABLE> tag. Each row of the table starts with the <TR> tag and ends with the </TR> tag. Each row contains data cells enclosed within <TD> tag</TD> tag and heading cells enclosed within <TH> tag</TH> tag. Table cell borders are specified by the border attribute of the table tag.  The BGCOLOR sets the background colour of the table. Cellspacing is used to create space between different cells within the table. Cellpadding is used to specify the distance between cell contents and its boundaries. 

Hyperlink is a text or an image that should be clicked in order to jump to a new document or a new section within the current document. The HTML anchor tag is denoted by <A> tag. It is used to establish a link to another document.