Answers for "how limit characters in a p tag"

1

character limit html

<input type="text" id="username" name="username" maxlength="10">
Posted by: Guest on October-26-2021
1

text limit in html

<span style="
  display:inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 13ch;">
Lorem ipsum dolor sit amet
</span>
Posted by: Guest on October-28-2020

Browse Popular Code Answers by Language