Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

asp - html templates

Status
Not open for further replies.

Mary10k

IS-IT--Management
Nov 8, 2001
103
US
Hello,
I have some asp pages that are quite generic looking and would like to spruce them up with a template downloaded from the web.

Does anyone know if HTML templates are compatible with ASP codes or are they tricky?
 
Well ASP is code set aside by <%ASP CODE%> tags. The final output of ASP is HTML. For example:

Code:
<html>
<title>This is HTML</title>
<head>
</head>
<body>
<H1>This is HTML</H1><br>
<H1><%=Response.Write "This is ASP"%></H1>
</body>
</html>

This is very simple but it has a combination of ASP and HTML. If you copy and paste the code into notepad, save it somename.asp on the server then you will be able to open that page and see how it works.

Simple answer to your question is yes HTML and ASP work hand in hand. You should be able to put ASP code inside any HTML template you buy and have it work. It will be tricky and probably, unless your really wanting to learn ASP and HTML hire a professional.

Let me know if you need more info.

Cassidy
 
(Slight fix, should be either <%="This is ASP"%> or <%Response.Write("This is ASP")%>.)
 
Your right. Sorry. That is what I get for not testing and just writing.

Sorry.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top