Home>Article>Web Front-end> How to hide text in html
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.
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:
2. If you want to hide text that exceeds a certain boundary, use:
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!