Computer Science, asked by ayushsrivastav111020, 10 months ago

Name the attributes used to set the following in a table
i) Background color
ii) Table border
iii) Table width and height

Answers

Answered by Anonymous
0

Answer:

ii)

iii)

here is your answer

Answered by NirmalPandya
0

The attributes used to set the background color, Table border, and Table width and height are bgcolor attribute, border attribute, width, and height attributes.

  • bgcolor attribute is used to set the background color of the table. This attribute can be used to set the color of the whole table or even one single cell of the table. Syntax - <table bgcolor = "yellow">
  • border attribute is used to set the border of the table. Syntax - <table border = "1" bordercolor = "green">. We can even set the border color by using the bordercolor attribute.
  • The height and width of the table are specified using the height and width attribute. Syntax - <table border = "1" width = "400" height = "150">

Similar questions