Home>Article>Web Front-end> How to hide text in html

How to hide text in html

藏色散人
藏色散人 Original
2021-06-08 10:20:00 6297browse

htmlMethods to hide text: 1. Hide all text through the "display:none;" attribute; 2. Hide text that exceeds a certain boundary through the "overflow:hidden;" attribute.

How to hide text in html

The operating environment of this article: windows7 system, HTML5 version, DELL G3 computer

How to hide text in html?

1. If you want to hide all text, use:

232342424

2. If you want to hide text that exceeds a certain boundary, use:

12423122344444444444444444

Recommended learning: "HTML video tutorial

The above is the detailed content of How to hide text in html. 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