Is there a way to display only a portion of a long paragraph and add "..." at the end in HTML?
For example, consider the following paragraph:
<div class="paragraph">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.</p>
</div>
If I want to show only the first few words like "Lorem ipsum dolor sit amet ...", how can I achieve that on a webpage?