How To Create Meta Tag Generator Tool using Javascripts




Hello friends ajj me apko btaunga ki kis parakar ham html and javascript ka use karke meta tag generator tool bana sakte hai.



1-sabse pehle aap ek index.html file create kar lijiye or wanha niche diya gya code paste kar dijiye.







Index.html-







<html>

<head>



<script language="JavaScript">







<!-- Begin

function create(form) {

  if (confirm("Are you sure?")) {

    form.story.value = " <!-- Copy all code --> \n" +

   " \n" +

  

      " \n\n";





    if (form.input2.value != "") {

      form.story.value +=" <b:if cond='data:blog.url == data:blog.homepageUrl'>      <meta NAME=\"Description\" CONTENT=\"" +

      form.input2.value + "\"/></b:if>\n";

    }



    if (form.input4.value != "") {

      form.story.value +="<meta NAME=\"Keywords\" CONTENT=\"" +

      form.input4.value + "\"/>\n";

    }

    if (form.input5.value != "") {

      form.story.value +="<meta NAME=\"Author\" CONTENT=\"" +

      form.input5.value + "\"/>\n";

  

    }

    if (form.input7.value != "") {

      form.story.value +="<meta NAME=\"Language\" CONTENT=\"" +

      form.input7.value + "\"/>\n";



    }





    if (form.input10.value != "") {

      form.story.value +="<meta NAME=\"Country\" CONTENT=\"" +

      form.input10.value + "\"/>\n";



    }









    if (form.input15.value != "") {

      form.story.value +="<meta NAME=\"Robots\" CONTENT=\"" +

      form.input15.options[form.input15.selectedIndex].value + "\"/>\n";

    }

  }

}

//  End -->

</script>



</head>







<body>



<div align="center">

  <center>

    <div align="left">

</div>

<table border="0" cellpadding="0" cellspacing="0" class="normal" style="width: 100%px;">



    <td>

<form>

      <div align="center">

<center>

<h1>JAVASCRIPT META TAG GENERATOR</h1>

<table border="0" cellpadding="1" class="normal">

<tr>

          <td>Description:</td>

          <td><input name="input2" size="20" type="text" /></td>

        </tr>

<tr>

          <td>Keywords:</td>

          <td><input name="input4" size="20" type="text" /></td>

        </tr>

<tr>

          <td>Author:</td>

          <td><input name="input5" size="20" type="text" /></td>

        </tr>

<tr>

      

      

          <td>Language:</td>

          <td><input name="input7" size="20" type="text" /></td>

        </tr>

<!-- Designer =

Webmaster -->

<tr>

        

         <td>Country:</td>

          <td><input name="input10" size="20" type="text" /></td>

        </tr>

<tr>

          <td>Robots:</td>

          <td><select name="input15" size="1">

            <option selected="" value="">Select One</option>

            <option value="All">All</option>

            <option value="None">None</option>

            <option value="Index">Index</option>

            <option value="No Index">No Index</option>

            <option value="Follow"> Follow</option>

            <option value="No Follow">No Follow</option>

          </select>

          </td>

        </tr>

</table>

</center>

</div><center>

<input onclick="create(this.form)" type="button" value="Genrate" /> <input br="" type="reset" value="Reset" /> <textarea cols="30" name="story" rows="4" wrap=""></textarea>





</form>

</td></table>

</center>

</div>

</body>







</div>


App demo niche diye gye link se check kar sakte ho


Meta Tag Generator With Javascript



thank you

Team Gajabwap Web In Hindi
Also Read-
Meta Tag Generator Tool Kaise Bnaye-With PHP

Previous
Next Post »

2 comments

Click here for comments
Anonymous
admin
15 July 2018 at 05:22 ×

hi sir how can i complete my site seo fully

Reply
avatar
gajabwap
admin
15 July 2018 at 07:33 ×

hello bro there are many task in seo please contact me my email is bhupenderkashyap122@gmail.com

send me your full website detail in my email id

Reply
avatar
Thanks for your comment