I have one tag where the text in to that tag will come dynamically from database. Now can it possible to display the tag text in multiple lines? Ex: I want to display only 10 characters per line. If the dynamic text contain 29 characters then it should display in three lines, If the dynamic text contain only 9 characters then it should display in a single line.
Ex:
<a href="http://www.w3schools.com">Welcome to w3schools site</a>
For the above code I need output like,
Welcome to
w3schools
site
Any suggestions to display output as shown above?