Computer Science, asked by idnfiwei29321uh, 1 year ago

Write the HTML Code of the following table.

Attachments:

Answers

Answered by OmGupta11
3
HTML Code:
<html>
<body>
<table border="1">
<tr align="center">
<th><b>Customer ID</b></th>
<th><b>Name</b></th>
<th><b>DOB</b></th>
<th><b>Address</b></th>
</tr>
<tr align="center">
<td>C0011</td>
<td>Narayan</td>
<td>17-08-99</td>
<td>C-10, Vihar Colony</td>
</tr>
</table>
</body>
</html>

OmGupta11: I am very sorry.
OmGupta11: Thank you very much...
OmGupta11: I thought that I have finished the basics of HTML.
OmGupta11: But this type of mistake is very embarassing for me...
OmGupta11: I was learning the HTML from W3schools.com and when I was learning, I skipped the table tag as I thought it was already known by me.
OmGupta11: What could I do about the book?
siddhartharao77: You are just learning it. I am a certified HTML developer
siddhartharao77: BTW, Don't report anyone's answer without knowing the fact.
siddhartharao77: Bye.
OmGupta11: your age is written 118 years...!
Answered by siddhartharao77
5
<html>
<body>
<table border="3" cellpadding="2" cellspacing="0">
<tr>
<th>Customer ID</th>
<th>Name</th>
<th>DOB</th>
<th>Address</th>
</tr>
<tr align = "center">
<td>C0011</td>
<td>Narayan</td>
<td>17-08-99</td>
<td>C-10,Vihar Colony</td>
</tr>
</table>
</body>
</html>


<!Hope this helps! ------>

siddhartharao77: Then correct it.
OmGupta11: I mistook tag but in my book, it is written that we should use th tag instead of tr
OmGupta11: but you have reported by ans. and the option to edit is now unavailable to me.
OmGupta11: i can't do anything now!
siddhartharao77: For your kind information, I won't report anyone's answer. Instead I will directly delete it. If u want to know who has reported ur answer, Scroll down till the end of the page.
siddhartharao77: You have reported my answer.
OmGupta11: I am on android app
OmGupta11: wait for 5 minutes..
OmGupta11: let me turn on my laptop
OmGupta11: sorry
Similar questions