Lub peev xwm saib mus rau hauv qhov code code ntawm nplooj ntawv web, tau txais los ntawm qhov browser teb rau kev thov rau tus neeg rau zaub mov, muaj nyob hauv yuav luag txhua qhov Internet browser. Nkag mus rau cov lus nug tau raug teeb tsa nyob rau hauv tib txoj kev, tab sis muaj ntau qhov sib txawv ntawm yuav ua li cas thiab nyob rau hauv daim ntawv twg koj yuav tsum tau nthuav tawm nrog qhov chaws.
Cov Lus Qhia
Kauj ruam 1
Hauv Mozilla FireFox browser, qhib "Saib" ntu hauv cov ntawv qhia zaub mov thiab nyem rau ntawm "Nplooj ntawv Cov Cai Code". Cov khoom tib yam tseem nyob hauv cov ntawv qhia zaub mov uas tshwm thaum koj nias ຂວາ rau nplooj ntawv. Koj tseem tuaj yeem siv CTRL + U ua ke tseem ceeb. Mozilla FireFox tsis siv cov kev pab cuam sab nraud - qhov chaws ntawm nplooj ntawv nrog syntax highlighting yuav qhib rau hauv nyias tus browser qhov rai.
Kauj ruam 2
Hauv Internet Explorer, nyem kab ntawv ntu ntawm cov ntawv qhia zaub mov thiab xaiv Kho kom raug nyob rau hauv Notepad. Hloov chaw ntawm lub npe hu ua Notepad, lwm qhov kev zov me nyuam yuav tau sau cia uas koj tau muab tso rau hauv qhov browser nqis los saib cov lej code. Thaum koj muaj cai nyem rau ntawm nplooj ntawv, ib lub ntsiab lus teb ntawv tuaj, uas tseem muaj ib qho khoom uas tso cai rau koj qhib cov lej ntawm nplooj ntawv hauv qhov kev pab cuam sab nraud - "Saib HTML code".
Kauj ruam 3
Hauv Opera browser, qhib cov ntawv qhia ua zaub mov, mus rau ntu "Nplooj Ntawv" thiab koj yuav xaiv tau "Cov lej qhov khoom" lossis cov khoom "Frame source code" hauv qhov "Cov Cuab Yeej Kev Tsim Kho". Cov luv luv CTRL + U thiab CTRL + Hloov + U tau xaiv rau qhov kev xaiv no, feem. Cov ntaub ntawv qhia ua noj ua ke cuam tshuam nrog txoj nyem rau ntawm nplooj ntawv kuj muaj cov khoom "Source Code". Opera qhib qhov chaw ntawm nplooj ntawv hauv qhov kev pab cuam sab nraud uas tau muab tso rau hauv OS lossis hauv qhov browser nqis los kho cov ntaub ntawv HTML.
Kauj ruam 4
Google Chrome browser, yam tsis muaj kev poob siab, muaj lub koom haum tshawb nrhiav tau zoo tshaj plaws. Los ntawm txoj cai-nyem rau ntawm nplooj ntawv, koj tuaj yeem xaiv "Saib nplooj ntawv nplooj ntawv" khoom thiab tom qab ntawd qhov chaw nrog syntax highlighting yuav qhib rau hauv nyias ib daim. Lossis koj tuaj yeem xaiv kab "Saib lub ntsiab lus" hauv tib lub tshuab raj thiab browser hauv tib qho kab ntawv yuav qhib ob kab lus ntxiv uas koj tuaj yeem tshawb xyuas HTML thiab CSS code ntawm ib qho keeb ntawm nplooj ntawv. Qhov browser yuav cuam tshuam rau txav tus cursor los ntawm kab ntawm cov kab, hais txog cov khoom hauv nplooj ntawv uas sib haum rau ntu no ntawm HTML code.
Kauj ruam 5
Hauv Apple Safari browser, nthuav ntxiv rau "Saib" ntu thiab xaiv kab "Saib HTML Code". Hauv cov ntawv qhia zaub mov uas tshwm sim thaum koj muaj txoj cai-nyem rau ntawm nplooj ntawv qhib, cov khoom sib nug tau lub npe "Saib qhov". Cov viav vias CTRL + alt="Duab" + U tau muab rau qhov kev txiav txim no. Qhov qhov chaws qhib hauv nyias lub browser qhib.