Html 0.4
Struktura kódu stránky (2)
Jednotlivé části HTML stránky
Teď si ten kód rozebereme, abychom se v něm dokázali orientovat.
DOCTYPE
Na úplném začátku je deklarace "doctype" (ve výše uvedeném příkladu to jsou první dva řádky).
Polopatě: Představte si, že překladateli dáte text v cizím jazyce, který má přeložit. Buďto bude muset odhadnout, co je to za jazyk, nebo mu to předem řeknete. A když už to bude vědět, bude předpokládat, že je to pravda, a že text nebude smíchaný z více jazyků a bude dodržovat pravidla pravopisu toho jazyka. Protože jestli ne, nemůže zaručit, že překlad bude správný a jestli se obsah textu nezkomolí.
No a tím překladatelem je prohlížeč, tím textem je html kód. Neříct mu, v jakém jazyce je to napsané, to by bylo ošklivé. Řekneme mu to právě zápisem DOCTYPE. A my bychom měli dodržet pravopis toho jazyka, tj. pravidla použité verze HTML. Prohlížeč pak může ten kód správně přeložit - neboli zobrazit.
Jinými slovy - tímto zápisem řeknete prohlížeči, v jaké verzi (X)HTML jste svou stránku napsali. Prohlížeč podle toho s kódem naloží. V našem příkladě je použita deklarace XHTML 1.0 strict, a to jen proto, že jsem v tomhle doctype zvyklá dělat. Třeba si na to taky rádi zvyknete.
A ještě odborně - JPW říká:
"Každý správně formátovaný HTML dokument by měl na začátku obsahovat informace o verzi použitého HTML a typu DTD (Document Type Definition). DTD je jinými slovy návod pro prohlížeč zpracovávající dokument. Říká mu, jaké elementy dokument používá a jak s nimi zacházet. Element DOCTYPE není součástí HTML dokumentu, není elementem HTML a nemusí mít koncovou značku."
Doporučená četba: jakpsatweb.cz o doctype, wellstyled.com o režimech prohlížečů podle doctype.
Vlastní (X)HTML
To, co následuje, už je opravdu v jazyce HTML; proto je celý zbytek uzavřen do tagu <html> (na konci samozřejmě </html> ).
Hlavička - head
Hlavička je uzavřena do tagů <head> </head> . Může (nebo by měla) v ní být spousta užitečných informací, žádná z nich se ale nezobrazí ve formě textu na výsledné stránce; přesto mají na zobrazení stránky velký vliv.
- To, co bude mezi tagy <title> a </title> , bude názvem stránky, který se vypíše v horní liště prohlížeče nebo v ikoně ve spodní liště. V našem příkladu to je text "Toto je moje stránka".
- Dále zde najdete různé tagy <meta /> . Důležitý je hlavně meta tag týkající se kódování.
Doporučená četba: jakpsatweb.cz o meta tazích
- Do hlavičky patří také případné skripty a stylopis nebo cesta k externímu stylopisu . To jen aby bylo vidět, že vím o čem mluvím; nám to zatím k ničemu není a necháme to stranou.
Tělo stránky - body
Následují tagy a texty, uzavřené v párovém tagu <body> a </body> . Tady je konečně všechno to, co se na naší stránce zobrazí. A na to se podíváme podrobněji.
Komentáře
Přehled komentářů
Having the right ammunition for your firearm is the key to any succesful hunting trip. Buy the ammunition you need at the price you want online with Honor Ammo shop. Fast delivery
300 prc
(Louisshoda, 28. 4. 2022 9:39)
Having the right ammunition for your firearm is the key to any succesful hunting trip. Buy the ammunition you need at the price you want online with Best Ammunitions store. Fast delivery
6.5 grendel ammo
(Louisshoda, 27. 4. 2022 22:18)
Having the right ammunition for your firearm is the key to any succesful hunting trip. Buy the ammunition you need at the price you want online with Honor Ammo shop. Fast delivery
noclegi z wyzywieniem w augustowie
(PiPreomLoomy, 27. 4. 2022 14:29)
<a href="https://www.noclegiiaugustow.online">www.noclegiiaugustow.online</a href> noclegi w Augustowie
stx21
levitra 5 mg
(viagra cialis levitra, 26. 4. 2022 10:52)Antes de tomar VIAGRA, dígale a su proveedor de atención médica si usted: La mayoría, pero no todos, de estos hombres tenía cardiopatías antes de tomar VIAGRA.
Hi you can change my life please
(David9iet, 26. 4. 2022 7:55)
Hello. I'm sorry that the text is through a google translator. Everything I write is true. I need your help. I am 25 years old. Mother died. She gave me big debts. My dad has a different family.
Everything is bad with work, I am from a poor country where there are no opportunities. I know that there are millions of people like me, but if you help me see the light, feel life, then someday I will also help someone, it will be in a chain. I see no future, rat race. Maybe you are pleased that you will change my life and you will be rewarded. Send how many do not mind, a few dollar. Thanks.
I am independent of alcohol. I don't use drugs. I just want to live, not survive. But I can't get out of debt. The funds that remain will be invested in a business that will help people. Something in the service industry. Thank you.
My Bitcoin 183iK8ThxUx5Vt4uubqa9aae12ncW7Ag6
Card Usd to Bitcoin exchanger "btcbit net"
Or any other.
You are my last hope. Please, help. I don't know what else to do.
liverbuctuntee
(WalterEmupe, 26. 4. 2022 5:41)
https://telegra.ph/Step-Daddy039-S-Surprise--Free-Full-Length-12-14
browse around this website Kevinteany
(Kevinteany, 22. 4. 2022 21:21)
Sustain the outstanding job !! Lovin' it! https://webofgeeks.com/ru/tsentr-prilozhenii-gigabyte-draiver-ne-udaetsia-vypustit-iz-za-sboia-v-windows-10/
why not try this out Kevinteany
(Kevinteany, 21. 4. 2022 23:41)
Simply just had to say Now i am ecstatic I came upon your website page! https://webofgeeks.com/wie-man-den-google-kalender-in-thunderbird-anzeigt/
viagra comprar online
(viagra 100mg precio, 20. 4. 2022 20:41)Disfunción eréctil e hipertrofia prostática benigna (HPB).
website here Kevinteany
(Kevinteany, 20. 4. 2022 17:02)
Awesome Web page, Continue the beneficial work. Thanks a ton! https://webofgeeks.com/da/sadan-optager-du-android-skaermen-og-laver-den-om-til-animeret-gif/
Nicest Roblox Plunk down
(Dexonanild, 19. 4. 2022 1:30)
Get best roblox exploits
https://www.youtube.com/watch?v=uDO3CJKb23k
Szybkie Randki
(belleKic, 18. 4. 2022 21:52)
https://www.fcc.gov/fcc-bin/bye?https://randkionline.info
Randki Olsztyn
Randki Toruń
crush website browser
(Gamermaype, 18. 4. 2022 16:41)
Best Crazy Games is a game publisher made to provide the best online games on the web. Every day we publish new fresh games with high and quality gameplay.
https://www.facebook.com/playcraygamesonline
vieri
(Thomasvieri, 18. 4. 2022 14:27)
I'm new to this forum, what should I do to be helpful?
https://www.google.com/travel/trips/s/Ugwhsu9Xsy0d4HS_0GJ4AaABLKgBsfmSAg
Proof, through the hull of sole's teeth a fling
(Anthonypub, 15. 4. 2022 6:25)
csi miami s emily procter topless video porn videos https://www.miniaturaitaliana.com/post/beim-ficken-gefilmt-22291
surprise cum load porn videos https://www.drawandfoldover.com/post/nasty-black-head-fingers-her-wet-pussy-and-plays-with-nice-tits-ardently-21423
tube land porn videos https://www.andbardc.com/post/sweet-girls-are-pleasing-stevie-shae-6494
wxnxx com porn videos https://www.oncologiya.com/post/that-chap-asks-her-to-show-some-56051
iryna ivanova dildo porn videos https://www.becauseisaidsomovie.com/post/girl-blowjobs-and-cumshots-young-italians-horny-senior-bruce-spots-a-33788
swap69 com porn videos https://www.telepoisk.com/post/cosplay-mawuru-penguindrum-princess-of-the-crystal-25847
dhokha sex oporn porn videos https://www.renaissance-hotel-marrakech.com/post/curvy-teen-loses-her-anal-virginity-in-interracial-fuck-session-56229
sabine wren star wars rebels porn videos https://www.bitsnbiteswithtina.com/post/wet-chick-sofi-ryan-takes-big-shlong-in-her-little-pussy-57548
butt sax xxnxx com porn videos https://www.robertpattinsonworldwide.com/post/xander-corvus-screwing-aidra-fox-on-top-of-his-cock-80089
indoporn porn videos https://www.itsjustjewelry.com/post/gorgeous-wife-alison-tyler-is-pleasing-her-husband-41644
My Dearest Area
(Akatsuki007Saw, 14. 4. 2022 22:39)
free porn
https://thepornarea.com/videos/679572/boyfriend-best-friend-fucked-me-after-i-broke-up-with-him/
https://thepornarea.com/videos/1118234/hegre-ariel-big-black-friend-amateur-rides-a-bbc-in-solo-video/
https://thepornarea.com/videos/936641/teen-needs-dick-like-crazy/
https://thepornarea.com/videos/885331/hellen-sucks-strangers-cocks-and-swallows-cum-in-gloryhole-bukkake-xxx/
https://thepornarea.com/videos/970052/bangbros-big-booty-maid-canela-skin-gets-fucked-by-pablo-ferrari/
Hes Porn
As it turns out, modish times set up got nothing on the past. Dirt existed desire in the presence of video or monotonous photography, and many researchers concoct phylogeny predisposed humans towards visual arousal (It's a scads easier to pass on your genes if the cool of other in a state of nature humans turns you on, after all). Whichever path you slice it, the diversity of licentious materials cranny of dead letter suggests that generous beings have always been interested in images of sex. Lots and lots of sex.
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54
6.5 prc
(Patricksnish, 28. 4. 2022 11:02)