All Exams  >   Class 10  >   Computer Application: Class 10  >   All Questions

All questions of HTML Advanced - Tables, Lists & Links for Class 10 Exam

Which of the following does not specify a column width?
  • a)
    Fixed
  • b)
    Percentage
  • c)
    Proportional
  • d)
    Pixels
Correct answer is option 'D'. Can you explain this answer?

Gaurav Kumar answered
We can specify column width in three ways i.e. Percentage, Fixed, Proportional. Fixed width is given in pixels. Percentage specification is the percentage of horizontal space availability in the table. The proportional specification is the portions of fixed horizontal space required for the table.

Target attribute cannot have?
  • a)
    _blank
  • b)
    _self
  • c)
    _parent
  • d)
    _color
Correct answer is option 'D'. Can you explain this answer?

Vikram Kapoor answered
Target attribute can have values _blank, _self, _parent, _top and filename. _blank opens the linked document in a new tab window or tab, _self opens linked document in the same window, _parent opens linked document in the parent frame.

Which of the following can’t be the value of list-style-type?
  • a)
    square
  • b)
    circle
  • c)
    ellipse
  • d)
    disc
Correct answer is option 'C'. Can you explain this answer?

Krishna Iyer answered
list-style-property is used for defining the style of list item marker. Its value can be square, circle, disc or none. For setting list item marker to be bullet we use the value disc. It is the default value. For setting list item marker to a circle we used the circle, for setting it to be square we set the value square. If we set the value none, list items will not be marked.

Borders can’t be applied on ________________
  • a)
    <th>
  • b)
    <td>
  • c)
    <tr>
  • d)
    <thead>
Correct answer is option 'C'. Can you explain this answer?

Raghav Bansal answered
Borders can’t be applied on <tr> elements. It can’t be applied on table structural elements. For setting borders with <tr> element, border-collapse property should be set to collapse.

Which element contains definition?
  • a)
    <dl>
  • b)
    <dd>
  • c)
    <dt>
  • d)
    <ul>
Correct answer is option 'B'. Can you explain this answer?

Amit Sharma answered
<dd> element is used to contain definition. The definition list is created by using <dl> element. Inside <dl> element we can have pairs of <dd> and <dt> elements. <dt> contains the term being defined. <ul> is unordered list. A description list is specified by <dl> tag. <dt> tag is a term in description list.

Scope attribute can’t have the value __________
  • a)
    row
  • b)
    rowgroup
  • c)
    col
  • d)
    <head>
Correct answer is option 'D'. Can you explain this answer?

Pooja Shah answered
scope attribute defines a set of data cell. It is used in place of headers. This attribute can have one of the value among rowgroup, row, colgroup, col, rowgroup, and colgroup provides information of header cell of the corresponding row and column groups.

Which of the following is not the parameter for email link?
  • a)
    body
  • b)
    bcc
  • c)
    cc
  • d)
    #
Correct answer is option 'D'. Can you explain this answer?

Arun Sharma answered
There are various parameters used for email links like mailto, bcc, body, cc, subject, ‘&’, ‘?’. mailto: is used for e-mail recipient address, bcc is for blind carbon copy mail address, cc is for carbon copy e-mail address, subject is for the subject of the e-mail, ‘?’ is first parameters delimiter.

Which of the following element is not associated with a class attribute?
  • a)
    Row
  • b)
    <thead>
  • c)
    Column cell
  • d)
    Rows
Correct answer is option 'B'. Can you explain this answer?

Anita Menon answered
Column cell, Row, and Rows are the container elements. They have a class attribute with the help of this we can apply special styling. Table alignment is also controlled style sheet classes. Text-align and vertical-align are the style attributes that align the content of the table.

What is used for specifying an email to be sent?
  • a)
    mailto:
  • b)
    target
  • c)
    id
  • d)
    href
Correct answer is option 'A'. Can you explain this answer?

Amit Sharma answered
Target attribute is for specifying where to open linked document i.e. in a new tab, same frame, parent frame, full body of the window etc. We use mailto: with <a> and href for specifying the email address that we want to be sent to. It will open a new email message and address to a person specified in the link. The email link will appear like a normal link. The id attribute is for defining bookmarks in a page.

Headings of table lies inside ___________
  • a)
    <thead>
  • b)
    <tfoot>
  • c)
    <th>
  • d)
    <tbody>
Correct answer is option 'A'. Can you explain this answer?

Avinash Patel answered
Headings of the table lies inside <thead> element. Footer lies inside the <tfoot> element. The body of the table lies inside <tbody> element. <th> is used for giving heading to a row or a column. Every element must have closing tag also i.e. </thead>, </tfoot>, </tbody>

Which element is restricted to inline content?
  • a)
    <dt>
  • b)
    <dd>
  • c)
    <ul>
  • d)
    <dl>
Correct answer is option 'A'. Can you explain this answer?

Amit Sharma answered
<dt> element is restricted to inline content. In creation of a definition list the term is given by <dt> element. <dd> element contains block-level content. The description is given by <dd> element. <dl> is also used for marking up the dialogues.

 Which of the following is not the value for align attribute?
  • a)
    justify
  • b)
    char
  • c)
    middle
  • d)
    left
Correct answer is option 'C'. Can you explain this answer?

Align attribute is the alignment of data and for justification of text in the cell. It can take the values left, right, justify, center, char. Justify is for double justifying the text, char is for aligning text around a particular character.

Each cell of the table can be represented by using __________
  • a)
    <tr>
  • b)
    <td>
  • c)
    <th>
  • d)
    <thead>
Correct answer is option 'B'. Can you explain this answer?

Gaurav Kumar answered
td stands for table data, we can represent each cell of the table by using <td>, at the end we used </td> tag. But some browsers by default draw the lines around table. <tr> is used to indicate start of every row i.e. it stands for table row. The header information is present in <th> tag. <thead> tag contains the group of header.

Which of the following is not the value for rules attribute?
  • a)
    vsides
  • b)
    rows
  • c)
    all
  • d)
    groups
Correct answer is option 'A'. Can you explain this answer?

Shubham Sharma answered
The rules which will appear between cells of the table is specified by this attribute. It can take the values groups, none, rows, all and cols. None is the default value, rows are for appearance between rows only and cols is for columns only.

Which of the following is not the value for frame attribute?
  • a)
    above
  • b)
    void
  • c)
    none
  • d)
    box
Correct answer is option 'C'. Can you explain this answer?

Kiran Mehta answered
Frame attribute gives information about which sides of the frame surrounding that table will be visible. The values that this attribute can take are lhs, rhs, box, border, vsides, hsides, below, above, void.

For heading we can use ____________
  • a)
    <td>
  • b)
    <tr>
  • c)
    <thead>
  • d)
    <th>
Correct answer is option 'D'. Can you explain this answer?

Gaurav Kumar answered
<th> element is used for representing heading of column or a row. It works same as <td> element. If shell has no content we can use <th> element also there. We can use scope attribute for specifying the heading is for row or column. Usually content of <th> is represented in bold. <thead> tag contains the group of header. <tr> is used to indicate start of every row i.e. it stands for table row.

For displaying a list horizontally, we can use ______________
  • a)
    <dd>
  • b)
    display:inline
  • c)
    <dt>
  • d)
    type
Correct answer is option 'B'. Can you explain this answer?

Vivek Rana answered
If we want to display the list horizontally we can use display:inline or float:left. It will create a menu. E.g. ul {list-style-type: none; padding:0; overflow:hidden; } li {float:left} li g{ display: block; color:red; padding: 20px;}. <dd> element is used to contain definition. <dt> tag is a term in description list.

The content property does not include __________
  • a)
    Strings
  • b)
    URIs
  • c)
    Normal
  • d)
    Color
Correct answer is option 'D'. Can you explain this answer?

Avinash Patel answered
The content property includes Strings, URIs, Normal, None, Image, Counter and many more. When we are using these characters it is essential to encode them as their escaped HEX equivalents. These characters will work i.e. will only be visible in Mozilla/Netscape or in Opera.

Which of the following opens linked document in full body?
  • a)
    _blank
  • b)
    _top
  • c)
    _parent
  • d)
    framename
Correct answer is option 'B'. Can you explain this answer?

Radha Iyer answered
_parent opens linked document in parent frame, _top opens the linked document in full body of the window, framename opens the linked document in a named frame,
e.g. <a href= https://www.sanfoundry.com/ target= “_parent”> Visit The site !! </a>.

Which element was designed for creating multicolumn directory lists?
  • a)
    menu
  • b)
    dir
  • c)
    ul
  • d)
    ol
Correct answer is option 'B'. Can you explain this answer?

For the creation of multicolumn directory lists dir element was designed. For designing a single column menu list menu element was designed. They have the same structure as ul. It is just a different rendering. In practice, it works exactly as a ul list. <ol> represents a ordered list where as <ul> is unordered list. List of commands is defined by <menu> tag.

For adding caption to the table we use ____________
  • a)
    <caption>
  • b)
    <thead>
  • c)
    <th>
  • d)
    <tr>
Correct answer is option 'A'. Can you explain this answer?

Amit Sharma answered
For adding caption to the table we use <caption> tag. It should be used just below the <table> tag.

<thead> tag contains the group of header. <tr> is used to indicate start of every row i.e. it stands for table row. The header information is present in <th> tag.

Which attribute defines numbers of columns in a group?
  • a)
    width=multi-length[CN].
  • b)
    span=number[CN].
  • c)
    scope=scope-name[CN].
  • d)
    headers=idrefs[CS].
Correct answer is option 'B'. Can you explain this answer?

Kiran Mehta answered
span=number[CN] attribute’s value must be an integer and greater than 0. It specifies the number of columns in a group. When span attribute is not in use, colgroup defines a single column group containing one column. width=multi-length[CN] specifies default width of for every column. scope=scope-name[CN] specifies set of data cells for which going header cell gives header information. The headers=idrefs[CN] provides list of header cells that gives header information.

Which attribute is only used with <ol>?
  • a)
    value
  • b)
    type
  • c)
    compact
  • d)
    start
Correct answer is option 'D'. Can you explain this answer?

Shubham Sharma answered
The number attribute is only used with <ol>. The starting number of the first item in an ordered list is specified by this attribute. The default number for starting is ‘1’. The corresponding labels can be non numeric even its value is set to numeric. The “start” and “type” attribute are removed from HTML4.01 but can be still used in HTML5 where as “compact” attribute is not used in HTML5.

Which of the following is not the element associated with HTML table layout?
  • a)
    size
  • b)
    spanning
  • c)
    alignment
  • d)
    color
Correct answer is option 'D'. Can you explain this answer?

Naina Sharma answered
There are three elements in HTML table layout i.e. size, spanning and alignment. Layout type can be achieved by setting Rows elements layout attribute to Fixed or Auto. Auto attribute relies on browser compatibility whereas fixed layout relies on developer specification.

Which of the following sets the color of a link before it has been clicked on?
  • a)
    ALINK
  • b)
    LINK
  • c)
    VLINK
  • d)
    ULINK
Correct answer is option 'B'. Can you explain this answer?

LINK set the color of a link before it has been clicked on, ALINK set the color of a link when a link is clicked on, VLINK set the color of a link after it has been clicked on, here A and V stands for Active and Visited.

Which property specifies the distance between nearest border edges of marker box and prinicipal box?
  • a)
    marker-offset
  • b)
    counter increment
  • c)
    list-style
  • d)
    list-style-image
Correct answer is option 'A'. Can you explain this answer?

Gaurav Kumar answered
We can create markers by setting ‘display’ property. It specifies the distance between nearest border edges of marker box and the principal box associated with it. It can be user specified i.e. <length> or can be chosen by ‘auto’. Length can be negative also. Counter increment increments counter by value 1. list- style specifies it’s three types: 1)life-style-image 2)life-style-position 3)life-style-type. The list-style-image defines an image to be used as list item’s marker. It is stated as life-style-type.

Which of the following is not true regarding to counter?
  • a)
    counter(name,style)
  • b)
    counter(name)
  • c)
    counter(string)
  • d)
    e)b) counter(name)c) counter(string)
Correct answer is option 'C'. Can you explain this answer?

Radha Iyer answered
There are two functions for specifying counters, ‘counter()’ or ‘counter()’. First one has two forms ‘counter(name,style)’ and ‘counter(name)’. The second one also has two forms ‘counter(name,string,style)’ and ‘counter(name,string)’.

Which attribute is used to link the bookmark?
  • a)
    href
  • b)
    id
  • c)
    target
  • d)
    <img>
Correct answer is option 'A'. Can you explain this answer?

Radha Iyer answered
href attribute is used to link the bookmark. The id attribute is for defining bookmarks in a page, target attribute is for specifying where to open linked document i.e. in new tab, same frame, parent frame, full body of the window etc.

What will add line break in the body of mail?
  • a)
  • b)
  • c)
    %0h
  • d)
    
Correct answer is option 'B'. Can you explain this answer?

Vivek Rana answered
represents space character. A data link escape is shown by . will add a newline in the text of the body.

Which character is used to differentiating between choices to list items?
  • a)
    ‘|’
  • b)
    ‘>’
  • c)
    ‘#’
  • d)
    ‘$’
Correct answer is option 'A'. Can you explain this answer?

Aditya Shah answered
‘|’, a pipe character is used to differentiate between choices. It is a separating character. It can be emulated by adding borders to list items. E.g. #pipe ul li.first {margin-left: 0; list-style: none; margin-left: none; display: inline; }. Here we have added class=”first” so that it does not end up with a border on the left side.

Which HTML tag is used to define a table?
  • a)
    <tb>
  • b)
    <tl>
  • c)
    <table>
  • d)
    <tab>
Correct answer is option 'C'. Can you explain this answer?

Gaurav Kumar answered
Contents written between <table> and <table> are organised in the form of table with the help of <tr>,<th> or <td> tags.

Which tag is used for List items?
  • a)
    <li>
  • b)
    <ol>
  • c)
    <ul>
  • d)
    <dl>
Correct answer is option 'A'. Can you explain this answer?

Aditya Shah answered
li is for the list items. The list is indented by default by the browser. <li> is written inside <ol> element having opening <li> tag and closing </li> tag. Sometimes <ol> can also include type attribute which defines type of numbering. <ol> represents a ordered list where as <ul> is unordered list. A description list is specified by <dl> tag.

border-spacing is given in _____________
  • a)
    pixels
  • b)
    cm
  • c)
    mm
  • d)
    inch
Correct answer is option 'A'. Can you explain this answer?

Naina Sharma answered
border-spacing and border-collapse are the two properties by which one can set the border and its styling in a table. We give its value in pixels.
Example: table { border-collapse: collapse; border-spacing: 14px } th, td{ border: 12 px solid red; padding: 20px 13px; }

valign attribute does not take the value __________________
  • a)
    justify
  • b)
    middle
  • c)
    baseline
  • d)
    bottom
Correct answer is option 'A'. Can you explain this answer?

Shubham Sharma answered
valign attribute is for specifying the vertical position of the data in a cell. It can take the values middle, top, baseline, bottom, Top is for the top of the cell’s data, middle is for the centered data, bottom is for the bottom of the cell, first text line occurs on the baseline which is common to all the cells.

Chapter doubts & questions for HTML Advanced - Tables, Lists & Links - Computer Application: Class 10 2025 is part of Class 10 exam preparation. The chapters have been prepared according to the Class 10 exam syllabus. The Chapter doubts & questions, notes, tests & MCQs are made for Class 10 2025 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests here.

Chapter doubts & questions of HTML Advanced - Tables, Lists & Links - Computer Application: Class 10 in English & Hindi are available as part of Class 10 exam. Download more important topics, notes, lectures and mock test series for Class 10 Exam by signing up for free.

Top Courses Class 10

Related Class 10 Content