html tutorial - How to truncate long string with ellipsis using CSS - html5 - html code - html form
Answer: Use the CSS text-overflow property
CSS text-overflow property can be used together with the white-space and overflow properties to truncate or clip long text and place the dot-dot or ellipsis (...) at the end to determine the clipped text or indicate the user.