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ářů
https://telegra.ph/Jessa-Rhodes-Seduces-Gun-Saler-03-28
The amount of porphobilinogen PBG in urine is increased during attacks of AIP. yovkyqq
(Faqueme, 30. 12. 2022 4:43)Medicines tidings towards patients. Effects of Drug Abuse. In US https://pharmduck.com/ over the counter medication
This is Game Changer for Your Business in 2023
(Shanel, 28. 12. 2022 22:23)
Hey,
AI Creates An Online ‘Ready-To-Profit’ Business Using Just A Keyword & much More.
Use In Your Business or Sell To Clients For Big Bucks!
Watch AI Takes Over Your Marketing >>> https://bit.ly/millionaire2023weapon
Only Check it out if you want to Upgrade your Income to Next Level in 2023.
Cheers
Let’s monetize your website and propel you into Google’s Top 10!
(VoldemSlorb, 27. 12. 2022 11:01)
Hello!
Using unique recently developed by our IT engineers software, as well as advanced search engine strategies, we can create backlinks from trusted forums, sites, blogs, social bookmarks and networks, wiki and so on to your website. As a result, our backlinks are coming naturally from relevant and authoritative webpages where the link is followed with a descriptive anchor and are placed contextually within the editorial content. This is arguably the shortest way to propel you into Google’s Top 10.
According to our 17 year experience, using our SEO methods and strategies, average advance period in TOP-10 search engines is about 3-6 months (high-frequency queries), and with the integrated promotion of the site it will be in the top 10 search engines (some requests) within 2-3 weeks.
So, let’s increase a hundred times the number of high PR backlinks from trusted Internet resources to propel you into Google’s Top 10 and monetize your web site together!
A free Backlinks Report for your website is available on request. Just provide us with the following information below about your website, let us work on your project 2-3 days for free, and send you the Report. All the high PR backlinks to your site gained during this trial period will remain yours anyway.
1. Full website URL:
2. Website name:
3. Keywords (if no, we will choose ourselves):
4. Target category (if no, we will choose ourselves):
5. Small description of your services/goods (up to 250 words):
6. Full description of your services/goods (250-500 words):
7. Contact phone and email:
8. Twitter URL (if any):
9. Profile Image (if any):
Voldemar K.
Telegram - @Voldemar_2022;
WhatsApp +98 903 5688147
loli video cp
(oshuaExeda, 26. 12. 2022 23:50)
Lolita Girls Fuck Collection
loli video cp
tki.sk/4lL6N7
s.yjm.pl/BbtC
tw.uy/tw11l
Dope prescribing information. Brand name names. In Canada wqj79a
(Fichide, 26. 12. 2022 14:34)How often can you take albuterol https://symbicortinhaler.com/ symbicort inhaler 160/4.5 mcg
loli video cp
(oshuaExeda, 26. 12. 2022 7:09)
Lolita Girls Fuck Collection
loli video cp
tki.sk/4lL6N7
s.yjm.pl/BbtC
tw.uy/tw11l
https://colab.research.google.com/drive/1fx9pGgQB1j-8NgZbJN5FNh7a5VJnIvUW?usp=sharing
(Thomaswhody, 25. 12. 2022 19:45)
https://colab.research.google.com/drive/1Ydo7wlR3yUHa4PIUqLGbd2MabF-vUAa0?usp=sharing
https://colab.research.google.com/drive/1M50XQXomRIouOrWM5oluBMXIx6bl0GEj?usp=sharing
https://colab.research.google.com/drive/1vdkqvrMv31387ojwCKbo9TX5vlBOqyKO?usp=sharing
https://colab.research.google.com/drive/1JuCUMIxpA8kTnLCN6QKI8BeiJsJsJcRS?usp=sharing
https://colab.research.google.com/drive/1DPeMbpwK3sk719bDm3sBBJJEmUjjzdVQ?usp=sharing
How to buying Google
(DavidTaw, 25. 12. 2022 15:03)That means you'll see some stylish features and have access to additional channels where you can pick up visibility, without having to put to rights mother wit of some ornate, vade-mecum migration process. https://googlec5.com
loli video
(ChalesSap, 25. 12. 2022 6:09)
Lolita Girls Fuck Collection
loli video cp
tki.sk/4lL6N7
s.yjm.pl/BbtC
tw.uy/tw11l
Drug information leaflet. Long-Term Effects. hhp42y
(FaUnark, 24. 12. 2022 1:01)What Happens If We Set free Sperm Daily? There's nothing to suggest that ejaculating quotidian is unhealthy. Customary ejaculation has no physical side effects and, so sustained as it's not associated with lingering masturbation or porn addiction, it can in actuality be salutary to your emotional well-being. https://sibluevi.com/ viagra 100 mg tablet price
Pills information. Drug Class. rcdauxo
(Posmava, 21. 12. 2022 22:17)
Meds info sheet. Cautions.
https://propecia24.top/ finasteride 5mg side effects
Some what you covet to differentiate about medication. Get here.
Pills information. What side effects? udpxje
(FaErelt, 21. 12. 2022 1:58)What food heals your liver and https://flagylpls.com/ metronidazole flagyl 500 mg oral tablet
⭐FREE DOWNLOAD⭐ Yummy Keto Recipes
(Geraldalubs, 18. 12. 2022 22:32)
Reduce Weight & Consume Yummy Food
nba중계
(JamesHetty, 17. 12. 2022 4:48)
프리미엄 스포츠중계 PICKTV(픽티비)는 회원가입없이 무료스포츠중계,월드컵중계,무료TV시청이 무료로 가능합니다
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
liverbuctuntee
(Vernonsonee, 30. 12. 2022 9:05)