Solved

<b>sathish</b> is not working in HTMl page

Posted on 2014-11-26
5
170 Views
Last Modified: 2014-11-26
Hi ,

for e surity purpose i escape the spl char into symbol
so <b>sathish </b> will changed as >&lt;b&gt;sathish&lt;/b&gt;

if you print in  html file

input                                                                  Output
<b>sathish </b>                                              sathish
   &lt;b&gt;sathish&lt;/b&gt;                      <b>sathish </b>            why its not printing with bold ????
0
Comment
  • 3
  • 2
5 Comments
 
LVL 9

Accepted Solution

by:
Brian Tao earned 500 total points
ID: 40466345
Because they are literal strings and not HTML tags.
0
 
LVL 20

Author Comment

by:Sathish David Kumar N
ID: 40466394
then what i need to do ??
0
 
LVL 9

Expert Comment

by:Brian Tao
ID: 40466555
By combining your multiple posts, I guess you're trying to strip all the tags except <b> and </b> (and actually you also need to keep the <br> for line breaks).  Why not simply tell us what you're trying to achieve instead of asking a javascript question which would not solve your problem?
0
 
LVL 9

Expert Comment

by:Brian Tao
ID: 40466558
Maybe by providing the input string and the expected output?
0
 
LVL 20

Author Closing Comment

by:Sathish David Kumar N
ID: 40466579
Thanks for time and ur answer  I solved myslef
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question