Write The Code For Creating A Table With 3 Rows And 2 Columns With A ...
Có thể bạn quan tâm
Skip to Content
Submitted by boxey4about 12 yearsWrite the code for creating a table with 3 rows and 2 columns with a border of 5px
Submitted by mtfabout 12 years
help!
Answer 52950ad6abf821f2a70003c7
1 votePermalink
CSS
table { border-collapse: collapse; border: 5px solid black; width: 100%; } td { width: 50%; height: 2em; border: 1px solid #ccc; }HTML
<table> <tbody> <tr><td></td><td></td></tr> <tr><td></td><td></td></tr> <tr><td></td><td></td></tr> </tbody> </table>This is only an example. You can ignore the CSS. To see this in your browser, save the following code to Notepad or a text editor and save with UTF-8 encoding, as, sample.html. Locate the file and click on it, or if your text editor has a Run menu, launch in your browser from there.
===== Everything between these lines ===== <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Sample table</title> <style> table { border-collapse: collapse; border: 5px solid black; width: 100%; } td { width: 50%; height: 2em; border: 1px solid #ccc; } </style> </head> <body> <table> <tbody> <tr><td></td><td></td></tr> <tr><td></td><td></td></tr> <tr><td></td><td></td></tr> </tbody> </table> </body> </html> ==========================================Popular free courses
- Free course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.- Checker DenseBeginner Friendly.4 Lessons
- Free course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.- Checker DenseBeginner Friendly.11 Lessons
- Free course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.- Checker DenseBeginner Friendly.6 Lessons
Từ khóa » Html Table 3 Columns 2 Rows
-
HTML Tables - W3Schools
-
Creating A Table With Three Columns And Two Rows With No Border On ...
-
Tables In HTML Documents
-
Table Rowspan And Colspan In HTML Explained (With Examples) »
-
HTML Tables – Table Tutorial With Example Code - FreeCodeCamp
-
How To Create HTML Tables - Tutorial Republic
-
HTML - Tables - Tutorialspoint
-
How To Combine Or Merge Cells In An HTML Table - Computer Hope
-
The Table Element - HTML: HyperText Markup Language | MDN
-
How To Create A Table With 3 Rows And 5 Columns In HTML - Quora
-
HTML Table Basics - Learn Web Development | MDN
-
CMS Basics: Working With HTML Tables - University Of Houston
-
Add Style To Specific Columns Or Rows In Your Table App