Computer Science, asked by abhi230204, 1 month ago


\huge\color{lime}\boxed{\colorbox{black}{⭐question:-⭐}}
Create the table using html.
 \red{write \: the \: html \: coding - }
Note :- use the check box for selecting number.

don't spam ❌
⭐need quality answer ⭐

Attachments:

Answers

Answered by Anonymous
8

Following còdes are written in HTML and CSS

<!DOCTYPE html>

<html lang="en">

<head>

<title>Document</title>

<style>

p {

font-size: 23px;

}

#numbers {

padding-left: 37px;

}

#outer {

border: 1px solid black;

padding: 16px;

width: 285px;

margin-left: 10px;

}

tr,

td,

table {

margin: auto;

padding: 20px;

border: 1px solid black;

border-collapse: collapse;

width: 269px;

text-align: center;

}

</style>

</head>

<body>

<div id="outer">

<table>

<tr>

<td>2</td>

<td>4</td>

<td>5</td>

</tr>

<tr>

<td>6</td>

<td>7</td>

<td>8</td>

</tr>

</table>

<div id="numbers">

<p>Select your number :-</p>

<form action="/action_page.php">

<input type="checkbox">

<label>2 &emsp; &emsp; </label>

<input type="checkbox">

<label>5 &emsp; &emsp; </label>

<input type="checkbox">

<label>7 &emsp; &emsp; </label> <br>

<input type="checkbox">

<label>4 &emsp; &emsp; </label>

<input type="checkbox">

<label>6 &emsp; &emsp; </label>

<input type="checkbox">

<label>8 &emsp; &emsp; </label>

</form>

</div>

</div>

</body>

</html>

Output attached...★

Attachments:
Similar questions