Web Wiz - Solar Powered Eco Web Hosting

  New Posts New Posts RSS Feed - Correct Html code help
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Correct Html code help

 Post Reply Post Reply
Author
Paul_T View Drop Down
Groupie
Groupie
Avatar

Joined: 14 September 2010
Status: Offline
Points: 72
Post Options Post Options   Thanks (0) Thanks(0)   Quote Paul_T Quote  Post ReplyReply Direct Link To This Post Topic: Correct Html code help
    Posted: 27 March 2014 at 2:06pm
Hi, just searched online to find noarchive code for googlebots.

Is it: <meta name="googlebot" content="noarchive">

Or:
<meta name="googlebot" content="noarchive" />

Or does it not matter?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9791
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 27 March 2014 at 2:22pm
No archive, is this like noindex?
Back to Top
Paul_T View Drop Down
Groupie
Groupie
Avatar

Joined: 14 September 2010
Status: Offline
Points: 72
Post Options Post Options   Thanks (0) Thanks(0)   Quote Paul_T Quote  Post ReplyReply Direct Link To This Post Posted: 27 March 2014 at 2:26pm
Yeah similar it stops google putting pages in Cache, but does it end with > or /> because I have seen different versions and want to know if it matters?
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 27 March 2014 at 3:01pm
Whether it ends in a / or not depends on your version of HTML.

/ is only used if it is XHTML. If it's HTML5 then you wouldn't include the /

What is your DOCTYPE?
S2H.co.uk - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
Back to Top
Paul_T View Drop Down
Groupie
Groupie
Avatar

Joined: 14 September 2010
Status: Offline
Points: 72
Post Options Post Options   Thanks (0) Thanks(0)   Quote Paul_T Quote  Post ReplyReply Direct Link To This Post Posted: 27 March 2014 at 3:09pm
Hi Scotty, just keeped looking and found / is for xhtml, i'm using webwiz forum 10.12 so I used html version. Thanks for help.
Back to Top
adamcruz View Drop Down
Newbie
Newbie


Joined: 29 November 2014
Location: India
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote adamcruz Quote  Post ReplyReply Direct Link To This Post Posted: 03 December 2014 at 5:19am
It depends on the version of HTML , Both are correct whether it ends with " / " or without slash. one is used in XHTML and another we can use in HTML or HTML 5.
Back to Top
MEOWPLATES View Drop Down
Newbie
Newbie


Joined: 08 May 2015
Location: Yorkshire, UK
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote MEOWPLATES Quote  Post ReplyReply Direct Link To This Post Posted: 08 May 2015 at 6:45pm
If you're ever in doubt just validate your HTML, it'll pick up the DOCTYPE and tell you if you need it or not! :) Same for img tags! 

https://jigsaw.w3.org/css-validator/ 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.07
Copyright ©2001-2024 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Policy

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2024 Web Wiz Ltd. All rights reserved.