Search
 
SCRIPT & CODE EXAMPLE
 

HTML

span limit text length

<style>
	.text {
  		display: block;
  		width: 100px;
  		overflow: hidden;
  		white-space: nowrap;
  		text-overflow: ellipsis;
	}
</style>
<span class="text">Hello world this is a long sentence</span>
Comment

PREVIOUS NEXT
Code Example
Html :: html inline comment 
Html :: spawn mob without ai 
Html :: add back4app 
Html :: html add image from remote source 
Html :: bootstrap 5 datalist example 
Html :: datalayer push 
Html :: html left chevron symbol 
Html :: share link to email 
Html :: bootstrap 5 dropdown 
Html :: html paragraph background color 
Html :: how to disable right clicking on video using html 
Html :: accept only numbers in textbox 
Html :: nuxt input image base64 
Html :: how to navigate to another page in html 
Html :: html color tomato hex 
Html :: bootstrap change font color of text 
Html :: html numeric keyboard 
Html :: how to redirect to gmail with a tag html 
Html :: e.target.value svelte 
Html :: ol list 
Html :: bootstrap input file 
Html :: how to make an input not focusable in html 
Html :: form multipart/form-data 
Html :: text limit in html 
Html :: info icon in html 
Html :: bootstrap 4 tooltip 
Html :: swiper js arrows 
Html :: link to the same page html 
Html :: html set character encoding 
Html :: default link color in html 
ADD CONTENT
Topic
Content
Source link
Name
1+8 =