Computer Science, asked by archanasabale2, 16 days ago

plz help???????????????????????????????????​

Attachments:

Answers

Answered by anindyaadhikari13
2

Solution:

This is the required HTML coding for the given table –

<!DOCTYPE html>

<html>

  <head>

     <title>HTML Tables</title>

     <style>

        table,tr,td{

        border:1px solid black;

        width:400px;

        text-align:center;

        border-collapse:collapse;

        }

     </style>

  </head>

  <body>

     <table>

        <tr>

           <td colspan="3">Student Marklist

        </tr>

        <tr>

           <td>Roll Number

           <td>Name

           <td>Percentage

        </tr>

        <tr>

           <td>1

           <td>Mohit

           <td>80%

        </tr>

        <tr>

           <td>2

           <td>Raj

           <td>70%

        </tr>

        <tr>

           <td>3

           <td>Jay

           <td>90%

        </tr>

     </table>

  </body>

</html>

Note: To merge two or more columns, use colspan attribute and to merge two or more rows, use rowspan attribute.

See the attachment for output.

Attachments:
Answered by Anonymous
1

Answer:

This is the required HTML coding for the given table –

<!DOCTYPE html>

<html>

 <head>

<title>HTML Tables</title>

<style>

table,tr,td{

border:1px solid black;

width:400px;

text-align:center;

border-collapse:collapse;

</style>

</head>

<body>

<table>

<tr>

<td colspan="3">Student Marklist

</tr>

<tr>

<td>Roll Number

<td>Name

<td>Percentage

</tr>

<tr>

<td>1

<td>Mohit

<td>80%

 </tr>

<tr>

<td>2

<td>Raj

<td>70%

</tr>

<tr>

<td>3

<td>Jay

<td>90%

</tr>

</table>

</body>

</html>

Explanation:

Note: To merge two or more columns, use colspan attribute and to merge two or more rows, use rowspan attribute.

Plz mark as brainliest..

Similar questions