dcsimg
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: VBScript
Expertise: Intermediate
May 30, 2003

WEBINAR:

On-Demand

Building the Right Environment to Support AI, Machine Learning and Deep Learning


A Shortcut to Writing Basic HTML Tags


<%@ LANGUAGE="VBSCRIPT" %>

<%

Function htmltemp()
template = "<HTML>"
template = template & "<TITLE><!-title-></TITLE>"
template = template & "<BODY>"
template = template & "<!-body->"
template = template & "</BODY>"
template = template & "</HTML>"
htmltemp = template
End Function

thetitle = "HTML Template"
thebody = "<CENTER> This is the template!</CENTER>"

template = htmltemp()
template = Replace(template, "<!-title->", thetitle)
template = Replace(template, "<!-body->", thebody)
Response.Write template


%>
Devington B.
 
Thanks for your registration, follow us on our social networks to keep up-to-date