0% found this document useful (0 votes)
51 views

HTML Javascript Programs

Here's html and javascript source code for beginners

Uploaded by

idreamofmomos
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
51 views

HTML Javascript Programs

Here's html and javascript source code for beginners

Uploaded by

idreamofmomos
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 19
(oo / wy wy \ hy . yf One y Ow TNL. Kocomeml vyleo ee 7 iv arta grenphe CP) J" Z hime Zhen’ ' < Bitey \A Simple He. reveal Z/HMED SS hak y | < bodys | te ferme Z sud ZH Hine &S Were con \ Kp» Neldome vo od Dosta ¢ Hr, Z E> v\ f st : :

Qs es The Arrsf- roprke , Hosa WIS Seba LA ve eee bag eph - | \ NYAS Zp Pt Mis 48 Second pore phe | a bata ‘2 Lire > | ofp: ree IS he haven’ {y\ tocleone go te Rots HTN ems , = i Bint alto P ee | Aud Wis ha Scakd pyre : : Crete Dan ATMA dp nront brotth. the Lit Allployed Lim wack, a WZ katy vr a SMe spe. Loummat L [Fits Zilker> : vont 7) body, Niall = REDD, h “ay cel 2 hel> TNE Ts! a TN NS mde uTML Ze» nee van ‘ iar ig £8 The shy - Hower 42) "i fs SHU Ry RO Speyoh— Zves , 8 Zp> Adelle bates feorct pereguepe ele » \ OS aaa bai 8 | le wen a ‘ | a ene @ Orite ere HIME ao Lorne bo yelo® and dirt tm fees ae “\ Soa A Zz boadk Ze A Simple Her Mocwwosst Hits Z. [heed> Z body BGO@LR= YELUYW TEXT ered S Znip HtNe enry th hanes 21D uy SP beelZome Xe Te old pe Z/e yi de mus 4 Te ast prop. fRaQar Ly th Steak para We \ M

AB athe Lip, Z [body S ot Peper”? op drier “g ALIGN GY Orit aw HTNR attrib.

    a r 2 amepeidette | o |hexd> © Z_ body | BaceLPR eyeLlon TBAT 2RAD ZAIS Hoe fs wen Uh ty fan Zins ZIP \ALIAN = canren>| ie ot te. Oop 4 HTML. Z1e> Ze> This 1s \ Thay fre raphe Ha werd oe Ais & Vo . Ztps Ais ae os the Py rd pongo Lie) Sandys . a ZL (her? 2 ) ofp, SHTML OS ere eng fester; prelegme, Te he Dora HTML Tus §s the fest D rey Pe dows Shook i : rs SHU ae P And ths is 4 Ses poragree. 7 a J Dts ae KTM Aorta 4 —— hte : Tena) : C tite A Sieeple Het downed 2 1tite> Ly [hend Libooy BG GR = yelrow Text 2 REDS es HS HTMe 18 aon: ear Loosen ZS ZAP. ALAN = CENTERS, Wel omete He Derd HTML SPS | BS ets is He fot pragerh 2an | Hoc nerter, Short 2+ is i ping ZPR ALiow= CEN TERD Aw fis | ZAR kita 2 CBNTER WIDTH = 10° $1262 Z Them ‘ b ‘ aa Home &s ‘ 2 : a an ae gy HTN Qs ts Sta Yost parngrek : pegs, JH wean Shot 2+ Rp Sela Drew pero Ae mot © o a Hrd Seu Lh in. \ ; Zo hek> 0 : yp Atte fa Sree pecne Ascent Zitind } ZL lheod. . LZ. body fea = yeLtow> ZHID> ATME rs verge ecg te Heaton EID f Zp ALIAn = centers ZB) lelemme ta Me wold aL HretesZ /BS2/P> ' ZpS LLD THE Cs oyte fest a, ZvU>S Hooters Short ot fs SHU A parepreh = Z vd Zted | Ze Align = Cente a> Lent pace = “Brene. Sceepe- mr! eae And terete} Seconal 1 pasenarey L,/ Part Sfoe= yz CLA=>= Reo ZPS ZUR ALIGN > CENTER WITH>100 S126 OO \ Z [bbdyS ZL [Ad mld ol! = HTL YS ch fe quclenmate te, Dd oy HTME Ths is He fick b : a poepre \ Hous short Ut fs BH ‘ded tan ete Bend porey ts > Butte aan AML Peepec ae otras Lit tag Khtml> | C head ' ite My frat Web page She ZOOL FP - bates Cores a vers Ms: D dataasy ~ LLes Men Beco sven = Z 7 booty Arye LZ Chil ofp: : ted Comep Don Corerpty . fale Dinos | 3. MS- gneel. < bo 4, Ms- werd, \ poy Bea reg Lenoreline dh 9) Ont gee HTM st fe tian he JN ~ & tet oft ee L14tS Pie paced 44 a “> MSP fee 5 Z/eL> eet ON Z_|boays Z_ thet fe). ° Compiler Cmapts , oo My- Diners « Ms _ sed a pan BAe ys : nite aw rom Ge pre’ hg bo patsriteal D vist ¢ ed Oncrotonad Hast Cor) #9. 2 ited Ma font va ee <1#ire> - Zip 8 vy ws Trp clasts wrth Zb£> ote ee ) Zu> Land sk 7 zZu»S pier Ask \ fh Zaloe> » d: : af Z Wve > vo ‘ey Say a 7 ahd : Lo aH Ore. 5 G L z 4. cpu iW 1 Qs Trpvt Lusters 3B OUdact Aout q, pe S. Phopry Lis (®) nthe an oe. code ar Ste ent ond , Superseniph Z Met LZ ted < tiny Aimy A Sinple. @ HTML Aeaewred® Y /otitc> Cheek Do Z bedy>d ZHIS HTML Sue ancl, Sup lomeds Cpuk LPS Me ale need H ZSua> 2 O AP> B2MCTLSUP LE svP>E JES Zpy Babe. fejads 26 SUPT LISLE peers Z Vbodys. ZhtelS eh HTML Subrowd Sup olanets , we alt arsenal Ho BaéMeot Bad aight Ci) Ove ani erety | ‘oodles pie catig. hyped th Zz kth > ‘ < ney Like kash 2 tes Seas eS LZ He Cours® S, ZH FSan Haee nop cp here> AIA < LESLA REE ea. pe \ NS Lp HAOFE "ADVANCE. Monk tt ZLtyép Heep qnenncas Me es dis TZives ; Z lbedyS o/pe Z_[htrl > COURSE S + Den 2 Phe pIPLoMA ° ADVAN CBD. COURSES , @B8 OD rite \ Ow pcre Coca, ED Listen oom Beret. a Lg 1 Z [hexd | z beay | 2 CENTERS S jaa, Se > “ahs \aarlge a ; weranrs "at wrorn 2" 6h POO ZICENTAS * We wihe jrourd al nectes pret F © esate. nular i oa Zep g Z HR WIDTHS FO7> S12 =F pos HhDE> Pleste Select ayy Omegnee gets gol f “polag Bis om ere ITS 20s Le Hip = Onopieg «hare Deere curse ZL bt> Laveen 2° open? Cia P eu PiRee 2 “Condath, Ahwl Cordget 24 OOO > Ze pennee 2 | cep thin hte Ss check J ZPULS oy deste LSAS ZH WIDTH > FOL Si2m=8 NosnadeS ~ gh beodys Yok [btn > dtu, < Mtr > & < tabe> ° Z Caption > The: Ariel Raffle, Les wlts Black brates 20TH t ¢ tE>aD> 3 1 TD> < TH>VETODO LIT La oLITBSYTA Z TR <7> 4d! TD> LTS L/TOLT F Lit LTRY, Zl beblu> | Rebel , ote: The Aorld Pape le Rests i Bleck Hassles Game Rod cowgd i “3 Areihe. it en ae ® ane HIN hoemmet thal CorBinuny aid\ ; © Tamera tee (1) “Oteite. are HTL ee Corberreh Bn & toh. ete dn aM! Collpaddige = 3 LZ taphone> Phe sexteome: Oop pecantss LIGpIS a 2TH Gurnee ZITH ZT H> Red cnumgd i TRST Piety ete Black Hawes LID, ZL TD Adige aWeostatyt LI TP Mage vat DN Contin. > STD Atign. = " Conta S'S LID a = = VGntaY 7 " ! aid gn > "Conmten.! a OD % Lit Migr : "Carlin" ED Migr =" Contor! D4 CIT R Ayn: "Cocty"S Zp tn oll Atiyr 2“Covtin "S 4.2 1d Magri" Cudin. Z/T@ 1g ; Te> vm Align 2" Corder!) 5 ZITD Mign = "Contr Lo \ ‘~ al Contr” 0 ofp: @ Donita aeo- ae Cocdim tr u . erie the ped. wen erent. Pe Mtindocky Len a a rie.’ wanton nCup hesnlty pe ff 4 .ff 23] Z tnt L Kaodk \ \ c ae ADMISerav Pini LZ /tite> Grad Zo bqcelr- 2 U Gun Lente Mb linet Y Vedi = 1 3! Align =(Coutt ri Bebe oe LTA ET Cunlind ZHI J-6.college ZT , ood Compritin Adrnee i> ZH®s epartmot Y cif LATS Aa hoki fed oeciers Peer aed 178) eT os, 27D mrethod = Mf post «S ny OO ¢ LP yd. Nowe Ay te ape Hent wf -4 a4 pares lnny Cpe St J Wnelongt ="30t> | SPDR. Arclolitess A othe applicant \ ws L bupt type 2 2 hot Name =YadhY Sire > 429! Led 3. Gurdon Manckinglin= Vat" ra Ap otty pe! aYyodloY Name = 1 Quen 4 Valin UM US LZ Laps type = 4 radio" Nome = 4 PEMY Value. es . Ferale Hes.b& Lopto> Hy ane Lophow> Prin Zoopla 7 Wier Zophto> oT. § Zi Seuust > Ss, Gwe P SB baklebes at ane DERE ioe ao gen Cen) ; 24 oe pope — X Commie’ value Oe pete ean aU peden> pane 2 BR» ; UCase? ut type = Cheeleborwe! meme ad ; wodme = page SMM LOR 4 Counc 1 Valee = ee

    stitle>simple javascript Program * Output: This is my first web page using javascript, 2) Write a Javascript code to display number from 1 to 20. Display of numbers Output: First 20 numbers are 0 1 2 3 4 5 6 7 8 9 10 1 12 13 14 1s 16 7 18 19 Write a javascript program to find the area of a rectangle. Area of a rectangle Output: Area of a rectangle The area is 36 ® 4. Write a program in Javascript to find the sum of first 10 integers. sum of integers javascript"> First 10 integers are"+"
    ") Output: First 10 integers are Osum is 0 1sumis1 2sum is 3 3 sum is 6 4 sum is 10 Ssum is 15 6 sum is 21 7 sum is 28 8 sum is 36 9sum is 45 5. Write a program to illustrate the conversion of an integer to string using javascript. conversion Output: This gives integer result 2112.5 This gives string result 12.521 This also gives string result 12.515 6. Write a program in javascript to convert a given string into uppercase letter. Uppercase This example accepts a visitors name and converts it to uppercase letter Type your name Output: This example accepts a visitors name and converts it to uppercase letter — Type your name here to test 6 7.Write a Javascript code to compute the factorial of a number.

    iter a number: "button" value="Compute table of factorials" onClick="response(this.form)">

    KR ‘

    Output: Please enter a number Here are the results I= 1 120 8.Write a javascript code to add two numbers. Javascript function Output: — Enter the first number: 32 Enter the second number: 21 First number=32 Second number=21 Result=53 9. Write a javascript code to submit your name and age in a form. ter the second number''+ “0"y; ys

    ");
    . . . Please enter your name: &rbsp  

    please enter your age:     &inbsp

    @ Output: Please enter your name : Please enter your age: [a a | Submi Hello Binod Prediction next year you will be 22 10.Write a javascript code to verify name,rollno,password of a student.
    Name:    & nbsp&inbsp   

    ean Password:   

    C) Roll:  &inbsp  &inbsp&inbsp     

    Output: Name BINOD Password bk Roll 1 ) { | 4 ; a Name BINOD Password bk Roll 121

You might also like