Printer Friendly Version Print this thread
Email this thread to a friend eMail this thread to a friend
  • Choosing meta descriptions for eclectic sites (In: General Search Engine Optimization)
  • olddomains.net (In: Site Review Please!)
  • Featured Web Site Template

    Hundreds More at Free Site Templates.com!

    Web Site Partners
    Sponsored Links
    Jet City Software
     
    Whos Here ?
    Reflects user activity within the last 5 minutes
    Moderator(s): Prowler, jcokos
    Member Message

    1234569891
    Joined: Sep 21, 2007
    # Posts: 1

    View the profile for 1234569891 Send 1234569891 a private message

    Posted: 2007-Sep-21 10:14
    Edit Message Delete Message Reply to this message

    The following code shows how to add meta tags to a page programmatically.

    private void CreateMetaTags()
    {


    HtmlMeta hm = new HtmlMeta();

    HtmlHead head = (HtmlHead)Page.Header;

    hm.Name = "Keywords";
    hm.Content = "C#, Csharp, C-sharp, .NET";
    head.Controls.Add(hm);

    }

    Similarly, it helps you in adding multiple tags.

    [ Message was edited by: JimBot 09/21/2007 04:47 am ... Reason: Link Drop removed ]




    You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
    1. You have not yet logged in, or registered properly as a member
    2. You are a member, but no longer have posting rights.
    3. This is a private forum, for which you do not have permissions.

    If you are a recent member, it's possible that you simply have not yet confirmed your account. Please check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions contained within.

    If you cannot find this message, click here to Re-Send it.

    If you are still experiencing problem, please read the Login Assistance Article for some advice on what may be causing your login not to work properly.

    Switch to Advanced Editor and ... Create a New Topic or Reply to this Thread

    New posts Forum is locked
    © 1995  ·  iWeb, Inc  ·  DBA JimWorld Productions