Computer Science, asked by sahilsharma150307, 2 months ago

Write the html coding for the following:

Attachments:

Answers

Answered by anindyaadhikari13
4

Answer:

The given c∅de is written in HTML.

<!DOCTYPE html>

<html>

<head>

<title>HTML</title>

<style>

.first{

background-color: cyan;

}

.second{

background-color: púrple;

}

</style>

</head>

<body>

<p align=center>Books and Authors Details</p>

<table align=center cellpadding=7 border=2>

<tr class="first">

<td>Category

<td>Books

<td>Authors

</tr>

<tr>

<td rowspan=2 class="second">Fiction

<td>Life of Pi

<td>Yan Martel

</tr>

<tr>

<td>The Alchemist

<td>Paulo Coelho

</tr>

<tr>

<td rowspan=2 class="second">Mystery

<td>The Day Vinci Códe

<td>Dan Brown

</tr>

<tr>

<td>Dracula

<td>Bram Stoker

</tr>

</table>

</body>

</html>

Refer to the attachment for output.

•••♪

Attachments:
Similar questions