Posts

Showing posts from October 13, 2019

HTML Frameset (i-frame)

Image
NOTE :- Put the frameset code in between opening and closing tag of Head  To get above output copy code and run in google chrome or download file frome below link <!DOCTYPE html> <html> <head> <frameset cols="25%,50%,25%"> <frame src="https://ljtians.blogspot.com/p/c-prg.html" border=2> <frame src="https://ljtians.blogspot.com/"> <frame src="https://ljtians.blogspot.com/p/html.html"> </frameset> </head> <body> </body> </html> Click here to download HTML file..

All Elemnts of Form with attributes

Image
Code for Above Output : <!doctype html> <html> <head> <title>HTML Form</title> <style> </style> </head> <body> <form> <table border="1" cellpadding=5 cellspacing=0 align="center" bgcolor=white> <tr> <td>Text box</td>    <td><input type=text name="fname"></td> </tr> <tr> <td title="This is textarea">Textarea</td> <td><textarea name="add" placeholder="this is area"></textarea></td> </tr> <tr> <td>Radio Button</td> <td> <input type=radio name=gen value=m checked>Male <input type=radio name=gen value=f>female </td> </tr> <tr> <td>Email</td> <td><input type=email name="mail" autofocus></td> </tr> <tr> <td>Password</td> ...

Table Excersice 2 solution (only 4, 5 tables which looks hard)

1. Create the HTML table for the following:      A B C D E F G H S I J K L M N O P Q R T Ans ) <!doctype html> <html> <head> <title>Assignment 1</title> <style> table tr { text-align:center; vertical-align:bottom; } </style> </head> <body> <table height=250 width=500 cellspacing=0 border=1> <tr> <td>A</td> <td>B</td> <td colspan=4>C</td> </tr> <tr> <td>D</td> <td colspan=2>E</td> <td>F</td> <td>G</td> <td>H</td> </tr> <tr> <td rowspan=3>S</td> <td>I</td> <td>J</td> <td>K</td> <td>L</td> <td>M</td> </tr> <tr> <td>...

Iamge Map

Image
Q.1 Draw a Picture in paint and link all parts with hotspot link (Image map) Image :  To Link Above image with image-map the code is : <!DOCTYPE html> <html> <body> <img src="imagemap.png" alt="does not support" usemap="#smile"> <map name="smile"> <area shape="circle" coords="245,265,50" href="nana.jpg" alt="Left Eye" > <area shape="circle" coords="455,260,50" href="nana.jpg" alt="Right Eye"> <area shape="rect" coords="207,415,501,489" href="nana.jpg" alt="smile"> </map> </body> </html> <!-- Note this You to put your own image and change path in href attribute --> Click here to download html file

Important programs for IPLC Practical Exam (Only unit 1,2,3)

Important note :  Are bhai o aa je imp che ae last time je je practical ma phuchya hata and je C language na basic ma important programs hoy che je frequently phuchay che ae me alag kadhya che mane kai pan aagad thi college mathi k koi senior jode thi koi j information madi nathi thank you best of luck 1) Accept any three numbers and find their squares and cubes. Ans : #include<stdio.h> #include<conio.h> void main() { int i,max=0,n,num; clrscr(); printf("Enter how many number you want to compare  = "); scanf("%d",&n); for(i=1;i<=n;i++) { printf("Enter num %d = ",i); scanf("%d",&num); if(i==1) {max=num;} if(num>max) { max=num; } } printf("\n Max = %d",max); getch(); } Click here for download C file. 2) Write a program to store and interchange two numbers in variables a and b.(Also called swapping) Ans : #include<stdio.h> #include<conio.h...