HTML Tutorial : img Tag

HTML Tutorial : img Tag In this post, I will show how does img tag works. Syntax <img  src=”image_address.jpg” alt=”image_name”&gt; Here img –  image tag src  attribute – address   of the image alt  attribute- alternative for  the image ………………………………………………………………….. Example src=”https://www.postnetwork.co/wp-content/uploads/2018/02/gplus.jpeg” alt=”googleplusimage” final image tag <img  src=”https://www.postnetwork.co/wp-content/uploads/2018/02/gplus.jpeg”  alt=”googleplusimage”> ———————————————– Output See Also: Include CSS in HTML

HTML Tutorial : img Tag Read More »

For Loop in PHP

For Loop in PHP Code Comment <?php //PHP opening tag for( $i=0; $i <= 20; $i++){ //First $i=0 is initialization $i <= 20 is condition check and $i++ is increment if($i%2==0){ //Check whether i is divisible by 2 if yes it is an even number echo ” This is an even number $i”; } }

For Loop in PHP Read More »

©Postnetwork-All rights reserved.