Page 44 - KEC Khaitan C7 Flipbook
P. 44
c. The border-collapse property with the value 'separate' creates a single border
for the table cells.
d. The padding property specifies the space between cell contents in centimetres only.
3. Fill in the blanks using the words from the help box.
Cells, Border, Terms, Style
a. CSS allows us to style tables for a single HTML page using the <____________> tag in the head section
of the HTML document.
b. The <DT> tag in HTML is used to define the names or ____________ being defined within the list.
c. The border-collapse property with the value 'collapse' creates a single border for the table
____________.
d. The padding property is used to add space between the contents of a cell and the ____________.
4. Answer in one or two words.
a. Provide the syntax for utilising the list-style-type
property. _____________________________________
b. Which HTML tag is used to provide a description or
explanation for each term listed? _____________________________________
c. What is the term for a list contained within another
list? _____________________________________
d. Name the tag used to designate the title of a row or
column in a table. _____________________________________
e. Which CSS property add space between the border
and the contents of a cell? _____________________________________
5. Think and answer.
a. Sachin is designing a table in HTML and wants to ensure that the borders around the cells appear
as a single, continuous line rather than separate lines for each cell. Which property in the <Style> tag
can Sachin use to create single border for the table cells?
_______________________________________________________________________________
_______________________________________________________________________________
b. Ayushi was creating a table in HTML and she used the basic tags to enter the data. But
when she opened the webpage, she noticed that there were no borders around the
table. How can she add borders to the table she created?
_______________________________________________________________________________
_______________________________________________________________________________
42 Premium Edition-VII

