Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    May 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Where put in Meta tags, Description, Keywords in my HTML

    Hey ,

    Can anyone help me where to put my Meta tags, Description, Keywords.
    Here is my HTML. Thanks



    Code:
    <!doctype html>
    <html>
    <head>
        <meta charset="utf-8">
        <title>xxxxxxxxx</title>
        <link href="css/xxxx01.css" rel="stylesheet" type="text/css"/>
        <style>
        
    
        .container .sidebar1 .nav li {
            text-align: center;
        }
        .container .sidebar1 .nav li a {
            text-align: left;
        }
        
        </style>
    
        <link rel="shortcut icon" href="http://www.codingforums.com/images/favicon.ico" type="image/x-icon" />
    </head>
    <body>
    
    <div class="container">
    <div class="header"> <a href="index.html"><img src="http://www.codingforums.com/images/xxxx.jpg" alt="Alt-text"></a>
        
      <!-- end .header --></div>
      <div class="sidebar1">
        <ul class="nav">
          <li><a href="index.html" target="_self">xxxxx</a></li>
          <li><a href="kop_likes.html" target="_self">xxxx</a></li>
          <li><a href="hur_och_varfor.html" target="_self">Hur &amp; Varför ?</a></li>
          <li><a href="kontakta_oss.html" target="_self">Kontakta oss</a></li>
        </ul>
        
        <!-- end .sidebar1 --></div>
      <div class="content">
        <h1>xxxxxx</h1>
        <p>xxxxxxxxxxxxxxxxx</p>
        <p>&nbsp;</p>
        <p> <strong>Varför välja xxxxxxxxxx ?</strong></p>
        <ul>
          <li>xxxxxxxx!</li>
          <li>xxxxxxxx</li>
          <li>xxxxxxxxxxxx</u> xxxxxxxxx!         </li>
          <li>xxxxxxxxx</li>
          <li>xxxxxxxxxxx!    </li>
        </ul>
        <div align="left">
          <p>
            <video width="640" height="360" controls> 
              <source src="videos/video.mp4" type="video/mp4">
              <source src="videos/video.webm" type="video/webm">
              <source src="videos/video.swf" type="video/swf">
            </video>
          </p>
          <p>&nbsp;</p>
        </div>
      </div>
      <div class="footer">
        <p>
          <!-- end .footer --></p>
        Copyright @ 2014 xxxxxx
      </div>
    <!-- end .container --></div>
    </body>
    </html>
    Last edited by VIPStephan; 05-06-2014 at 06:31 PM. Reason: added code BB tags

  • #2
    Regular Coder COBOLdinosaur's Avatar
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    401
    Thanks
    2
    Thanked 30 Times in 30 Posts
    I generally put the right after the title tag. Though they really carry very little weight with the search engines. They will be a negative if you put in keywords that are not in the page. The primary weighting for search engines is the content and if that is not unique and of high quality, it will not matter how many keywords you stick in the meta tags.
    Last edited by COBOLdinosaur; 05-06-2014 at 05:29 PM.
    100% standards compliant code is 100% correct 100% of the time.
    one of my toys from my repository and perhaps some help getting help

    Cd&

  • #3
    New to the CF scene
    Join Date
    May 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ok i think i understand.
    Can u copy my html and put in it so i can se it.

    Regards Fredric

  • #4
    Regular Coder COBOLdinosaur's Avatar
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    401
    Thanks
    2
    Thanked 30 Times in 30 Posts
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>xxxxxxxxx</title>
    <meta name="description" content="description of the site" />
    <meta name="keywords" content="one, two, three, four,five" />
    <link href="css/xxxx01.css" rel="stylesheet" type="text/css"/>

    If you are trying to optimize for search this might help:
    http://coboldinosaur.com/pages/The_H...d_for_SEO.html
    Last edited by COBOLdinosaur; 05-06-2014 at 05:30 PM.
    100% standards compliant code is 100% correct 100% of the time.
    one of my toys from my repository and perhaps some help getting help

    Cd&


  •  

    Posting Permissions

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