Jump to content
Sign in to follow this  
14steve14

Strange / in headertags

Recommended Posts

I have search this forum, but had no luck in finding an answer to my problem.

 

When viewing the source of any page my headertags have a / before each closing > I have copied the top of a view source page. I hope someone could tell me why its there.

 

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"><html dir="LTR" lang="en"><head><title>Metal - Railwayscenics - - Rusty galvanised steel sheeting in 4mm ft OO scale</title><meta name="Description" content="Railwayscenics - - Rusty galvanised steel sheeting in 4mm ft OO scale" /><meta name="Keywords" content="Metal - Railwayscenics , Railwayscenics , *** No keywords found for this page: product_info.php?language=en , Rusty galvanised steel sheeting in 4mm ft OO scale" /><meta name="robots" content="noodp" /><meta name="slurp" content="noydir" /><meta name="robots" content="index, follow" /><link rel="canonical" href="http://www.railwayscenics.com/rusty-galvanised-steel-sheeting-scale-p-81.html" /><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

 

The slashes i have highlighted in red.

 

I only noticed this when i tried to validate the web site.

 

Anyone have a clue as to why they are there.


REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

That is how you close a short tag. The same as doing <br />. It is used for xhtml. If you want your page to validate in html remove those " / ".


Remember to backup database, files and pictures.

 

I have a problem for your solution

I reject your reality and substitute my own

My mind not only wanders, it sometimes leaves completely

The problem with the gene pool is that there is no lifeguard

Everyone’s entitled to my opinion

 

Links

Security

SSL Help

Basics for design V2.3+

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×