HTML - Formatting text, Creating Tables, List and Links: book back answers

22 solved questions from the end of this chapter, Class 11 Computer Applications, Tamil Nadu State Board. Each answer is checked against the textbook, and you can open the page that proves it.

← Notes and quiz for HTML - Formatting text, Creating Tables, List and Links

Choose the correct answer

  1. Which of the following tags are called as physical style tags?

    • (A) <html>, <b>, <br>
    • (B) <b>, <br>, <u>
    • (C) <A>, <b>, <i>
    • (D) <b>, <i>, <u>
    Try it, then show the answer

    (D) <b>, <i>, <u>

    The chapter identifies <b>, <i> and <u> as physical style tags.

    From the book: “These tags are otherwise known as “Physical Style” tags.”

  2. Which feature is used to call attention to the reader?

    • (A) Highlight
    • (B) Bold
    • (C) Italics
    • (D) Underline
    Try it, then show the answer

    (A) Highlight

    The chapter says highlighting is used to call attention to the reader.

    From the book: “Highlighting is an important formatting feature is used to call attention to the reader.”

  3. The tags <sub> and <sup> used for:

    • (A) Subject and Super
    • (B) Subscript and Super
    • (C) Subject and Superscript
    • (D) Subscript and Superscript
    Try it, then show the answer

    (D) Subscript and Superscript

    <sub> creates a subscript and <sup> creates a superscript.

    From the book: “The <sub> and <sup> tags are used to create subscript and superscripts respectively.”

  4. A named set of certain style of character and number is:

    • (A) Style
    • (B) Character
    • (C) Font
    • (D) List
    Try it, then show the answer

    (C) Font

    The chapter defines a font as a named set of a particular style of characters and numbers.

    From the book: “A font is a named set of certain style of character and number.”

  5. Pick odd one from the list

    • (A) <tr>
    • (B) <th>
    • (C) <dh>
    • (D) <td>
    Try it, then show the answer

    (C) <dh>

    <tr>, <th> and <td> are used in HTML tables; <dh> is not listed as a table tag in the chapter.

    From the book: “<th> tag defined table columns”

  6. Match the following:

    • (A) 4 1 2 3
    • (B) 1 4 3 2
    • (C) 4 3 2 1
    • (D) 1 2 4 3
    Try it, then show the answer

    (A) 4 1 2 3

    <tfoot> belongs to table sections, start is an ordered-list attribute, href makes a hyperlink, and <mark> highlights text.

    From the book: “<tbody>, <thead> and <tfoot> tags are also used to define and control whole sections of table.”

  7. Definition list has how many parts?

    • (A) 5
    • (B) 4
    • (C) 3
    • (D) 2
    Try it, then show the answer

    (D) 2

    The chapter states that a definition-list element has two parts.

    From the book: “In this list type, the list element has two parts.”

  8. A list block can be defined inside another list is:

    • (A) Inner List
    • (B) Nested List
    • (C) Outer List
    • (D) Listing List
    Try it, then show the answer

    (B) Nested List

    A list within another list is called a nested list.

    From the book: “A list block can be defined inside another list is called as nested list.”

  9. Read the following statement and choose the correct statement(s): (I) Link in HTML is used to create hyperlinks to web content. (II) HREF is abbreviated as Hypertext Markup File (A) I is correct (B) II is correct (C) I and II is correct (D) Both are wrong

    • (A) I is correct
    • (B) II is correct
    • (C) I and II is correct
    • (D) Both are wrong
    Try it, then show the answer

    (A) I is correct

    Statement I matches the chapter. HREF means “Hypertext Reference,” not “Hypertext Markup File.”

    From the book: “HREF is abbreviated as “Hypertext Reference”.”

  10. To create internal link, which of the following attribute should be used?

    • (A) link
    • (B) name
    • (C) local
    • (D) Inter
    Try it, then show the answer

    (B) name

    The chapter says to use the Name attribute of the <A> tag for an internal link.

    From the book: “To create an internal like, the attribute Name is used along with <A> tag.”

Very Short Answers

  1. Write a short note on (i) <strong> (ii) <em>

    Try it, then show the answer

    (i) <strong> defines important text and displays it as bold. (ii) <em> emphasizes text and displays it in italics.

    Both are container tags. Their meanings are important text and emphasis, rather than only bold and italics.

    From the book: “The <strong> tag is a phrase tag. It is used to define important text.”

  2. What is the use of <mark> tag?

    Try it, then show the answer

    The <mark> tag is used to highlight text in HTML.

    Text between <mark> and </mark> appears highlighted, usually with the default color.

    From the book: “The <mark> tag is used to highlight the text in HTML.”

  3. Write the following equation as HTML notation: Pd = 2s – Q2

    Try it, then show the answer

    Pd = 2s – Q<sub>2</sub>

    The final 2 is written as a subscript using <sub> and </sub>.

    From the book: “The text or number given between <sub> and </sub> will be displayed as subscript.”

  4. What is thematic break?

    Try it, then show the answer

    The <hr> tag, known as a thematic break, visually separates sections of an HTML document by producing a horizontal line.

    It is an empty tag and has no closing tag.

    From the book: “The <hr> (Horizontal Rules) tag, which is known as “Thematic Breaks” separate sections of an HTML document visually.”

  5. What is pixel?

    Try it, then show the answer

    A pixel is one of the tiny dots that make up the display on a computer.

    The chapter also notes that pixels are usually referred to as points.

    From the book: “A pixel is one of the tiny dots that make up the display on computer.”

  6. What are the types of list in HTML?

    Try it, then show the answer

    Ordered List, Unordered List and Definition List.

    These correspond to numbered, unnumbered and definition lists.

    From the book: “These lists are called as Ordered List, Unordered List and Definition List respectively.”

  7. How will you define numbered list?

    Try it, then show the answer

    A numbered list is created within <OL> and </OL> tags, with each list item presented using the <LI> tag.

    An ordered list displays its items in numerical or alphabetical order.

    From the book: “Numbered list is created within the tag pair <OL> ….. </OL> tag.”

Short Answers

  1. What are the core tags used to create table in HTML?

    Try it, then show the answer

    The five core table tags are <table>, <th>, <tr>, <td> and <caption>.

    These tags create the table, its rows and cells or headings, and its caption.

    From the book: “There are five core tags are used to create a table in HTML.”

  2. Difference between <UL> and <OL> tags.

    Try it, then show the answer

    <UL> creates an unordered, bulleted list. <OL> creates an ordered list whose items appear in numerical or alphabetical order.

    The default unordered-list marker is a solid circle, while ordered lists use numbers or letters.

    From the book: “Unordered lists are often referred as bulleted lists.”

Part-IV Explain in Detail

  1. Explain the attributes used with <table> tag in HTML.

    Try it, then show the answer

    The <table> tag creates a table, which is a grid of rows and columns. Its attributes are used to improve the layout of the table.

    1. Cellspacing: Sets the space between cells in a table. Its value is given in pixels.
    2. Cellpadding: Sets the space between the contents of a cell and its border. Its value is given in pixels.
    3. Border: Specifies the thickness of the border lines around the table. A zero value displays the table without a border.
    4. Bordercolor: Applies colour to the table’s border lines.
    5. Align: Sets the table’s position within the browser window. Left is the default; right or center may also be used.
    6. BGcolor: Applies a background colour to the table.
    7. Height and Width: Specify the height and width of a table in pixels or as a percentage.

    Example: <table cellspacing=5 cellpadding=15 border=4 bordercolor=blue align=center bgcolor=yellow>

    These attributes control the spacing, borders, position, background colour and dimensions of a table.

    From the book: “Cellspacing It is used to set the space between cells in a table.”

  2. Explain the types of list with suitable HTML code.

    Try it, then show the answer

    HTML supports three types of lists: numbered, unnumbered and definition lists. They are called Ordered List, Unordered List and Definition List respectively.

    1. Ordered List: An ordered list displays items in numerical or alphabetical order. It is enclosed in <OL> and </OL> tags, and each item is given with the <LI> tag.
    2. Ordered List code: The following code creates a numbered list of subjects:
    3. Unordered List: An unordered list is also called a bulleted list. It is enclosed in <UL> and </UL> tags, and each item is defined by <LI>. By default, its bullets are solid circles; the type attribute can customize the bullet style.
    4. Unordered List code: The following code creates a bulleted list and uses the square bullet style:
    5. Definition List: A definition list has no bullets or numbers. It is enclosed in <DL> and </DL> tags and uses <DT> for the term and <DD> for its description.
    6. Definition List code: The code below presents a term and its definition:

    Example: <DL> <DT> HTML: </DT> <DD> Hyper Text Markup Language </DD> </DL>

    Thus, HTML provides ordered, unordered and definition lists to present list content in different forms.

    From the book: “HTML supports three types of lists viz. numbered, unnumbered and definition.”

  3. What is Link and explain the types of links.

    Try it, then show the answer

    A link is an important feature of HTML that connects web resources by creating hyperlinks. The resource may be a webpage, multimedia content or a section of the current document.

    1. Purpose of a link: A link connects the user to web content when it is clicked.
    2. What is needed: To create a link, specify the name or URL of the target and the text that users can click.
    3. Anchor tag and HREF: The <A> anchor tag creates the link, and its HREF attribute specifies the target. HREF means “Hypertext Reference”.
    4. Internal link: An internal link connects to a particular section of the same document. The Name attribute of the <A> tag establishes this link.
    5. External link: An external link connects the current page to an external webpage. Its URL is provided in the HREF attribute.

    Example: <A href = “ Web content path / URL “> Text – Clickable link </A>

    Thus, HTML links connect web resources and are classified as internal or external according to their target.

    From the book: “Hyperlinks are considered either Internal or External links depends on their target.”

Next chapterHTML - Adding multimedia elements and Forms