Computer Science, asked by tahyamkonyak6, 1 month ago

(i) Create an HTML page to include a table with 3 rows and 2 columns. (ii) Make a list that lists the items in I, II, III, etc.​

Answers

Answered by Iwilltrytoanswer
0

Answer:

(i)

<!DOCTYPE html>

<html lang="en">

<head>

<title>Creating Tables in HTML</title>

</head>

<body>

<h2>HTML Table (Default Style)</h2>

<table>

<tr>

<th>No.</th>

<th>Name</th>

</tr>

<tr>

<td>1</td>

<td>Peter Parker</td>

</tr>

<tr>

<td>2</td>

<td>Tony stark</td>

</tr>

<tr>

<td>3</td>

<td>Harry Potter</td>

</tr>

</table>

</body>

</html

(ii)

<!DOCTYPE html>

<html>

<head>

<title>Fictional characters</title>

</head>

<body>

<h1>Fruits</h1>

<p>The list of Fruits :</p>

<ul style="list-style-type:square">

<li>Peter Parker</li>

<li>Tony stark</li>

<li>Harry Potter</li>

</ul>

</body>

</html>

Explanation:

The names/title can be changed to your liking

Similar questions