Solved

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

Posted on 2014-11-26
5
175 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Where is this content coming from? 4 40
Need help with a stick header please 12 30
Sending HTML Formatted Email from ASP.NET 2 58
SSL unsecure page mystery 17 47
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

752 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