Quantcast
Channel: Programming – Programming blog – website programming blog, blog on website programming .net, java , php and mor
Browsing all 21 articles
Browse latest View live

Giving Links In CSS

/* The Example1 will be having the font styles,colors and  font size for the content present in Example2. copy and paste the code of Example2 to get the output.*/ Example1.css body {...

View Article



Change Your Page Background Color Dynamically using Java Script

Following code is used to change a page color from your select option in select box. Copy and Paste following code in a simple HTML page. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0...

View Article

Program to insert Background Image

<html> <head> <style type="text/css"> body {background-image:url('systeuser/desktop/bc.jpg');}/*inserting background image*/ </style> </head> <body>...

View Article

Java Script for Mouse Events

<html> <head> <script type="text/javascript"> function mouseOver() { document.getElementById("b1").src ="b_blue.gif"; } function mouseOut() { document.getElementById("b1").src...

View Article

Switch Case in Java Script

<html> <body> <head> <title>Switch Case </title> </head> <body> <script type="text/javascript"> var d = new Date(); theDay=d.getDay(); switch (theDay) {...

View Article


External css

Steps: 1:Create new html file and copy link.html code and save it as link.html. 2.Create  new css file and copy external.css code and save it as external.css. 3.link.html will connect css externally....

View Article

To set an background Image and repeat the image Horizontally using CSS

<html> <head> <style type="text/css"> body { background-image:urlC:\Users\systemuser\Pictures\flower.jpg'); background-repeat:repeat-x; } </style> </head> <body>...

View Article

Creating Link Boxes in CSS

<html> <head> <style type="text/css"> a:link,a:visited //Styles to be applied in link Box { display:block; font-weight:bold; color:#FFFFFF; background-color:#98bf21; width:120px;...

View Article


Code to get Title and Link in WordPress RSS Feed using PHP

You would often want to display the RSS feed of your blog in your personalized home page or your professional page. This can be achieved, if you have basic knowledge on PHP and HTML. Just copy and...

View Article


Image may be NSFW.
Clik here to view.

Tutorial to get values from database on selection of dropdown in PHP

PHP Fetch Tutorial Fetching Data From Database on selection of dropdown value Step 1:  Get the list of countries from database and populate in drop-down. $ctry_qry = mysql_query(“SELECT * FROM...

View Article

Image may be NSFW.
Clik here to view.

How To Use Jquery Mutliselect Dropdown

I am using http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/  Samples here Initially it seemed tough to get it working as a beginner, but eventually I managed to successfully get it to...

View Article

Validation Using Javascript

 [php] <html> <head> <script type="text/javascript"> function vali() { if(document.myform.FirstName.value=="") { alert("Please enter the FirstName");...

View Article

How to Upload a image from HTML form using PHP?

[php] <?php if(isset($_REQUEST['sub'])) { $fileType = $_FILES['img']['type']; $fileSize = $_FILES['img']['size']; if($fileSize/1024 > ’2048′) { echo ‘Filesize is not correct it should be equal to...

View Article


PHP Sessions

Starting a PHP Session The session_start() function must appear BEFORE the <html> tag: [php] <?php session_start(); ?> <html> <body> </body> </html> [/php] The above...

View Article

Send an HTML Email Using PHP

PHP Mail Function: The mail() function allows you to send emails directly from a script. Syntax For E-mail:  mail($to,$subject,$message,$headers); [php] <?php $to = "someone@example.com,...

View Article


Image may be NSFW.
Clik here to view.

Simple Capcha using php

Capcha Code: Save this code as “capcha.php” [php] <?php session_start(); $text = rand(10000,99999); $_SESSION["vercode"] = $text; $height = 25; $width = 65; $image_p = imagecreate($width, $height);...

View Article

PHP Form Validation

<?php // define variables and set to empty values $nameError = $emailError= $genderError = $websiteError = “”; $name = $email = $gender = $comment = $website = “”; if ($_SERVER["REQUEST_METHOD"] ==...

View Article


HTML video Tag

The <video width=”300″ height=”150″> tag specifies video, such as a movie clip or other video streams. There are 3 supported video formats for the <video> element: MP4, WebM, and Ogg Normal...

View Article

PHP Functions

A PHP function is a block of statements that can be used repeatedly in a program. It is not executed when page is loaded, instead implemented when a function is called.   Function Syntax Function...

View Article

Image may be NSFW.
Clik here to view.

python 2020

In present day times, there are different sites that are made utilizing the Python programming language. Numerous famous combinations have planned and created fruitful, strong applications utilizing...

View Article
Browsing all 21 articles
Browse latest View live




Latest Images