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ářů
It's really a nice and helpful piece of information. I'm happy that you simply shared this helpful information with us. Please keep us up to date like this. Thank you for sharing. grått hår efter cellgifter geti.prizsewoman.com/map19.php
rosenrot bästa märket
(rosenrot bästa märket, 13. 11. 2021 20:56)
Truly when someone doesn't be aware of afterward its up to other visitors that they will help, so here it happens. rosenrot bästa märket lilfa.teswomango.com/map23.php
Portal
(MephaSalipax, 13. 11. 2021 9:25)
hey there and thank you for your information – I have definitely picked up something new from right here. I did however expertise some technical points using this site, as I experienced to reload the site lots of times previous to I could get it to load properly. I had been wondering if your hosting is OK? Not that I am complaining, but sluggish loading instances times will often affect your placement in google and could damage your quality score if advertising and marketing with Adwords. Anyway I'm adding this RSS to my e-mail and could look out for a lot more of your respective intriguing content. Ensure that you update this again soon.
weleda almond facial oil
(weleda almond facial oil, 13. 11. 2021 8:03)
Greetings I am so grateful I found your website, I really found you by mistake, while I was searching on Google for something else, Anyways I am here now and would just like to say kudos for a tremendous post and a all round thrilling blog (I also love the theme/design), I don't have time to look over it all at the minute but I have bookmarked it and also added your RSS feeds, so when I have time I will be back to read more, Please do keep up the superb job. weleda almond facial oil search.sewomabest.com/map28.php
Nongkrong Sambil Tampil Bersama Kucing Pada Medan Pet Cafe
(TeodoroTeemi, 13. 11. 2021 7:47)
<h1>Nama Kucing</h1>
https://blogs.uajy.ac.id/infopendidikan/2021/06/03/kumpulan-nama-kucing-jantan-dan-betina-2021/
<p>Nama dengan kearifan lokal berikut cukup unik guna disematkan pada kucing kesayangan Anda. Guna kucing dengan serat lebat nan lagak, nama Fluffy amat cocok untuk menunjukkan fisik kucing tersebut. Pastinya Anda mau merasa semakin gemas dengan peliharaan ini. Nama ini sesuai juga cocok dipergunakan untuk nama kucing laki-laki yang berbulu tebal dan panjang. Kucing yang memiliki karakter baik satwa setia cocok untuk diberi nama Bailey. Nama ini sesuai untuk kucing Dikau yang gendut & berbulu lebat.</p>
<p>Kucing Bengal terutama masih satu sanak dengan macan tutul. Kamu tidak perlu khawatir karena meong jenis ini mempunyai sifat yang jinak dan sangat renceng mulut sebagai hewan piaraan. Berikut ini Bobo berikan 20 ide nama kucing yang lucu dan unik. Penasaran apa identitas hewan peliharaan nun paling sering diberikan pemilik kucing buat hewan berbulu kesayangannya? Melansir dari variasi sumber, berikut itu 15 inspirasi identitas kucing yang mengelokkan unik dan populer.</p>
<p>Kucing kampung juga tidak merindukan perawatan khusus seperti kucing ras unik yang mempunyai karakteristik khas. Jadi awak tidak repot-repot menempatkan banyak hal guna jenis kucing itu. Nama Stevie berawal dari bahasa Inggris dan diambil dari kata Stephen ataupun Stephanie. Namun, nama Stevie cenderung dipakai untuk anak cewek atau kucing perempuan.</p>
<p>Sampeyan bisa mengajari ananda putrimu tanggung respons atas hewan tajuk mahkota yang menemani meronce bermain sehari-hari. Sebutan ini sangat nyaman dipakai untuk sobat bulu yang acap banyak gerak. Di dalam sejarah Islam sendiri, kucing memang memiliki keistimewaan yang super serius dibandingkan dgn hewan lain. Seri dewi bulan di dalam mitologi Romawi, Luna juga berarti "bulan" dalam bahasa Latin. "Nama yang singkat dan unik menyerupai Luna memudahkan meong Anda untuk berlatih, " ujar Lambert Wang, salah satu pendiri Cat Insan.</p>
<p>Identitas yang satu itu juga bisa jadi rekomendasi yang tepat untuk peliharaanmu. Aming mempunyai arti berpendar sehingga sesuai untuk kucingmu yang memapah sinar kebahagiaan. Guna kamu yang mempunyai kucing dengan bentuk badan gendut-bulat, nama ini pasti cocok untuk diberikan. Seri yang bagus untuk kucing dengan kepribadian yang berkembang baik.</p>
<p>Sendat laun, menu terikan itu mulai tergeser dengan menu nasi bungkus dengan lauk secuil daging bandeng atau gereh lengkap dengan sambal. Nama menu tersebut penghujung dikenal dengan nasi kucing dan mengecap hingga kini. Bila kamu tidak hendak ketinggalan informasi nyata tentang kos-kosannya oleh sebab itu segera unduh penggunaan Mamikos di App Store dan Play Store sekarang.</p>
kolloidalt silver wiki
(kolloidalt silver wiki, 12. 11. 2021 23:29)
Very good article. I am facing many of these issues as well.. kolloidalt silver wiki jado.teswomango.com/map22.php
krakel spektakel abc
(krakel spektakel abc, 12. 11. 2021 14:25)
We absolutely love your blog and find many of your post's to be exactly I'm looking for. Would you offer guest writers to write content for you personally? I wouldn't mind producing a post or elaborating on a few of the subjects you write related to here. Again, awesome web site! krakel spektakel abc mostli.sewomabest.com/map4.php
värk i gommen
(värk i gommen, 11. 11. 2021 14:02)
Having read this I thought it was really informative. I appreciate you finding the time and effort to put this article together. I once again find myself personally spending way too much time both reading and leaving comments. But so what, it was still worth it! värk i gommen biosu.sewomabest.com/map12.php
fontana grekisk yoghurt
(fontana grekisk yoghurt, 11. 11. 2021 5:04)
I am truly grateful to the holder of this website who has shared this great post at at this place. fontana grekisk yoghurt unme.sewomabest.com/map17.php
hur många kalorier innehåller en kebabtallrik
(hur många kalorier innehåller en kebabtallrik, 10. 11. 2021 20:32)
Hi there! I know this is kinda off topic but I was wondering which blog platform are you using for this site? I'm getting tired of Wordpress because I've had issues with hackers and I'm looking at options for another platform. I would be fantastic if you could point me in the direction of a good platform. hur många kalorier innehåller en kebabtallrik unme.sewomabest.com/map18.php
hudcancer symtom klåda
(hudcancer symtom klåda, 10. 11. 2021 9:06)
Quality content is the main to invite the users to pay a quick visit the web site, that's what this site is providing. hudcancer symtom klåda hogurg.prizsewoman.com/map13.php
fransförlängning stockholm billigt
(fransförlängning stockholm billigt, 9. 11. 2021 1:51)
Right here is the perfect site for anybody who wants to find out about this topic. You understand a whole lot its almost hard to argue with you (not that I really would want to…HaHa). You definitely put a fresh spin on a subject which has been discussed for decades. Excellent stuff, just excellent! fransförlängning stockholm billigt nieser.sewomabest.com/map3.php
Which your favorite love records on MojoHeadz record label?
(SlattStikitle, 8. 11. 2021 18:59)Experimentation is something MOJOHEADZ records, thrives on. Although primarily recognised as a techno music brand, MOJOHEADZ refuses to stick within the template that comes with that.Check my reviews! https://jaxsta.com/profile/bacf1fbd-25e8-4731-8676-a6a5e782cbbb/catalogue?view=tile
släpvagn med galler
(släpvagn med galler, 8. 11. 2021 17:10)
Hey there! This is kind of off topic but I need some guidance from an established blog. Is it very hard to set up your own blog? I'm not very techincal but I can figure things out pretty quick. I'm thinking about setting up my own but I'm not sure where to start. Do you have any points or suggestions? With thanks släpvagn med galler obgov.prizsewoman.com/map7.php
klippoteket jönköping personal
(klippoteket jönköping personal, 8. 11. 2021 8:07)
I like the valuable info you provide in your articles. I will bookmark your weblog and check again here frequently. I'm quite certain I will learn many new stuff right here! Good luck for the next! klippoteket jönköping personal memme.prizsewoman.com/map8.php
hoppa studsmatta kalorier
(hoppa studsmatta kalorier, 7. 11. 2021 23:15)
Paragraph writing is also a excitement, if you be acquainted with then you can write otherwise it is difficult to write. hoppa studsmatta kalorier hogurg.prizsewoman.com/map4.php
hur förökar sig celler
(hur förökar sig celler, 7. 11. 2021 14:11)
Link exchange is nothing else however it is only placing the other person's blog link on your page at appropriate place and other person will also do same for you. hur förökar sig celler crabra.teswomango.com/map10.php
clip on slingor
(clip on slingor, 7. 11. 2021 5:23)
Hello, this weekend is good for me, since this point in time i am reading this great educational paragraph here at my home. clip on slingor checa.teswomango.com/map25.php
cesar millan halsband
(cesar millan halsband, 6. 11. 2021 20:41)
Stunning story there. What happened after? Thanks! cesar millan halsband gutfm.prizsewoman.com/map3.php
best cbd suppositories
(Anthonydab, 6. 11. 2021 12:35)dani botanicals No coupon code needed - discount automatically applied at checkout. https://saint-lazarus.org
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
grått hår efter cellgifter
(grått hår efter cellgifter, 14. 11. 2021 15:47)