Results 1 to 2 of 2

Thread: <head>

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2014
    Posts
    169

    <head>

    where can i find this tag in asp
    <head>
    is this name changed in asp.net

  2. #2

    Re: <head>

    That's fairly straightforward.

    You can add a meta tag simply by coding it into your VBScript on the server side. For instance, consider:
    <%
    dim metaString
    metaString = "<meta name=""author"" content=""" & myName & """ />"
    %>

    Then in your <head> tag you can try...
    <%= metaString %>

    Obviously the code that defines the metaString in the first place must appear before the use of the variable.
    Last edited by bestellen; Sep 15th, 2015 at 01:26 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width