CSS Tables


  1. Which of the following property sets the vertical alignment?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    Example: table{vertical-align: top;}


  1. Which of the following property is used to change the width of table?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    Example: table{width: 23px;}



  1. Which of the following property sets whether the table borders are collapsed into a single border or separated:?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    Example: table{ border-collapse: collapse;}


  1. Which of the following property is used to specify table borders in CSS?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    Example: table{border: 7px solid black;}



  1. Which of the following element is used within the table element to define a caption?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    <caption>