Click here to Skip to main content
15,909,625 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
This is appear in the text-area in the page

<font size="2" face="Arial">تسري أحكام هذا القانون على التجار، وعلى جميع الأعمال التجارية التي يقوم بها أي شخص ولو كان غير تاجر</font>

It should appear like this

تسري أحكام هذا القانون على التجار، وعلى جميع الأعمال التجارية التي يقوم بها أي شخص ولو كان غير تاجر

what is the problem or what should i write in my code to prevent the font style from appearing
Posted

1 solution

As far as I understand, you are trying to assign the text to TextArea. You should have something like a TextEditor or RichText Box for this. That can easily understand this.

Normal TextArea can't understand and add style to this.
 
Share this answer
 
Comments
tranesyasd 10-Feb-15 0:28am    
i did this but when i change the style of font in texteditor the font tag appear.
the font style should change without tags
This should not happen. Please dug more and see what is the exact issue.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900