"; 2. You can directly not set the border attribute for the table tag, the syntax is " Table content
"."/> "; 2. You can directly not set the border attribute for the table tag, the syntax is " Table content
".">

Home>Article>Web Front-end> How to make table lines invisible in html5

How to make table lines invisible in html5

WBOY
WBOY Original
2022-03-25 14:05:51 2623browse

方法:1、利用“border-style”和style属性,语法为“

”;2、可直接不给table标签设置border属性,语法为“
表格内容
”。

How to make table lines invisible in html5

本教程操作环境:windows10系统、HTML5版、Dell G3电脑。

html5怎么让表格线看不见

方法一:

利用border-style属性,border-style属性设置一个元素的四个边框的样式。此属性可以有一到四个值。

示例如下:

   123 
Cell A Cell B
Cell c Cell d

输出结果:

How to make table lines invisible in html5

方法二:

不给table元素设置border属性

示例如下:

  
Month Savings
January $100

输出结果:

How to make table lines invisible in html5

推荐教程:《html视频教程

The above is the detailed content of How to make table lines invisible in html5. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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