954,152 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

ASP and HTML codes

shall i write ASP code in HTML code
have any code snippets
plss

sreein1986
Posting Whiz
306 posts since May 2008
Reputation Points: 12
Solved Threads: 34
 

Is this what u are looking for;

<input type="text" name="testField" id="testField" value="<%=someVar%>" />
Thirusha
Posting Whiz
357 posts since Mar 2008
Reputation Points: 36
Solved Threads: 57
 

What is the difference between ASP and HTML codes?

taramichael
Newbie Poster
11 posts since Jun 2008
Reputation Points: 10
Solved Threads: 0
 

what i am asking is shall write ASP code in HTML file
I have designed one HTML page and created one link also now i want how many member seeing that website
some body given to me code in ASP for visitors counting
So i want shall write that code in my HTML page

sreein1986
Posting Whiz
306 posts since May 2008
Reputation Points: 12
Solved Threads: 34
 

Well i dont think so, i could be wrong since i m not a genius asp programmer, but from what i understand, asp is server side code, and needs to be parsed by the server, so u have to create an asp page, that will have your asp code in it, and u can put html tags in that asp page, but not the other way around.


You could try this link:
http://www.asp-counter.co.uk/counting-active-visitors.asp

Thirusha
Posting Whiz
357 posts since Mar 2008
Reputation Points: 36
Solved Threads: 57
 

Ok it's good
but if write HTML code then is it working in ASP extension why because you are told me that ASP is server side code so i am asking
or is it asks any dot.net code

sreein1986
Posting Whiz
306 posts since May 2008
Reputation Points: 12
Solved Threads: 34
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You