Google Adsense Secret Success E-book

Your Ad Here

Free E-book that this one contains the steps that must be done in order to successfully make money with Google Adsense. I think this ebook is very helpful for bloggers, especially for beginners like me.
Please try your free download below ...


Download Google Adsense Secret Success E-book


Read More - Google Adsense Secret Success E-book

Differences in HTML and XHTML

Your Ad Here

we often see the website once-website on the internet, how do we differentiate between a standard html document and xhtml?

one example, if we view the source website, the difference is fundamental:

  • HTML


  • <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>


  • The Tag can write in with letters large and small: <html>, <body>, <img>, <pre>, <br>

  • There are some tags that may be not closed: <li>, <br>



  • XHTML


  • <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
     


  • Tags must be written with small letters: <html>, <body>, <img>, <pre>

  • All tags must be closed, if a tag like the break, given signs / before the closing tag: <br />, /> <input, <img />

  • Read More - Differences in HTML and XHTML

    Making Random Images With JavaSript

    Your Ad Here

    Random Image with Javascript, Follow this step :

    1. The first step prepare an image hosting account, no matter where it's allowed.

    2. Then copy paste this script to your web.

    <script language="javascript">
    <!--
    var bdis = "<img src=\"";
    var edis = " style=\"border:none;\">";
    var rnumb = "";
    var img = "";

    rnumb += Math.floor(Math.random()*5);
    img = rnumb;

    if (img == "0") {document.write(bdis+ "http://www.imagehosting.com/picture0.jpg\"" +edis);}
    if (img == "1") {document.write(bdis+ "http://www.imagehosting.com/picture1.jpg\"" +edis);}
    if (img == "2") {document.write(bdis+ "http://www.imagehosting.com/picture2.jpg\"" +edis);}
    if (img == "3") {document.write(bdis+ "http://www.imagehosting.com/picture3.jpg\"" +edis);}
    if (img == "4") {document.write(bdis+ "http://www.imagehosting.com/picture4.jpg\"" +edis);}
    // -->
    </script>



    3. Save changes.

    The code is red it can be customized themselves. If you have 10 pictures will be displayed in turn the number "5" is replaced with "10". While the code can be added to own as much as possible, followed by a number from 0 to 9.

    Read More - Making Random Images With JavaSript