468,550 Members | 2,086 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,550 developers. It's quick & easy.

Help - Add additional meta tags using JS

Hi there I have documents that I want to automatically add additional meta
tags to. The documents already have some meta tags and I want to keep them
all together, so I want to add my new meta tags to the end of the existing
ones... can someone help me out with a script to do this... example below.

<head>
<title>The Document Title</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="discription" content="this documents discription">
<meta name="keywords" content="important,stuff">
<meta name="dc.subject" content="important,stuff">
<-------------------------------------------- I want to add more meta tags
at this point after the current meta tags
<link href="styles.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
script stuff here
//-->
</script>
</head>

Thanks for your help in advance

--
Cheers,
Darren
Jul 20 '05 #1
1 2366
This has been answered pls disregard.

"Darren Blackley" <da*************@hotmail.com> wrote in message
news:bi**********@ftp.curtin.edu.au...
Hi there I have documents that I want to automatically add additional meta
tags to. The documents already have some meta tags and I want to keep them
all together, so I want to add my new meta tags to the end of the existing
ones... can someone help me out with a script to do this... example below.

<head>
<title>The Document Title</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="discription" content="this documents discription">
<meta name="keywords" content="important,stuff">
<meta name="dc.subject" content="important,stuff">
<-------------------------------------------- I want to add more meta tags
at this point after the current meta tags
<link href="styles.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
script stuff here
//-->
</script>
</head>

Thanks for your help in advance

--
Cheers,
Darren

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Cezary | last post: by
2 posts views Thread by Barbara White | last post: by
19 posts views Thread by Christian Hvid | last post: by
24 posts views Thread by Day Bird Loft | last post: by
23 posts views Thread by Fast Eddie | last post: by
4 posts views Thread by Phil | last post: by
4 posts views Thread by clintonG | last post: by
16 posts views Thread by Edward | last post: by
3 posts views Thread by Jordan S. | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by UniDue | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.