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ářů
Thanks for finally writing about > < Liked it! findken.naoblal.se/useful-tips/hydrokortison-ccs-1-salva.php hydrokortison ccs 1 salva
hГ¶ga gummistГ¶vlar dam naoblal.se
(naoblal.se, 9. 10. 2020 20:25)
Hello would you mind stating which blog platform you're using? I'm planning to start my own blog in the near future but I'm having a difficult time making a decision between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your layout seems different then most blogs and I'm looking for something unique. P.S Apologies for being off-topic but I had to ask! granex.naoblal.se/travels/hoega-gummistoevlar-dam.php hГ¶ga gummistГ¶vlar dam
golden medium bareminerals naoblal.se
(naoblal.se, 9. 10. 2020 2:58)
Wow, marvelous blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your site is great, let alone the content! galsio.naoblal.se/sport/golden-medium-bareminerals.php golden medium bareminerals
drop in frisГёr ГҐrhus naoblal.se
(naoblal.se, 8. 10. 2020 8:57)
Tremendous issues here. I'm very glad to look your article. Thank you a lot and I'm having a look ahead to contact you. Will you kindly drop me a mail? tends.naoblal.se/advice-girlfriends/drop-in-frisr-rhus.php drop in frisГёr ГҐrhus
dubbade vinterdäck med fälg infoforwomen.be
(infoforwomen.be, 27. 9. 2020 8:31)
I am truly thankful to the holder of this website who has shared this enormous post at at this time. kaody.infoforwomen.be/map21.php dubbade vinterdäck med fälg
Are you 18? Come in and don't be shy!
(Allenappen, 3. 9. 2020 21:58)Hurry up to look into loveawake.ru you will find a lot of interesting things
XRumer 19.0 + XEvil breaking of captchas Google, Facebook, Captcha.Com, SolveMedia, Bing
(Natashatot0804, 20. 8. 2020 6:24)
Absolutně nová aktualizace balíčku SEO / SMM "XRumer 19.0 + XEvil 5.0":
captcha řešení Google, Facebook, Bing, Hotmail, SolveMedia, Yandex,
a více než 12000 dalších kategorií captcha,
s nejvyšší přesností (80 až 100%) a nejvyšší rychlostí (100 img za sekundu).
Můžete připojit XEvil 5.0 k nejoblíbenějšímu softwaru SEO / SMM: XRumer, GSA SER, ZennoPoster, Srapebox, Senuke a více než 100 dalších softwarů.
Zájem? Existuje spousta nepřehledných videí o XEvile na YouTube.
Hodně štěstí!
Rassismus-Skandal an Berliner Rossmann-Kasse
(MoonPenguin, 20. 6. 2020 6:11)
Sie sollten diesen Artikel lesen. Es ist wichtig!1(A#D5gt8x6!WGIHAzum
Rassismus bei Rossmann: schwarzer Kundin wird Kartenbetrug vorgeworfen, weil der Name darauf deutsch ist. Polizei droht ihr vor ihrem Kind mit Gefängnis: “Sprechen Sie überhaupt deutsch? Deutsche Sprache, schwere Sprache.”
https://www.bz-berlin.de/berlin/charlottenburg-wilmersdorf/rassismus-skandal-an-berliner-rossmann-kasse - https://www.bz-berlin.de/berlin/charlottenburg-wilmersdorf/rassismus-skandal-an-berliner-rossmann-kasse
Hi! Only from 18+!
(SandraPeamp, 10. 6. 2020 15:31)Hurry up to look into loveawake.ru you will find a lot of interesting things....
aresgrb.se
(aresgrb.se, 18. 5. 2020 21:07)
I'm gone to inform my little brother, that he should also go to see this blog on regular basis to obtain updated from hottest reports.
Eskadron -- new loved by riders all over the world
(CyberXVar, 6. 4. 2020 5:56)
Eskadron is one of the most valued high-street manufacturers on the world that specializes in the creation of top quality design clothing and equipment. This German concern was founded by Pikeur wanting to fulfill the jockeys' demands, have been looking for professional but also stylish equestrian accessories. So, what makes Eskadron so special and why their collections are so popular among passengers?Eskadron Why do riders from all over the world love this particular brand?
Eskadron continues to be extremely popular among horseriding fans for a dozen or more years now. This brand's products are characterized by their highquality attention for detail. Eskadron can also be valued for their exceptional practicality, elegance, innovativeness of their endeavors, contemporary structure, and availability. The new offer includes both pro items and ones for recreational riders. Thus, you can discover basic design clothes, professional design, and various accessories necessary for your proper saddling of a horse. Eskadron offers saddle cloths, halters, rugs, bell boots for horses, vases, fly vases, bandages, but additionally hoodies, tshirts, breeches, also show jackets. These products include the European Union, which additionally verifies their own quality.Eskadron's collections
Eskadron has many collections. Some are seasonal, others are constantly available in their offer. The most Well-known collections of the brand are:
Classic Sports - launched twice a calendar year, this line is made up exclusively of horse equipment. Services and products using this collection are extremely simple, in conventional soft colours but at exactly the identical time very elegant.
Platinum Card - starts once a year for people who enjoy conventional solutions. You will mostly find black and gray shades along with delicate graphic motifs.
Young Star - line for kids that begin their adventure with horseriding. It's basic horseriding accessories in bright colors and extraordinary patterns.
Equestrian Fanatics - clothing line designed for riders that like to stick out. Available jackets, hoodies, and backpacks successfully unite casual clothing with equestrianism.
Classic offer - Their constant offer of clothing, equipment, and accessories. You'll find services and products useful for training and everyday rides but also elegant show clothing.
Eskadron can be a brand used by riders from all around the globe. For the sake of riding and safety both yours and your horse, it might be well worth purchasing high-quality articles, which may enable you to fully appreciate this exceptional sport.
Eskadron -- brand adored by jockeys all around the world
(CyberXVar, 28. 3. 2020 19:21)
Eskadron is among the very appreciated high-street manufacturers on the entire world that specializes in the production of top quality design clothing and equipment. This German concern was set by Pikeur wanting to satisfy with the jockeys' demands, who were looking for professional but also stylish equestrian accessories. Thus, why is Eskadron therefore special and why their collections are therefore popular among passengers?Eskadron Why do riders from all around the world love this particular brand?
Eskadron has been tremendously popular among horseriding lovers for several or even more years now. This brand's products are characterized by their own high-quality attention for detail. Eskadron can be valued for their unique practicality, elegance, and innovativeness of their own projects, modern design, and availability. The new offer has both professional items and ones for recreational riders. So, you can find basic design clothes, expert equestrian, and various accessories necessary for the proper saddling of a horse. Eskadron offers saddle fabrics, halters, rugs, bell boots for horses, vases, fly vases, bandages, however additionally hoodies, t shirts, breeches, also reveal coats. These products include the European Union, which in addition verifies their quality.Eskadron's ranges
Eskadron has many collections. Many are seasonal, others are constantly accessible their deal. The most Well-known collections of the brand are:
Vintage Sports - established twice per calendar year, this line is made up only of horse riding equipment. Services and products from this collection are very straightforward, in conventional soft colours but at exactly the same time quite tasteful.
Platinum Card - launches once a year for those who prefer traditional solutions. You will mostly find gray and black colors together with delicate image themes.
Young Star - lineup for kiddies that begin their adventure with horse riding. It has basic horse riding accessories in bright colours and exceptional designs.
Equestrian Fanatics - clothing line made for riders who like to stick outside. Available coats, hoodies, and backpacks successfully combine casual clothing with equestrianism.
Classic offer - Their constant offer of clothing, equipment, and accessories. You'll find products useful for training and everyday rides but also elegant show clothing.
Eskadron can be a brand used by cyclists from all around the world. For the benefit of safety and riding both yours and your horse's, it might be well worth purchasing top quality articles, which would permit one to fully appreciate this sport that is exceptional.
bitcoiny kantor imigrasi
(ForexClaite, 14. 3. 2020 16:29)
us government and bitcoin wiki https://currency-trading-brokers.com
titania foot care products
(titania foot care products, 12. 3. 2020 14:58)
It's very trouble-free to find out any matter on web as compared to books, as I found this article at this site. titania foot care products could.amelduab.se/map7.php titania foot care products
PT. Indo Cargo Express - We makes business flow
(indocargex, 18. 2. 2020 8:57)
PT. INDO CARGO EXPRESS - https://www.indocargex.com/
By choosing PT. Indo Cargo Express for your freight shipping needs you can rest easy and know that your shipment is going to arrive at its destination at the time you need it to. Whether you’re shipping complex heavy equipment or simply require your industrial goods to be transported from one destination to another, we’re equipped with the right team, equipment and cargo services to meet your needs on budget and on time.
With dedicated employees, working in many regional clusters around the globe, deliver operational excellence — to provide viable answers to the most challenging supply chain questions.
Free Bitcoin
(quickchainkam, 14. 9. 2019 22:27)
Grow your bitcoins by 10% per 2 days.
Profit comes to your btc wallet automatically.
Try https://quickchain.cc/#xr
it takes 2 minutes only and let your btc works for you!
Guaranteed by the blockchain technology!
Overview of Financial Companies
(fxbrokersTeek, 10. 9. 2019 2:06)
https://currency-trading-brokers.com/forex-comparisons-ratings-reviews-ireland.html Athbhreithniú is fearr forex bróicéirí.
w collection tyg
(w collection tyg, 4. 9. 2019 19:40)
Hi would you mind letting me know which web host you're utilizing? I've loaded your blog in 3 completely different web browsers and I must say this blog loads a lot quicker then most. Can you recommend a good web hosting provider at a reasonable price? Cheers, I appreciate it! w collection tyg ptera.awombud.be/map12.php w collection tyg
Simple question about our life.
(Cindytar, 26. 7. 2019 3:18)
Hi, a have one question.
What all people doing here?
Why we dont living with real life?
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
hydrokortison ccs 1 salva naoblal.se
(naoblal.se, 10. 10. 2020 5:53)