|
|
|
|
Thread title: [Freelancers] What meta tags do you add? |
|
|
|
|
|
Thread tools
Search this thread
Display Modes
|
|
07-05-2008, 07:56 AM
|
#1
|
Status: Member
Join date: Apr 2006
Location:
Expertise:
Software:
Posts: 249
|
[Freelancers] What meta tags do you add?
When your coding a design for a client, what meta tags do you always include or do you normally leave it up to the client to add the meta tags them self?
Just curious to see what the majority of people tend to do.
- Phaaze
|
|
07-05-2008, 08:27 AM
|
#2
|
Status: Member
Join date: Oct 2006
Location: Australia
Expertise:
Software:
Posts: 297
|
<title>Page Title</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="imagetoolbar" content="no" />
<link href="css/screen.css" media="screen,projection,tv" rel="stylesheet" type="text/css" />
<link href="css/print.css" media="print" rel="stylesheet" type="text/css" />
I personally don't use keywords, though lots of people still do. Even if they don't fill them in, I think leaving them blank is basically the same as not having them all.
|
|
07-05-2008, 10:00 AM
|
#3
|
Status: Member
Join date: Apr 2006
Location:
Expertise:
Software:
Posts: 249
|
Also, what are your thoughts on:
<meta name="robots" content="" />
<meta name="author" content="" />
<meta name="revisit-after" content=""/>
<meta http-equiv="X-UA-Compatible" content="" />
Basically, I'm trying to figure out what the majority of your clients request (if any)... Also, with IE8 still being in Beta; do you take advantage of the X-UA-Compatible meta tag to have it render in IE7?
Thanks,
- Phaaze
|
|
07-05-2008, 11:46 PM
|
#4
|
Status: Member
Join date: Oct 2006
Location: Australia
Expertise:
Software:
Posts: 297
|
Originally Posted by Phaaze
Also, what are your thoughts on:
<meta name="robots" content="" />
<meta name="author" content="" />
<meta name="revisit-after" content=""/>
<meta http-equiv="X-UA-Compatible" content="" />
Basically, I'm trying to figure out what the majority of your clients request (if any)... Also, with IE8 still being in Beta; do you take advantage of the X-UA-Compatible meta tag to have it render in IE7?
Thanks,
- Phaaze
|
I've admitedly been lazy in that regard - I will have to look into IE8. I think it'd be good to put, just to be on the safe side.
Revisit after is a waste, its ignored. No-one cares about the author (except the author themself ), and only put robots if you aren't putting "index,follow" because thats what it defaults as anyway (and being the coder, you wouldn't know so you'd have to put index,follow to be safe)
|
|
07-06-2008, 07:32 AM
|
#5
|
Status: Member
Join date: Apr 2006
Location:
Expertise:
Software:
Posts: 249
|
This one is a bit off topic, but does anyone use the xml version declaration?
<?xml version="1.0" encoding="UTF-8" ?>
I know it makes the page align left in IE, that can be worked around by using text-align though.
The only other question I have is rather I should be using 'application/xhtml+xml', 'text/html', 'application/xml', or 'text/xml' as the content type.
Currently, this is my default template that I always use.
HTML Code:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title></title>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<meta http-equiv="imagetoolbar" content="false" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="main.css" rel="stylesheet" type="text/css" media="screen,projection,tv" />
</head>
<body>
</body>
</html>
Thanks,
- Phaaze
|
|
07-06-2008, 08:04 AM
|
#6
|
Status: Member
Join date: Oct 2006
Location: Australia
Expertise:
Software:
Posts: 297
|
<?xml version="1.0" encoding="UTF-8" ?>
It usually puts IE into quirks mode. Best to scrap it.
And use 'text/html'
|
|
07-06-2008, 08:08 AM
|
#7
|
Status: Request a custom title
Join date: Dec 2005
Location: Arizona
Expertise:
Software:
Posts: 5,200
|
I don't get why people voluntarily use XHTML yet still declare it as text/html....
Anyway, the only meta tag I use is:
Code:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Most of the others are useless and superfluous (like keywords, description, etc.).
|
|
07-06-2008, 08:25 AM
|
#8
|
Status: Member
Join date: Oct 2006
Location: Australia
Expertise:
Software:
Posts: 297
|
Most of the others are useless and superfluous (like keywords, description, etc.)
|
Err, no.
The description is very important for getting people to click your site in search engine results.
That's SEO101 stuff.
I don't get why people voluntarily use XHTML yet still declare it as text/html....
|
So you don't get it, yet you do it... right.
|
|
07-06-2008, 08:33 AM
|
#9
|
Status: Member
Join date: Apr 2006
Location:
Expertise:
Software:
Posts: 249
|
Originally Posted by Andrew R
I don't get why people voluntarily use XHTML yet still declare it as text/html....
Anyway, the only meta tag I use is:
Code:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Most of the others are useless and superfluous (like keywords, description, etc.).
|
Erm, you just said you use text/html after saying you don't understand why people do... o.0
/confused.
- Phaaze
|
|
07-06-2008, 08:42 AM
|
#10
|
Status: Sin Binner
Join date: Jan 2007
Location:
Expertise:
Software:
Posts: 1,121
|
he does it, because its what he's used to probably, but doesn't understand why its text/html and not text/xhtml etc..
|
|
|
|
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|