Select Categories Below
Status: Closed Points: 25 Time: 11:11 - Jul 12, 2006
john2
I'm trying to give an example of html code on my page but everytime I write it in, the browser is obviously just reading the HTML and spitting it out as a display instead of just showing the code that I want to show. In short, how to I put something like <font face="arial"> as an example but then actually have it show up in the browser as the text <font face="arial">?
Categories:
Add Categories
When adding more than one category, separate them with commas.
Advertisement
rcastagna
Date:: Jul 12, 2006
Time:: 16:02
John, The "easy" (but sometimes tedious) way of doing this is by using the HTML substitue characters for the less-than and greater-than symbols. Using your example above, you would code it as follows: <font face="arial"> Depending on your needs, you could also use the HttpUtility.HtmlEncode available in .NET...this would come into play a bit more if you were fetching the strings from a database, or some other sort of "dynamic" store. Let me know if this helps... Ric Castagna
Date:: Jul 26, 2006
Time:: 14:03
Served my needs, thanks a lot.
Question Answered
This question has been closed, and points have been rewarded to the following experts:
You're welcome however to comment or give additional information or if you wish, you have the ability to write an Answer Summary for the Summary Area.
Answer this Question
New User
Email:
Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address
Registered User
Username:
Password:
Forgot Your Password?
Enter your email address below and we will resend your login information to you.
Login Information Sent
Questions
Thanks for your reply. Where are you located? Whic...
i need to change the color of select (arrow and th...
how to include html file in my html page
How to repair Internet Explorer 7 in WIndows Vista...
Is there a way to track the open rate for marketin...
hi. i'm looking for the easiest way to create an e...
You have 100 characters to use
Rank
Expert
Points
1.
1022
2.
928
3.
875
4.
240
5.
170
6.
125
7.
75
8.
9.
10.
Register today to share your knowledge with the community and be recognized and rewarded for your contributions.
Register Here
"Psst, Quomon is a great site. Pass it on." Tell a Friend | Link To Us | Save to Delicious | Digg it
Language Options
English:
Español:
Sponsors
Questions and Answers Software Real Estate Postcards Marketing Fulfillment