JavaScript Scripts





Español Français 中文 Deutsch Portuguese Japanese nederlands
   
 
Free Java Script Codes
Javascript List All
Slide Show Slide Show
Ad Display Ad Display
Image Effect Image Effect
Animated Image Effects Animated Image Effects
Form Validation Form Validation
Color Picker Tool Color Picker Tool
Formatting Forms Formatting Forms
Select All Select All
Dynamic Form Select Dynamic Form select
Dynamic Color Dynamic Color
Calendar Script Calendar
Textbox Counter Textbox Counter
Alphanumeric Alphanumeric
Date Time Script Date & Time
Stop Watch Script Stop Watch script
Delete Repeated Values Delete Repeated Values
Pagination Pagination
Random Generator Random Generator
Animated Text Animated Text
Cursor Position Cursor Position
User Info Window / User Info
Security Security / Authenticate
Bookmark Bookmark
Mouse Effects Mouse Effects
Title Bar Title Bar
Status Bar Status Bar
Country List Country List
Free Games Free Games
Calculators Calculators
 




Meta Tags Generator


About
Meta Tags Generator creates a well formated meta tags for your website with the entered values.


Features
a) The tag provides metadata about the HTML document.
b) Meta tags are used to improve search engine indexing, select character sets, etc.
c) Please fill in the necessary information into the form and click on "Generate Meta Tags".
d) Cut and paste the meta tags displayed into your HTML source code.

Preview

Meta Tags Generator

Description:(separated by space)*
Keywords:(separated by commas)*
Author:
Generator:
Copyright:(eg:&copy,http://example.com)
Robots:
Character Set:
Cache:
Language:
Refresh To:(eg:http://example.com)After:Secs
Expires:(eg:Sat, 09 Oct 2010 04:12:01 GMT)



Code
Javascript Code
<!-- Script by hscripts.com -->
<script type="text/javascript">
function metatag_maker(){
var des=document.getElementById("description").value;
var keywo=document.getElementById("keywords").value;
var auth=document.getElementById("author").value;
var generat=document.getElementById("generator").value;
var copyrigh=document.getElementById("copyright").value;
var robott=document.frm.robott[document.frm.robott.selectedIndex].value;
var charsett=document.frm.charsett[document.frm.charsett.selectedIndex].value;
var cach=document.frm.cach[document.frm.cach.selectedIndex].value;
var lang=document.frm.lang[document.frm.lang.selectedIndex].value;
var url=document.getElementById("urll").value;
var sec=document.getElementById("sec").value;
var expir=document.getElementById("expires").value;
var meta='<meta name="description" content="'+des+'">\n';
meta+='<meta name="keywords" content="'+keywo+'">\n';
if(auth!="")
meta+='<meta name="author" content="'+auth+'">\n';
if(generat!="")
meta+='<meta name="generator" content="'+generat+'">\n';
if(copyrigh!="")
meta+='<meta name="copyright" content="'+copyrigh+'">\n';
if(robott!="")
meta+='<meta name="robots" content="'+robott+'">\n';
if(charsett!="")
meta+='<meta http-equiv="content-type" content="text/html;charset='+charsett+'">\n';
if(expir!="")
meta+='<meta http-equiv="expires" content="'+expir+'">\n';
if(cach!="")
meta+='<meta http-equiv="cache-control" content="'+cach+'">\n';
if(lang!="")
meta+='<meta http-equiv="content-language" content="'+lang+'">\n';
if(url!="" && sec!="")
meta+='<meta http-equiv="refresh" content="'+sec+';'+url+'">\n';
document.getElementById("metatag").value=meta;	
}
function clear_all()
{
 document.getElementById("description").value="";
 document.getElementById("keywords").value="";
 document.getElementById("author").value="";
 document.getElementById("generator").value="";
 document.getElementById("copyright").value="";
 document.getElementById("urll").value="";
 document.getElementById("sec").value="";
 document.getElementById("expires").value="";
 document.getElementById("metatag").value="";
 document.getElementById("description").focus();
}
function ctck()
{
     var sds = document.getElementById("dum");
     if(sds == null){
        alert("You are using a free package.\n You are not allowed to remove the tag.\n");
     }
     var sdss = document.getElementById("dumdiv");
     if(sdss == null){
         alert("You are using a free package.\n You are not allowed to remove the tag.\n");
     }
}
document.onload ="ctck()";
</script>
<!-- Script by hscripts.com -->

HTML Code
<form name="frm">
<h3 align=center>Meta Tag Maker</h3>
<table style="border:1px solid green;padding:10px;" align=center>
<tr><td>Description:(separated by space)*</td><td><input type="text" id="description" size=70></td></tr>
<tr><td>Keywords:(separated by commas)*</td><td><input type="text" id="keywords" size=70></td></tr>
<tr><td>Author:</td><td><input type="text" id="author" size=25></td></tr>
<tr><td>Generator:</td><td><input type="text" id="generator" size=25></td></tr>
<tr><td>Copyright:(eg:&copy,http://example.com)</td><td><input type="text" id="copyright" size=25></td></tr>
<tr><td>Robots:</td><td><select name="robott">
        <script type="text/javascript">
        var robotsarr=new Array("","INDEX,FOLLOW","INDEX,NOFOLLOW","NOINDEX,FOLLOW","NOINDEX,NOFOLLOW");
        for(var i=0;i<robotsarr.length;i++)
          document.write("<option value=\""+robotsarr[i]+"\">"+robotsarr[i]+"</option>"); 
        </script>
        </select></td></tr>                    
<tr><td>Character Set:</td><td><select name="charsett">
        <script type="text/javascript">
        var charsetarr=new Array("","GB2312","US-ASCII","ISO-8859-1","ISO-8859-2","ISO-8859-3","ISO-8859-4","ISO-8859-5","ISO-8859-6", 
                                 "ISO-8859-7","ISO-8859-8","ISO-8859-9","ISO-2022-JP","ISO-2022-JP-2","ISO-2022-KR","UTF-8");
        for(var i=0;i<charsetarr.length;i++)
          document.write("<option value=\""+charsetarr[i]+"\">"+charsetarr[i]+"</option>");
        </script>
        </select></td></tr>
<tr><td>Cache:</td><td><select name="cach">
        <script type="text/javascript">
        var cachearr=new Array("","CACHE","NO-CACHE");
        for(var i=0;i<cachearr.length;i++)
          document.write("<option value=\""+cachearr[i]+"\">"+cachearr[i]+"</option>"); 
        </script>
        </select></td></tr>      
<tr><td>Language:</td><td><select name="lang">
        <script type="text/javascript">
        var langarr=new Array("","en","fr","ch","de","es","ja","ru");
        var lang1arr=new Array("","English","French","Chinese","German","Spanish","Japanese","Russian");
        for(var i=0;i<langarr.length;i++)
          document.write("<option value=\""+langarr[i]+"\">"+lang1arr[i]+"</option>"); 
        </script>
        </select></td></tr>   
<tr><td>Refresh To:(eg:http://example.com)</td><td><input type="text" id="urll" size=35> After:<input type="text" id="sec" size=4>Secs</td></tr>
<tr><td>Expires:(eg:Sat, 09 Oct 2010 04:12:01 GMT)</td><td><input type="text" id="expires" size=25></td></tr>
<tr><td colspan=2 align=center><input type="button" value="Create Meta Tags" onclick="metatag_maker();"><input type="button" value="Clear" onclick="clear_all()"></td></tr>
<tr><td colspan=2 align=center><textarea readonly id="metatag" disable rows=12 cols=100 scrollbar=no></textarea></td></tr>
</table>
</form>
<div style="font-size: 10px;color: #dadada;" id="dumdiv" align=center>
<a href="http://www.hscripts.com" id="dum" style="text-decoration:none;color: #dadada;">©h</a></div>

Release Date - 21-12-2010
Get free version without ©copyright link for just 5 price

For customization of this script or any script development, contact us at support@hscripts.com


Usage
a) Copy and paste the javascript code into your file.
b) Meta tags generator script will create meta tags for the values given.
c) It is vital to have well created meta tags because they can help increase your Search Engine Position.



License
- The javascript (misspelled as java script) is given under GPL License
- i.e. Free use for those who use the codes as it is.
- Free, if your modification does not remove our copyright information and links.
- Click Here for detailed license information.
- You can purchase the script if your requirements does not meet our GPL License terms.
Other Links

web hosting