No </HEAD> tag?

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch

cj550

Established Member
Impact
0
I had a site designed recently, since then I have been learning html- I looked at part of the code for my index page and there doesnt seem to be a </HEAD> tag present, could you look at the following code and tell me if i need to add the </HEAD> tag and if so where?


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>

<TITLE>Onbike Scotland | Best biking roads in Scotland | DVD footage</TITLE>
<META NAME="ROBOTS" content="INDEX,FOLLOW">
<meta name="Keywords"content="Biking Scotland, Scottish roads, Scottish Biking, A82, A87, A887, A890, A896, A832, A816, A939, A826, A827, Northern Scotland, Central Scotland, Southern Scotland">
<meta name="Description" content="DVD footage of the roads in Scotland. Excellent for biking.">
<meta name="Publisher" content="www.designit.com">
<META name="verify-v1" content="fI4fPRdLazADbRh5GKQ5tbg14ydePmddP1nCuY/ZMcI=" />
<meta name="Author" content="netspace">
<meta name="Revisit-after" content="5 days">
<meta name="Classification" content="non-profit">
<meta name="Distribution" content="Global">
<meta name="Rating" content="Safe for Kids">
<meta name="Copyright" content="ICRfm">
<meta name="Language" content="en-uk">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<LINK REL="SHORTCUT ICON" HREF="/Favicon.ico">
<script language="javascript">
window.status="Designed & Produced by Netspace Copyright 2006";
</script>
<style type="text/css">

thanks
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
You need to add the </HEAD> tag directly before the <BODY> tag.
 
0
Close
Actually, you don't need a <html>,</html>,<head>,</head>,<body> or </body> tag at all.
 
0
Close
0
Close
1
Close
Interesting... ...your site does have an <html> tag though, would it really still validate without it?

I stand corrected! :)
 
Last edited:
0
Close
Yeah, I use the start HTML tag for accessibility (setting the language of the page). It's an interesting thing that a LOT of people don't know
 
0
Close
I wonder if the search engines will be able to tell and if they will take point away if you don't have them. I guess a good question is if you don't include them will all your browsers still work properly? if anybody knows that question it would be helpful!
 
0
Close
First off, tags should be in lowercase, fyi ;)

As for your question, the </head> comes right before <body>
 
0
Close
0
Close
SE won't do anything, on the contrary, they might reward you for a smaller code size.
And browsers work properly since they automatically insert the head, html and body elements, it's in the specs, and because they insert the elements (not the tags), you can still style them with CSS, JS etc
 
0
Close
Appraise.net

We're social

Escrow.com
Spaceship
CryptoExchange.com
Domain Recover

NamePros updates

Quick replies: search, your most used replies, and more on every post
Quick replies are easier to find and use now. The quick reply menu has a search box. Type a few letters to find the reply you want. A...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back