Skip to main content

Posts

What are Back Links? How to Build Quality and Relevant Links?

Back links are those which which points to your website i.e a website name www.example.com contains hyperlink and  if somebody clicks on it, your website will be opened. Furthermore, back links play an important role in SEO, actually founders of Google Larry Page and Sergey  Brin started with this parameter that a website rank will be high which has higher number of back links than a website  which has lower number of back links. However, people misused  this theory and started building back links from any websites and those sites which have quality content did not get ranked in SERP result. Moreover, Google updated the search algorithm and brought Panda, Penguin and Hummingbird  and that focus on quality an unique content.  On the contrary, instead of Google  search algorithms updates, quality and relevant back links have still importance.  

What does mean by quality back links?
Quality back links are  those links which points to your website and the website has quality and unique co…
Recent posts

HTML Tutorial : img Tag

In this post, I will show how does img tag works.

Syntax

<imgsrc="image_address.jpg" alt="image_name">

Here
img -  image tag
src  attribute - address   of the image 
alt  attribute- alternative for  the image
.............................................................................
Example


src="https://4.bp.blogspot.com/-aKWjUtXB3b4/Wh33H2KcOxI/AAAAAAAAAH4/-jpfsTpvjgkO5Ac50PAMN0tlhTwwNyAoQCLcBGAs/s1600/gplus.jpeg"

alt="googleplusimage"

final image tag
<img  src="https://4.bp.blogspot.com/-aKWjUtXB3b4/Wh33H2KcOxI/AAAAAAAAAH4/-jpfsTpvjgkO5Ac50PAMN0tlhTwwNyAoQCLcBGAs/s1600/gplus.jpeg"  alt="googleplusimage">
-----------------------------------------------
Output

Websites that Provide Social Media , Follow Button and Survey Widgets

When you build a website you may need social media like button, subscription button, survey widgets and follow buttons, to add this widgets. In  WordPress , you can easily install plugins but in Blogger you have to put JavaScript code provided by the websites listed below. In this post, I will  list the name of websites and if you want to add these widgets go on the website create an account and install the code that website provides you. Once you install and your website is verified  no need to do extra thing only choose a widget and activate it, and widget  will be automatically activated on your website.
1-www.getsitecontrol.com
2-www.addthis.com
3- www.sumo.com

How to Earn Money from the Internet?

Internet is full of opportunities and one can earn money from it. Furthermore, you have  to  work to get money it is not like gambling, this is the same as you work in office, the only difference is that this is time ,location and boss free job with no guarantee that how much you will earn in a day $1 or $10000 . Moreover, I have listed some ways that you can earn good amount  of money. 1- Make a Blog and put Google AdSense- If you love writing choose a niche, such as, fashion, travel, digital marketing, health, technology, programming and movies review which must be   of your interest, otherwise, you will do for some days and leave so be careful. Further, if you have chosen niche   and start blogging, then apply for AdSense, if your blog gets approved Google will show advertisements and you will get paid for clicks  and for watching advertisements. 2- Affiliate Marketing- The problem with AdSense that it may be banned due to copyright violation, or invalid activities or you did not ad…

Print Star Triangles in PHP

<?php
$nr=10; //Number of rows
for($i=1; $i<=$nr ; $i++) // Outer loop
{
for($j=1; $j<=$i; $j++) // Inner loop
{
echo "*";
}
echo "\n"; // Statement for new line
}

?>
//Program execution
// First iteration $i=1 and $j=1 i.e in first row * will print 1 time
// Second iteration for  $i=2, $j=1, $j=2 second row will print 2 times
// Third  iteration for  $i=3, $j=1, $j=2 $j=3 third row will print 3 times
--------------------------------------------------------
For program execution and output see the video

Sum of Natural Numbers in PHP

<?php
$n=5; // Initialises n to 10 for sum of natural no. up to 10
$sum=0;
for($i=1;$i<= $n; $i++)
{
$sum = $sum +$i; // This statement execution i will explain below
}
echo $sum;

?>

// First iteration, $sum=0 and $i=1 on the right side then left side $sum=1
// Second iteration, $sum=1 and $i=2 on the right side then left side $sum=3
//Third iteration  , $sum=3 and $i=3 on the right side then left side $sum=6
// Fourth iteration, $sum=6 and $i=4 on the right side then left side $sum=10
// Fourth iteration, $sum=10 and $i=5 on the right side then left side $sum=15
____________________________________
See the  video for output and program execution



How to Calculate Factorial in PHP?

<?php
$n=5; // For calculating factorial of 5
$fact=1; // Initialising value of fact to 1
for($i=1; $i<=$n; $i++)
{
$fact = $fact * $i; // This statement i will explain below
}
echo $fact;
?>

// Here  first time $i= 1 and $fact=1;   then $fact=1
// Second time $i=2 and $fact=1     then $fact=2
// Third time $i=3 and $fact=2   then $fact=6
// Fourth time $i=4 and $fact=6  then $fact=24
// Fifth time $i=5 and $fact=24  then $fact=120;
// Sixth time loop will not be executed
// And echo will print the value of fact
__________________________________
See the video for program execution and output


Switch Statement in PHP

<?php
$var=3; // Assings 1 to variable var
switch($var)// Switch statement that takes an argument
{
case 1:      // If the value of var is 1
echo " This is 1"; // this statement will be executed
break;     

case 2:      // If the value of var is 2
echo " This is 2"; // this statement will be executed
break;
case 3:      // If the value of var is 3
echo " This is 3"; // this statement will be executed
break;
}
_____________________________________________________________
For output and program execution see the video

Addition of Two Arrays in PHP

<?php  //PHP opening Tag
$odd_sequence= array(1,3,5,7,9,11); //This array contains six odd numbers
$even_sequence= array(2,4,6,8,10,12); // This array contains six even numbers
for($i=0; $i<=5;$i++)
{
$oe_sequence[$i]= $odd_sequence[$i]+$even_sequence[$i];// This statement //adds two arrays                                                                                                              //and assigns in oe_sequence array
}
for($i=0;$i<=5;$i++)
{
echo "$oe_sequence[$i]\n";                //Prints $oe_sequence value
                                                                    //here oe means odd even
}
?>
.......................................................................................
Program execution and and output you can see in  the video. 



Average of Three Numbers in PHP

<?php   //php opening tag
function average($a, $b, $c) // function name
{
$d=$a+$b+$c;      // addition of three numbers
return $d/3;       //  average functin returns
}
echo average(12, 9, 18); // calls average function with 3 arguments
?> // php closing tag



For Loop in PHP

CodeComment<?php//PHP opening tagfor( $i=0; $i <= 20; $i++){//First $i=0 is initialization $i <= 20 is condition check and $i++ is incrementif($i%2==0){                                    //Check whether i is divisible by 2 if yes it is an even numberecho " This is an even number $i"; } }// Prints even numbers?>PHP Closing tag ________________________________________

The output you can see in video


Print Even Numbers in PHP

<?php
$i = 1;  // Statement initialises i to 1
echo "This will print even numbers between 1 to 11"; // Prints the statement in double quotes
while($i <= 11) { // Check whether condition is true
if ( $i % 2==0) // Checks divisibility by two
    echo "$i</br>"; // Prints Even numbers
    $i++; // Increases value of i by 1
}
?>
___________________________
Output-
2
4
6
8
10
___________________________

Conditional Statements in PHP

<?php
$a =10;                  // This statement assigns 10 to a
 $b = 15;               //This statement assigns 15 to b
if( $a > $b)           // Checks whether  a is greater than b i. e. 10 > 15 here false
{
echo " a is greater than b";
} else                                         
echo " a is less than b"; // This statement will be executed.
?>
____________________________________
Out put-  a is less than b
____________________________________

What is Google Webmaster? How Do I Use It?

Google Webmaster or Search Console that helps you to look insight into your website, such as, how many URL are indexed, how many back links your website have, what is your website's average search position in an organic search, sitemap submission  and all other SEO tasks can search console can do. Further, many Bloggers do not use the tool, especially beginners there may be many reasons. In this tutorial, I will explain you each menu segment in concise manner, so that, even beginners can be master of webmaster and can up their rank higher in Google search.
Now  let us start the first step, if you open search console you will see add a property button and if you click on, a pop up window will be appeared in which you will submit your web address or mobile app address, and you will be asked to verify your ownership.

Once search console verifies your website you will be able to see in the list of websites or if you have submitted  the first time you will see only your website, cli…

What Languages Need To Develop A Website?

For website design, plenty of languages come in mind, like, HTML, JavaScript, CSS, PHP, ASP, Perl and many more. Furthermore, it depends upon your need that you want a website just for publishing articles, some videos and images or you want a website in which your clients can create account and you can keep their records in a database or you want an E-Commerce website to sell services and products online. In this article, i will describe a web architecture   and explain that which language fit in  the architecture.


In the figure, there is a typical web architecture that has three components Client(Browser), Server+Database(A Web Hosting Company) , I will try to make you understand by  user authentication example.
User Authentication Algorithm
First example is, when you Log in into Facebook account.
STEP-1. You open the www.facebook.com
Corresponding Action- Server sends a file which contains  HTML+CSS+JavaScript
STEP-2.  You fill the login form and submit
Corresponding Action- Browser sends…

Total Pageviews