This article mainly tells you about the border usage of html table table tags. Generally, we set the border line to 1 to demonstrate the border method. Next, let’s take a look at this article about the use of borders in html table table tags
First, let’s take a look at how the table is defined:
The table is defined by the
tag). The letters td refer to table data, the contents of data cells. Data cells can contain text, pictures, lists, paragraphs, forms, horizontal lines, tables, and more. Okay, let’s start by making a simple table: <!doctype html> <html> <head> <meta charset="utf-8"> <title>PHP中文网</title> </head> <body> <table border="1" width="300px" height="100"> <tr><td><td><td></td></td></td></tr> <tr><td><td><td></td></td></td></tr> <tr><td><td><td></td></td></td></tr> </table> </body> </html> Copy after login This is a simple table with three rows and three columns, as shown in the picture:
For many people who are new to HTML, table
The above is the detailed content of How to make the border of html table? HTML table creation and examples. For more information, please follow other related articles on the PHP Chinese website!
Previous article:How to use the ins tag to insert text and the del tag to delete text together in HTML? (with examples)
Next article:How to implement html background navigation iframe click to change url (code)
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Latest Issues
Retrieve nested related values in mysql
I'm trying to retrieve related values based on multiple entries in a database. I'm very ...
From 2024-04-04 17:29:06
0
2
365
Related Topics
More>
|