Webdesign &
ukwakhiwa kwewebhusayithi
uhlu lokuhlola

    • Ibhulogi
    • info@onmascout.de
    • +49 8231 9595990
    whatsapp
    skype

    IBLOG

    Ulenza kanjani Ikhasi le-HTML

    dala ikhasi le-html

    Ungakha ikhasi le-HTML ngokusebenzisa amasu ambalwa ahlukene. The first technique that you can use is to use a template. Isifanekiso siyindlela yokugcina nokuhlela okuqukethwe kwewebhusayithi. Ungathola izibonelo zezifanekiso ku-inthanethi. Kuyasiza futhi ukudala isifanekiso sakho sangokwezifiso.

    !DOCTYPE html>

    qala!DOCTYPE html> endk i para:!DOCTYPE html> kuwumyalelo wokuhlobanisa idokhumenti nohlobo oluthile lwedokhumenti, njenge-XML. Lesi simemezelo sizibonakalisa njengochungechunge olufushane lwemakhaphu oluhambisana ne-syntax ethile. Inhloso yalesi simemezelo ukuvumela iziphequluli zewebhu ukuthi zibone izinhlobo ezihlukene zamadokhumenti futhi ziwanikeze ngendlela efanele.

    Isimemezelo se-DOCTYPE kufanele sibe khona ekuqaleni kwekhodi yomthombo we-HTML. Kungenjalo, iwebhusayithi yakho ingase ibonise ngokungalungile noma ingase ingavezwa nhlobo. Uma i-DOCTYPE ingekho, isiphequluli sizoshintshela kuso “Imodi ye-Quirks” futhi ubonise isayithi ngendlela ehlukile.

    Isimemezelo se-doctype sithinta womabili amakhasi e-HTML ne-XHTML. Inguqulo eyenziwe lula ye-XHTML spec futhi iqukethe izintambo ezimbili ezihlukaniswe izingcaphuno. Intambo yokuqala ithi “-//I-W3C/DTD HTML 4.01/EN” – lokhu kucacisa ukuthi idokhumenti ishicilelwe yi-W3C futhi iyinguqulo ye-HTML 4.01. Iyunithi yezinhlamvu yesibili icacisa ulimi lwe-DTD.

    Isimemezelo se-doctype ngokuvamile sitholakala ngaphambi kwamathegi e-HTML. Lokhu kwenza iziphequluli zikwazi ukuhlonza idokhumenti ye-HTML efanele futhi zigweme imodi eyindida. I-DOCTYPE html ingenye yezinto ezibaluleke kakhulu kudokhumenti ye-HTML, kodwa kuvame ukunganakwa. Ukuze wenze isiqiniseko sokuthi isimemezelo se-doctype yakho silungile, sebenzisa umhleli we-HTML onamandla okuhlola amaphutha.

    !DOCTYPE css>

    Uma udala ikhasi le-HTML, kubalulekile ukwazi ukuthi yiziphi izindinganiso ze-HTML ongazisebenzisa. Bangu 3 izindawo ezibalulekile okufanele uzibheke: doctype, XHTML, kanye ne-XSLT. I-DOCTYPE ivumela ama-HTML-TAGS amaningi, kuyilapho i-DOCTYPE Strict iqinile kakhulu ngezimfuneko ze-XHTML. Ngale ndlela, isiphequluli siyazi ukuthi akulona ifayela le-HTML elingavumelekile.

    AmaSpredishithi Esitayela se-CSS angashumekwa ekhasini le-HTML noma agcinwe kufayela elihlukile.css. Ukusebenzisa amafayela e-CSS ahlukene kukusindisa ekubhaleni ikhodi ye-CSS futhi. Iphinde inciphise isidingo sokubhala amashidi esitayela. Amashidi esitayela azoshumekwa kusici esiqanjwe ngesitayela.

    Ukuze iwebhusayithi ivumeleke, kufanele ifake nesihloko. Lena into yokuqala umsebenzisi wesiphequluli azoyibona, ngakho qiniseka ukuthi inengqondo. Ukusebenzisa isihloko esifanayo emakhasini amaningi akunconyiwe – kufanele unikeze igama ngalinye elehlukile. Kudingeka futhi uqinisekise ukuthi umlingisi osesihlokweni uyahlukaniswa kunoma yiziphi ezinye izinhlamvu kudokhumenti.

    Uma ufuna okokufundisa ukukusiza ufunde i-HTML ne-CSS, zama i-HTML & Uchungechunge lokufunda lwabaqalayo be-CSS. Lesi sifundo sizokufundisa ukuthi ungabhala kanjani ikhasi lewebhu usebenzisa i-CSS ne-HTML. Ngemuva kokuthi ulandele okokufundisa, ungakha ikhasi lakho lewebhu lokuqala usebenzisa i-notepad++. Kulesi sifundo, uzofunda ukuhlela konke okuqukethwe kwekhasi lewebhu usebenzisa omaka.

    !DOCTYPE a

    HTML doctype is a specification for a document’s standards and format. Kuyadingeka ukuthi ube ne-DOCTYPE uma ufuna ukuqinisekisa ukuthi ikhasi lakho lewebhu livumelekile kuzo zonke iziphequluli zewebhu. Ibuye isetshenziswe iziphequluli zewebhu ukuze kuqinisekiswe amakhasi akho e-HTML, okukusiza ukuthi ugweme amaphutha futhi uthuthukise iwebhusayithi yakho. Lapho udala ikhasi lewebhu, i-DOCTYPE kufanele ikopishwe ngokuqondile, ukuqinisekisa ukuthi icutshungulwe kahle futhi ihunyushwa isiphequluli.

    Lapho wakha ikhasi le-HTML, ungasebenzisa ama-HTML-TAGS ambalwa. Laba bomaka basetshenziselwa ukwakha izihloko nonyaweni ekhasini lewebhu. Futhi zingaqukatha ukwaziswa okwengeziwe. Ama-HTML-TAGS ahlukaniswe abe izigaba ezintathu. Lezi zihlanganisa:

    I-HTML iphinde inikeze indlela yokuchaza izinhlamvu ezingabangela izinkinga kukhodi. Lezi zinhlangano zihlanganisa & futhi ; kanye nezinhlamvu ezimbalwa ezichazayo. Ngokwesibonelo, ngesiJalimane, ungasebenzisa &szlig ukuze ukhode wonke ama-umlaut kanye no-S obukhali ekhasini.

    Ngaphezu kokuba yimfuneko yekhodi ye-HTML evumelekile, ikhasi elingenaso isimemezelo se-DOCTYPE lizovela ngokungalungile. Lokhu kwenzeka ngoba iziphequluli ziyashintsha “Imodi ye-Quirks” lapho idokhumenti ingenayo i-DOCTYPE efanelekile.

    !DOCTYPE b

    HTML5 is a markup language. Ukwengeza lesi simemezelo efayeleni lakho le-HTML kuzotshela isiphequluli sakho ukuthi yimaphi amazinga okumele uwasebenzise kanye nendlela yokuwenza umaka.. Lokhu kubalulekile ngoba ufuna ikhasi lakho le-HTML linikeze ngendlela efanele. Ngaphezu kwalokho, kuzosiza iwebhusayithi yakho ibukeke ihlanzekile futhi iyingcweti.

    I-HTML iwulimi lwemakhaphu, okusho ukuthi inezindinganiso. I-World Wide Web Consortium (W3C) ithuthukisa futhi igcine izindinganiso ze-HTML. Lolu limi lusezingeni lokudala amakhasi ewebhu futhi lusetshenziswa kakhulu. I-HTML isetshenziselwa amakhasi ewebhu, okusho ukuthi ungakwazi ukwengeza noma yimuphi umbhalo noma umfanekiso kuwo, futhi ungafaka i-multimedia emakhasini akho ewebhu.

    Kunezinhlobo ezimbalwa zamakhasi e-HTML, futhi ungakhetha i-DOCTYPE-Bereich evumelana kangcono nezidingo zakho. Ngokwesibonelo, I-DOCTYPE Iqinile kakhulu mayelana nezidingo ze-XHTML kune-DOCTYPE B, kodwa ivumela ama-HTML-TAGS amaningi.

    Ungakwazi futhi ukuzihlelela i-HTML-Website yakho. Nokho, lokhu kunebubi bakho. Kudinga amakhono ayisisekelo okuhlela, kanye nokuqonda okuphelele kwe-HTML. Ngaphezu kwalokho, kungase kudle isikhathi esiningi. Nokho, uma uzinikezele, ungakha iwebhusayithi esebenzayo.

    Esinye isici esibalulekile se-HTML ukuthi ikuvumela ukuba uzibe umbhalo. Ungakwazi futhi ukwengeza amazwana futhi uwasebenzise ukuze uchaze izakhiwo eziyinkimbinkimbi noma ususe umbhalo ongafuneki.

    !DOCTYPE css

    While coding an HTML page, kufanele njalo wengeze i!I-DOCTYPE css yethegi ye-HTML ekuqaleni kwekhasi. Lokhu kuzotshela isiphequluli ukuthi hlobo luni lwedokhumenti esibhekene nalo futhi kugweme amaphutha ukuthi akhiqizwe. Uma i-doctype ingekho, ikhodi ye-HTML izobe ingavumelekile futhi iwebhusayithi ngeke iboniswe ngendlela efanele.

    Ungakwazi futhi ukwengeza umbhalo we-erklar wesikhashana ekhasini lakho le-HTML. Lo mbhalo ubizwa ngokuthi ithiphu, futhi ngokuvamile ibhalwa njengekhodi ye-monospace. Uma ufuna ukwakha ikhasi le-HTML eliyinkimbinkimbi kakhulu, kufanele usebenzise i-CSS.

    Ukusebenzisa ifayela le-DOCTYPE css ekhasini lakho le-HTML kuzokuvumela ukuthi udale iwebhusayithi eyinkimbinkimbi ngaphandle komzamo omkhulu.. Leli fayela liqukethe incazelo yokuthi ikhasi lakho le-HTML kufanele libe yini nokuthi akumele likuqukathe ini. Kuphinde kukusize ufunde emaphutheni akho.

    Ukwengeza i-DOCTYPE css yekhasi le-HTML kungenye yezindlela ezinhle kakhulu zokwenza iwebhusayithi yakho ifinyeleleke kubabukeli abahlukahlukene.. Ungayisebenzisa ukuze utshele iziphequluli ukuthi ikhasi lakho liyidokhumenti ye-HTML nokuthi yiluphi ulimi okufanele ulinikeze lona. Umhleli omuhle we-HTML uzoba nesici esakhelwe ngaphakathi sokuhlola i-doctype.

    !DOCTYPE css >

    Ulimi lokubhala ngekhodi lwe-HTML luye lwavela phakathi neminyaka ukuze lufake phakathi ukuhlanza, isakhiwo esifushane. Lokhu kuvumela abaklami bewebhu ukuthi bakhe amawebhusayithi akhangayo nasebenzayo. I-DOCTYPE ikhomba ikhodi esetshenziswa ukwakha ikhasi lewebhu, futhi itshela isiphequluli sewebhu ukuthi yini esingayenza nesingakwazi ukuyenza ngaso. Kuyingxenye ebalulekile yokuqinisekisa ikhasi lakho le-HTML, ngakho-ke kubalulekile ukuyikopisha ngokuqondile.

    Umaka we-DOCTYPE html usiza isiphequluli ukukhomba iwebhusayithi yakho futhi usiza abahleli bohlelo bazi ukuthi bayihumusha kanjani. Omaka be-doctype kufanele bavele ekuqaleni kwekhasi ngalinye lewebhusayithi. Nokho, akuphoqelekile. Kungcono ukusebenzisa i-DOCTYPE efanele ekhasini ngalinye.

    Amakhasi e-HTML anezindawo ezintathu eziyinhloko. Okokuqala, kukhona i-DOCTYPE-Bereich. Lokhu kucacisa ukuthi yimaphi amazinga asetshenziswa iwebhusayithi yakho. I-DOCTYPE-Bereich ikuvumela ukuthi usebenzise ama-HTML-TAGS amaningi. DOCTYPE Iqinile, Ngokwesinye isandla, ibeka izidingo eziqinile ze-XHTML.

    I-HTML iwulimi olususelwe kukhodi yezinhlamvu. Ingasetshenziselwa ukufometha umbhalo. Amakhodi ezinhlamvu angasetshenziswa ukucacisa imibala namafonti. Ungakwazi futhi ukwengeza izixhumanisi emakhasini akho ewebhu. Ukwengeza izixhumanisi kuzo yingxenye ebalulekile yamakhasi ewebhu. Ngokwesibonelo, ungangeza isixhumanisi somkhiqizo ku-Amazon.

    I-DOCTYPE iyingxenye ebalulekile yemibhalo ye-HTML. Uma wenza iphutha kule khodi, iwebhusayithi yakho ngeke iboniswe ngendlela efanele. Uma ungaqiniseki nge-DOCTYPE elungile, umhleli omuhle we-HTML uzoba nesici esakhelwe ngaphakathi sokuhlola amaphutha.

    ividiyo yethu
    ULWAZI LOKUXHUMANA