Computer Science, asked by Nileena, 1 year ago

HTML code for creating this table. please answer fast

Attachments:

Answers

Answered by nitish8089
1
check \: out \: the \: code \: \: one \: mistake \: in \: your \: book \:
default \: value \: of \:<br />boolean \: data \: type \: is \: false \: in \: jav a \: not \: 0 \: but \: mean \: out \: same
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<table border="1px">
<tr>
<td>Data type</td>
<td>Description</td>
<td>Size in memory(bytes)</td>
</tr>
<tr>
<td>boolean</td>
<td>Boolean(deafault value false)</td>
<td>1 bit</td>
</tr>
<tr>
<td>int</td>
<td>Integer data(whole value)</td>
<td>2
</td>
</tr>
<tr>
<td>char</td>
<td>Character data</td>
<td>1</td>
</tr>
<tr>
<td>float</td>
<td>Real data(fractional value)</td>
<td>4</td>
</tr>
<tr>
<td>double</td>
<td>twice the precision of float data</td>
<td>8</td>
____________________
::may be helpful::
Attachments:
Similar questions