URL: Význam je vysvetlený jednoduchým a zrozumiteľným spôsobom
Mnohí chápu adresu URL ako jednoduchý odkaz alebo adresu webovej stránky. Vysvetlíme presne, čo to je a čo stojí za skratkou.
URL - čo to je a čo môže robiť?
Vo všeobecnosti sa hovorí o prepojení, ak je URL v skutočnosti myslená - URL sa zvyčajne chápe ako adresa webovej stránky. To však nie je úplne správne:
- Skratka URL znamená „Uniform Resource Locator“, v nemčine to znamená „uniformný indikátor zdroja“. Je to štandard, pomocou ktorého sa vyvoláva určitý obsah.
- URL sa používajú hlavne na prístup na webové stránky.
- Na našu domovskú stránku môžete pristáť iba prostredníctvom adresy URL „//praxistipps.chip.de/“. Zadaním adresy URL prehľadávač vie, ktorá stránka sa má vyhľadávať a otvoriť.
- Keďže prehliadače sú určené na otváranie webových stránok, pred web nemusíte zadávať „//“. Preto stačí zadať „praxistipps.chip.de“.
Zložky adresy URL - jednoducho vysvetlené
URL sa skladá z niekoľkých častí. Pre nasledujúce vysvetlenie používame tento príklad URL: //www.Domain.de/ directory / file.html
- "//": Na začiatku je vždy predpona protokolu. Pre webové stránky je to HTTP alebo HTTPS.
- Nasleduje číslo portu. Číslo portu je spravidla „80“ a potom sa vôbec nezobrazuje. Ak sa číslo portu v osobitných prípadoch líši, možno ho nájsť v adrese URL.
- „www.Domain.de“: Táto časť by mala byť známa všetkým. Doménou je hlavná adresa webovej stránky, takmer predné dvere. Alternatívne je možné zadať IP adresu webovej stránky, ale zadanie adresy CHIP.de namiesto 2.18.235.97 je oveľa jednoduchšie.
- „Adresár“: Na stránke CHIP.de sú tisíce článkov, fotografií, obrázkov, súborov na stiahnutie a ďalších súborov. Aby nedošlo k strate prehľadu, mnoho webových stránok má adresár podobný priečinkom v počítači. Naše články ukladáme do adresára „Články“ a naše súbory na stiahnutie do priečinka „Na stiahnutie“.
- "File.html": Adresár obsahuje ďalšie podadresáre alebo jednotlivé súbory, napríklad tento článok. Webové stránky sú väčšinou súbory HTML.
Používajte adresy URL v prehliadači správne
URL však neotvára iba webové stránky vo formáte „http“ alebo „https“. Na začiatku adresy URL sa tiež môže zobraziť „FTP“, „mailto“ alebo „súbor“.
- Takže môžete otvoriť súborový server prostredníctvom prehliadača, dať príkaz na e-mail na určitú adresu a otvoriť súbor z počítača v prehliadači.
- Do panela s adresou v hornej časti prehliadača zadajte príkaz „mailto: “ a potvrďte zadanie pomocou klávesu „Enter“. Otvorí sa váš e-mailový program, pomocou ktorého môžete poslať e-mail na zadanú adresu.
- Podobne to funguje aj so súbormi. Príkazom „file: /// C: /Users/Tim/Desktop/Lichtschalter.webp“ sa obrázok s názvom „Lichttschalter“ otvorí z pracovnej plochy v prehliadači.
Skrátiť adresy URL: rozumné alebo nie?
- URL sú zvyčajne veľmi dlhé. Odoslanie adresy URL na súkromné alebo obchodné účely môže byť dosť nepraktické. Existuje mnoho služieb, ktoré skracujú adresy URL.
- Výsledkom sú zvyčajne veľmi krátke adresy URL s kombináciou čísiel a písmen, napríklad bit.ly/A1b2C3. Takáto skrátená adresa URL je už omnoho lepšie zvládnuteľná.
- Hlavnou nevýhodou však sú aj skrátené adresy URL. Príjemca nevidí priamo to, kam ho URL vedie, to odrádza mnohých ľudí a spôsobuje ich podozrenie.
- Existuje aj riešenie tohto problému. V nasledujúcom praktickom tipe vám ukážeme, ako predĺžiť skrátenú webovú adresu znova bez jej otvorenia.
Nakupujte webovú adresu online
Ak si chcete kúpiť svoju vlastnú adresu URL, mali by ste začať hľadať poskytovateľa domén. Tu nájdete najdôležitejšie informácie o kúpe domény.
V nasledujúcom praktickom tipe vám ukážeme, ako vytvoriť svoje vlastné krátke adresy URL.