Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

About the Usage of htmlencode and urlencode ?

Answer Posted / kumar

HTMLEncode: converts the data to valid HTML format using
HTML escape sequences.

eg: If you want to print "<b>hi</b>" on the screen, by
default <b> & </b> will be treated as HTML tags for bolding
the content. But HTMLEncode will use the escape sequences
and print <b> instead of treating that as a HTML tag.

UTLEncode: converts the string to valid URL format using
URL escape sequences for example %20 will be replaces if
you have a space in the data and

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define cookie.

1032


Can you explain autopostback?

1036


What is css and what is it used for?

1038


What is the difference between custom web user control and a custom web server control?

1025


Web API supports which protocol?

1423


What is the equivalent of date() and time() in asp.net?

1027


What does postback mean?

1074


What is the difference between custom controls and user controls?

987


What is the difference between a multi-layer and multi-tier applications?

1059


How many types of Cookies are available in ASP.NET?

1117


What is a proxy in web service?

1111


What is authentication in asp.net?

1116


5. What three Specific Job Positions do you target from Swatz Oils GROUP U.K?

2269


Who generates session id?

1019


What is redirectpermanent in asp.net?

1112