Dab Tsi Yog Java Tsab Ntawv

Cov txheej txheem:

Dab Tsi Yog Java Tsab Ntawv
Dab Tsi Yog Java Tsab Ntawv

Video: Dab Tsi Yog Java Tsab Ntawv

Video: Dab Tsi Yog Java Tsab Ntawv
Video: Dej Sab Si (Maiv Ntxawm Tsab) - Tsab Ntawv - 2011 2024, Hlis ntuj nqeg
Anonim

Java Script yog cov lus sau ua lus uas txhim kho qhov zoo thiab saib ntawm cov nplooj ntawv web thiab lawv kev ua haujlwm. Koj tuaj yeem sau cov ntawv sau hauv txhua cov ntawv nyeem kab lus, thiab saib nws hauv qhov browser uas muaj peev xwm los ua cov ntawv sau.

cov neeg ua haujlwm hauv chaw ua haujlwm ntawm lub rooj computer
cov neeg ua haujlwm hauv chaw ua haujlwm ntawm lub rooj computer

JavaScript yog ib hom lus tshwj xeeb los qhia ua qauv. Nws tuaj yeem tso rau hauv cov html-code ntawm cov nplooj ntawv web, yog li nce kev ua haujlwm ntawm lub xaib. Cov tsab ntawv tso cai rau cov tsim tawm ntawm ntau cov browsers los ua cov nplooj sib cuam tshuam, yog li cov lus yooj yim thiab ua haujlwm no tau dhau los ua neeg nyiam thiab nrov dua txhua hnub.

Java tsab ntawv yog suav hais tias yog ib qho ntawm cov lus programming yooj yim, feem ntau vim nws zoo sib xws rau Java, uas tau txiav txim siab thawj ntu ntawm nws lub npe. Lub architecture ntawm cov software software no muaj ntau lub ntsej muag, uas feem ntau vim nws qhov zoo sib xws nrog lwm cov lus, thiab qhov thib ob, rau nws daim ntawv thov hauv kev coj ua. Nws tsis tuaj yeem ua kom tsis nco qab cov khoom ntiag tug ntawm lub cim xeeb, uas tuaj yeem tswj tau zoo, nrog rau kev nyeem ntawv sib txawv los ntawm nws cov hom, txheej txheem ua ntej thiab muaj cov haujlwm ua tau pom tias yog khoom ntawm thawj chav kawm.

Dab tsi JavaScript tso cai

Java tsab ntawv tso cai rau koj los tsim cov nplooj ntawv sib tham zoo nkauj, uas yog tsis yooj yim sua kom ua hauv cov ntshiab html lus. Raws li txoj cai, kev ua tiav ntawm cov ntawv sau yog ua ntej los ntawm txhua tus neeg siv kev ua: txhaj, hovering, thiab lwm yam. Lub lag luam tiav ntawm cov lus muab pib thaum lub vev xaib thauj khoom tiav. Koj tuaj yeem sau Java ntawv sau siv cov lus kho cov ntawv nyeem. Koj tuaj yeem pom dab tsi koj tau sau nyob rau hauv qhov browser muaj peev xwm ua cov ntawv sau. Peb tab tom tham txog Netscape Navigator (pib txij xyoo 2) thiab Microsoft Internet Explorer (pib txij xyoo 3).

Txij li thaum ob qho ntawm cov browsers no tau dhau los mus, yuav luag txhua tus neeg siv pib ua haujlwm nrog hom lus programming no, txhim kho cov ntsej muag hauv lub vev xaib thiab cov haujlwm. Los ntawm txoj kev, ntawv sau kuj yuav pom txawv nyob rau hauv browsers. Feem ntau ntawm Java cov ntawv uas tuaj yeem rub tawm hauv Is Taws Nem tsis pub dawb txhawb nqa los ntawm Opera.

Yuav ua li cas tso cov ntawv tiav tiav rau hauv lwm daim ntawv

Nws yog qhov tsim nyog los tsim cov nplooj ntawv hauv txhua cov ntawv nyeem kho thiab khaws nws. Tom ntej no, rub tawm Java cov ntawv npaj sau thiab muab tso rau ntawm nplooj ntawv no. Khaws hauv kab ntawv qub li.html Tam sim no koj xav tau muab cov kab txuas JavaScript rau nplooj ntawv html. Txhawm rau ua qhov no, koj yuav tsum tau ua txoj haujlwm nkag mus hauv cov ntawv HTML.

Cov ntawv sau sau ua hom lus ntawm tsab ntawv no? tuaj yeem tso rau ntawm nplooj ntawv html nws tus kheej ntawm cov cim npe ntawm tib lub npe. Tegu

Pom zoo: