Live Chat Icon For mobile
Live Chat Icon

How to specify a line break in a Label’s Text?

Platform: ASP.NET| Category: Miscellaneous

Use the ‘<br>’ tag to specify line breaks. For example:

VB.NET


Label1.Text = '<sometag1>' + '<br>' + '<sometag1>'

C#


Label1.Text = '<sometag1>' + '<br>' + '<sometag1>';

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.