The _________ attribute is used to display a specific outer portion of a table…

2017

The _________ attribute is used to display a specific outer portion of a table border.

  1. A.

    FRAME

  2. B.

    BORDER

  3. C.

    HEADER

  4. D.

    VALIGN

Attempted by 47 students.

Show answer & explanation

Correct answer: A

In HTML, when creating a table using the <table> tag, the frame attribute determines which specific outer sides of the table's surrounding border will be displayed.

Instead of showing the complete box-like perimeter, you can use specific values with the frame attribute to control the visibility of individual outer borders. Some of its common values include:

  • above: Displays only the top outer border.

  • below: Displays only the bottom outer border.

  • hsides: Displays only the top and bottom (horizontal) outer borders.

  • vsides: Displays only the left and right (vertical) outer borders.

  • box / border: Displays all four outer sides.

Explore the full course: Btsc Lab Assistant