When displaying long data in html, the data can be intercepted and displayed, and then the complete data will be displayed when the mouse rolls over. There is a good example below, you can refer to it. When displaying long data in HTML, the data can be intercepted and displayed, and the complete data can be displayed when the mouse rolls over.
For example, the following situation.
Implementation:
The code is as follows:
When more html displays data with a larger length Please pay attention to the PHP Chinese website for processing related articles!