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ářů
Can Michael Pressure Of Riches Masters Internation Help You Generate Income From House?
(ufabetNib, 25. 11. 2022 0:00)
Michael Force has actually ended up being rather the Rock Star when it comes to web marketing. When I was researching Michael in preparation for this article, I noticed that he has a few different web sites that are ranked within the top 150,000 websites online. ( When you enter the leading 200,000, if you are a good online marketer you can practically write your own check - Michael has SEVERAL) Michael has demonstrated a great deal of success advertising online, and also fairly honestly, he is an example to be replicated.
https://saeedh641mrt9.wikicorrespondence.com/user
https://jeann034tcg0.wikiexpression.com/user
https://herbertv853yqq9.wikiannouncing.com/user
https://rickeya549pka2.wikipresses.com/user
https://sidneyg682ypu2.wikiinside.com/user
https://hafizv956tfw9.wikimidpoint.com/user
https://milowtore.dm-blog.com/15536669/the-conclusive-guide-to-sporting-activities-wagering-odds
https://claytonqczev.weblogco.com/15520656/sporting-activity-betting-probabilities-calculator-keys
https://arthurrhdln.smblogsites.com/15520346/sporting-activity-betting-on-line-websites-points-to-know-before-you-purchase
https://ebetsportbetting86439.blogdeazar.com/15570572/sporting-activities-wagering-professional-no-additional-a-mystery
https://manuelylsuj.ourcodeblog.com/15566786/not-known-factual-statements-concerning-sport-wagering-in-ohio
https://sportbetting36521254.theisblog.com/15688615/the-clear-cut-overview-to-sport-wagering-probabilities
https://milonwsiu.blog2freedom.com/15540995/the-2-minute-guideline-for-sporting-activities-betting-odds
https://zionefbfu.bloggip.com/15500151/rumored-buzz-on-offshore-sports-wagering
https://messiahwhkre.blog-ezine.com/15544195/the-conclusive-overview-to-sports-betting-probabilities
https://sports-betting71097.liberty-blog.com/15572743/everything-regarding-sporting-activities-betting-to-win
https://archerxdcjs.blogpayz.com/15537665/every-little-thing-concerning-sporting-activity-betting-on-the-internet
https://lukasexwoi.buyoutblog.com/15542572/the-best-side-of-sport-wagering-in-ohio
https://worldsportbetting86290.techionblog.com/15562379/a-testimonial-of-on-the-internet-sporting-activity-wagering
https://pokerface24455.digitollblog.com/15530979/the-wise-method-of-sport-betting-in-ohio-that-no-one-is-discussing
https://travishvroy.blogunok.com/15707020/the-2-minute-rule-for-sports-betting-probabilities
https://pokerfree61596.blog-eye.com/15571905/everything-about-sports-wagering-to-win
해외축구중계
(Barrybum, 24. 11. 2022 23:59)
프리미엄 스포츠중계 PICKTV(픽티비)는 회원가입없이 무료스포츠중계,월드컵중계 무료로 신청 가능합니다
rare resource
(ChrisIcopy, 23. 11. 2022 10:28)https://www.adamfigel.com/forum/design-forum/bitstarz-no-deposit-tiradas-gratis-bitstarz-kazino-oficialnyy-sayt-igrat-onlayn Bitstarz no deposit tiradas gratis, битстарз казино официальный сайт играть онлайн It allows people to keep their bitcoins in their computer or mobile device ( Ledger or Trezor ) safely.You can reuse old BTC addresses, but this isn't recommended.The unpretentious layout makes the navigation through the KingBit homepage much easier. https://www.g7assetmanagement.com.au/forum/business-forum/bitstarz-vs-bitstarz-fun Bitstarz vs, bitstarz fun On my powerful Windows 10 desktop, the Ignition Poker software still launches and loads a blank lobby at times.But since bitcoin is virtual, you store it digitally as a computer file in BTC wallet in your device or the cloud. https://www.vol-car.com/forum/welcome-to-the-cars-forum/bitstarz-australia-review Bitstarz australia review https://www.legendsranchshowpads.com/forum/welcome-to-the-forum/bitstarz-vremya-vyvoda-bitstarz-nonstopbonus Bitstarz время вывода, bitstarz nonstopbonus Exclusive bonuses are bolded in the list.Certain wagering requirements apply to Free Spins.A wonderful serenity has taken possession of my entire soul, like these sweet mornings. https://www.novushealthworks.org/forum/wellness-forum/bitstarz-ei-talletusbonusta-2022 Bitstarz ei talletusbonusta 2022 If we have one major criticism of 1xBit, it’s that the team is too secretive about what security measures it uses to keep customers’ personal data safe.Terms and conditions apply to the bonus offer. https://www.flitzerperformance.com/forum/welcome-to-the-cars-forum/bitstarz-bonus-senza-deposito-codes-for-existing-users Bitstarz bonus senza deposito codes for existing users
standard project
(MichaelPuH, 17. 11. 2022 2:38)https://harphr.com/activity/p/294782/ Feng shui colors for gambling Two US deposit methods?No promo codes Unique game roster Lots of bonuses Read Review.Online gambling sites try to attract more players. https://gamegiraffe.com/activity/p/731299/ Bitstarz casino bono sin depósito code 2021 Now you can write your own reviews and give your own star ratings (1 – 5 stars) under your comment.Finally, the most loyal customers are rewarded with comp points that can be further exchanged for money at the rate 1000 comp points = $1. https://snealth.com/activity/p/4140/ Drake casino no deposit code 2022
foto video cp pthc
(Matyhen, 14. 11. 2022 18:55)
Lolita Girls Fuck Collection
loli girl foto video cp pthc
yx.si/n5v
s.yjm.pl/BbtC
tw.uy/tw11l
Are you 18? Come in and don't be shy!
(AynVog, 12. 11. 2022 8:32)Welcome to the world of adult Dating loveawake.ru
1 win lucky jet
(DavidCAX, 10. 11. 2022 21:38)
Comentarios bater jogo na casa de apostas 1 win. Como jogar e ganhar dinheiro em.
Estrategia e truques para ganhar no 1 win Casino. Analogo do jogo aviator por Dinheiro. Jogo Predictor hack
lucky jet
(JeremyPanna, 10. 11. 2022 12:36)
Jogo A dinheiro multiplayer que permite ganhar dinheiro apostando em um grafico. Altos indices e pagamentos. Bonus do codigo promocional 2022.
jogar no Casino 1 win Yu
You are right, in it something is. I thank for the information, can, I too can help you something?
(DwainBow, 9. 11. 2022 20:09)
In my opinion you commit an error. Let's discuss. Write to me in PM.
https://ttsteroids.info
https://volgaru.info
round principle
(MichaelPuH, 9. 11. 2022 18:43)https://coursegate.co.uk/activity/p/1898496/ Bitstarz promo code ücretsiz döndürme They are a reward for just registering an account to a Bitcoin gambling site.That’s the fastest you are going to get from any online casino!Are Bitcoin Casinos Regulated? https://rzzrradio.live/activity/p/18321/ Club player casino sign up bonus We’ve come to expect instant transactions from crypto betting sites, but we don’t always get them, especially from hybrid sites.And if you and your referrals play enough, you can even unlock rewards like the latest electronic gadgets, hardware bitcoin wallets and gift certificates. https://skills-training.co.za/activity/p/1657/ Does pa have convience store slot machines
bingo!
(Marthadig, 5. 11. 2022 16:46)
https://www.newsplana.com/author/irishman888/
https://www.wefifo.com/user/profile/851921917453621
https://tipspoke.com/profile/john-251094
https://graphcommons.com/gamer777
https://completed.com/individual/30544191/john-barne
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
PC Portable
(WilliamFlice, 26. 11. 2022 19:48)