Welcome to TalkGraphics.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2010
    Posts
    12

    Default HTML code insertion

    when i add code in "Web properties/ HTML code (body) or (head) it shows up on my visible web page when i thought it would be invisible like it is for "Page description" or "Page keywords" what am i missing?

  2. #2
    Join Date
    Mar 2009
    Location
    England
    Posts
    2,044

    Default Re: HTML code insertion

    Hi Schmoop dog

    What code are you entering ?

  3. #3
    Join Date
    Sep 2010
    Posts
    12

    Default Re: HTML code insertion

    just typing in text at the moment with my web page opened up in google chrome, and while viewing my page source code side by side with Xara and i am typing things in the various input areas to see where and how they show up. (i have to tinker with things to see how they work so it sinks in) But i have added google analytics code before into another site that i have and never noticed it because my page was black, this new one im tinkering with has a white page and these things are showing up now. Take a look @ www.Landscapesforless.com

  4. #4

    Default Re: HTML code insertion

    just typing in text at the moment with my web page opened up in google chrome
    No, this isn't an area for text experiments

    The <head> tag is an area for all head elements. Plain text is NOT a head element, so placing plain text into the head section will result in exactly what you are seeing now, text.

    This is the wrong place for text.

    The most common <head> elements are;
    <title>
    <style>
    <base>
    <link>
    <meta>
    <script>
    <noscript>

    In web designer, you will mostly be using the HTML Code (head) entry field for scripts.
    For example, you may want to have a top page margin of 30 pixels, for this you would add this script to the Website HTML code (head)

    Code:
    <style>
    #xr_xr {
       margin-top: 30px;
    }
    </style>

  5. #5
    Join Date
    Dec 2000
    Location
    Hautes Pyrénées, France
    Posts
    5,083

    Default Re: HTML code insertion

    You put this into your <head> and it shows up on your page:

    Code:
    Text typed into HTML code (head) insertion box this is my HEAD text!!!
    You could have put this, and it would not have shown up:

    Code:
    <script type="text/javascript">Text typed into HTML code (head) insertion box this is my HEAD text!!!</script>
    Except, not being a script, it wouldn't do anything (except possibly display as an error in your status bar).

    The only thing you put into the head of a document is a <head> element.
    If someone tried to make me dig my own grave I would say No.
    They're going to kill me anyway and I'd love to die the way I lived:
    Avoiding Manual Labour.

 

 

Bookmarks

Posting Permissions

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