Computer Science, asked by kumarkanish1980, 10 months ago

what value can be assigned to background attribute of the <table> tag​

Answers

Answered by Anonymous
0

Answer:

Code Example

<table background="/wp-content/uploads/wov.png"> <tr><td>First column</td><td>Second column</td><td>Third column</td></tr> <tr><td>First column</td><td>Second column</td><td>Third column</td></tr> <tr><td>First column</td><td>Second column</td><td>Third column</td></tr> </table>

Read more: https://html.com/attributes/table-background/#ixzz6FWcVjBaZ

Explanation:

apply a background image with CSS, use the background property.

<style> table.example-table { background: url("/wp-content/uploads/wov.png"); /* image courtesy of subtlepatterns.com */ } </style> <table class="example-table"> <tr><td>First column</td><td>Second column</td><td>Third column</td></tr> <tr><td>First column</td><td>Second column</td><td>Third column</td></tr> <tr><td>First column</td><td>Second column</td><td>Third column</td></tr> </table>

Read more: https://html.com/attributes/table-background/#ixzz6FWcZ52lY

Similar questions