Úvod do XHTML

Úvod do XHTML

XHTML nebo EXtensible HyperText Markup Language je mix HTML a XML, velmi podobný HTML ale přísnější. Je to jako kniha pravidel pro vytváření webových stránek, kterým prohlížeče snadno porozumí. Na rozdíl od HTML musíte být opatrní a přesně dodržovat pravidla. Většina prohlížečů to podporuje. Představte si to jako přesnější způsob psaní webového kódu.

Obsah

Dějiny

Byl vyvinut konsorciem World Wide Web Consortium (W3C) a pomáhá webovým vývojářům při přechodu z HTML na XML. S XHTML mohou vývojáři vstoupit do světa XML se všemi jeho funkcemi a zároveň zajistit zpětnou a budoucí kompatibilitu obsahu. Rodina XHTML zahrnuje tři typy dokumentů; první je XHTML 1.0, které bylo doporučeno W3C 26. ledna 2000. Druhým je XHTML 1.1, které bylo doporučeno W3C 31. května 2001.

Třetím je XHTML5, standard používaný pro vývoj XML adaptace specifikace HTML5. Dokument XHTML musí mít deklaraci XHTML.

Prvky XHTML:

Prvek XHTML Popis
> Používá se k deklaraci definice typu dokumentu (DTD), která určuje pravidla pro značkovací jazyk a zajišťuje správné vykreslování v prohlížečích.
> Uzavře celý dokument HTML nebo XHTML a slouží jako kořenový prvek.
> Obsahuje metainformace o dokumentu, jako je název, znaková sada, propojené šablony stylů a další důležité prvky.
> Vnořený do sekce head určuje název dokumentu zobrazený v záhlaví nebo na kartě prohlížeče.
> Uzavře obsah webové stránky, včetně textu, obrázků, odkazů a dalších prvků HTML. Představuje viditelnou část dokumentu zobrazenou v prohlížeči.

Při vytváření XHTML webové stránky je nutné zahrnout deklaraci DTD (Document Type Definition). Existují tři typy DTD, které jsou popsány níže:

Přechodné DTD:

Je podporován staršími prohlížeči, které nemají vestavěnou podporu kaskádových stylů. Ve značce body je uzavřeno několik atributů, které nejsou povoleny ve striktním DTD.

Syntax:

 PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'DTD/xhtml1-transitional.dtd'> 

Příklad: V tomto příkladu uvidíme kód pro psaní XHTML dokumentu s příkladem.

html




xml version='1.0' encoding='UTF-8'?> Přechodné DTD XHTMLtitle> hlava> <body bgcolor='#dae1ed'> <div>font-weight:bold;text-align:center; margin-bottom:-25px;'>techcodeview.comdiv> <p style='text-align:center;font-size:20px;'>Portál počítačových věd> <p style='text-align:center;font-size:20px;'>Možnost výběru měsíce: <select name='month'> <option selected='selected'>Možnost ledna> <option>Únorová varianta> <option>Marchoption> <option>Dubenoption> <option>Mayoption> <option>Možnost června> <option>Možnost července> <option>Augusyopce> <option>Možnost září> <option>Možnost října> <option>Možnost listopadu> <option>Možnost prosince> vybrat> p> tělo> html>> </code> </td> </tr> </tbody> </table> <p> </p> <i id='output-icon' title='Output'> </i> <p> </p> <p> </p> <i id='copy-url-button' title='Copy Generated Ide URL'> </i> <p> </p> <p> </p> <p dir='ltr'> <b> <strong>Výstup: </strong> </b> </p> <p> <img src='//techcodeview.com/img/html-xml/79/xhtml-introduction.webp' alt='přechodné dtd xhtml'> <span> </span> </p> <h2 id='strict-dtd'> <b> <strong>Přísné DTD: </strong> </b> <span> </span> </h2> <p dir='ltr'> <span>Strict DTD se používá, když stránka XHTML obsahuje pouze značkovací jazyk. Strict DTD se používá spolu s kaskádovými styly, protože tento atribut neumožňuje vlastnost CSS v značce body. </span> </p> <h3> <b> <strong>Syntax: </strong> </b> </h3> <pre> PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'DTD/xhtml1-strict.dtd'> </pre> <p dir='ltr'> <b> <strong>Příklad 2: </strong> </b> <span>V tomto příkladu uvidíme kód pro psaní XHTML dokumentu s příkladem pro striktní DTD. </span> </p> <h2>html </h2> <i id='copy-code-button' title='Copy Code'> </i> <p> </p> <p> <i id='run-and-edit-button' title='Edit Code' lang='xml'> </i> <br> </p> <p> <i id='run-code-button' lang='xml' title='Run Code and See Output'> </i> </p> <p> <i id='generate-url-and-run-button' title='Run Code and Generate IDE URL' lang='xml'> </i> <br> <i title='Dark Mode'> </i> <br> <i id='edit-on-ide-button' title='Edit on IDE' lang='xml'> </i> </p> <p> </p> <table class="table"> <tbody> <tr> <td> <code>xml version='1.0' encoding='UTF-8'?> <html xmlns=' http://www.w3.org/1999/xhtml ' xml:lang='en' lang='en'> <head> <title>Přísné DTD XHTMLtitle> head> <body> <div>font-weight:bold;text-align:center; margin-bottom:-25px;'>techcodeview.comdiv> <p style='text-align:center;font-size:20px;'>Portál počítačových věd> <p style='text-align:center;font-size:20px;'>Možnost výběru měsíce: <select name='month'> <option selected='selected'>Možnost ledna> <option>Únorová varianta> <option>Marchoption> <option>Dubenoption> <option>Mayoption> <option>Možnost června> <option>Možnost července> <option>Augusyopce> <option>Možnost září> <option>Možnost října> <option>Možnost listopadu> <option>Možnost prosince> vybrat> p> tělo> html>> </code> </td> </tr> </tbody> </table> <p> </p> <i id='output-icon' title='Output'> </i> <p> </p> <p> </p> <i id='copy-url-button' title='Copy Generated Ide URL'> </i> <p> </p> <p> </p> <p dir='ltr'> <b> <strong>Výstup: </strong> </b> </p> <p> <span> </span> <img src='//techcodeview.com/img/html-xml/79/xhtml-introduction-2.webp' alt='přísné dtd xhtml'> <span> </span> </p> <h2 id='frameset-dtd'> <b> <strong>Rámová sada DTD: </strong> </b> <span> </span> </h2> <p dir='ltr'> <span>Sada rámců DTD se používá, když stránka XHTML obsahuje rámce. Tento DTD je shodný s HTML 4.01 Transitional DTD s výjimkou modelu obsahu prvku HTML. </span> </p> <h3> <b> <strong>Syntax: </strong> </b> </h3> <pre> PUBLIC '-//W3C//DTD XHTML 1.0 Frameset//EN' 'DTD/xhtml1-frameset.dtd'> </pre> <p dir='ltr'> <b> <strong>Příklad 2: </strong> </b> <span>V tomto příkladu uvidíme kód pro psaní XHTML dokumentu s příkladem pro frameset DTD. </span> </p> <h2>html </h2> <i id='copy-code-button' title='Copy Code'> </i> <p> </p> <p> <i id='run-and-edit-button' title='Edit Code' lang='xml'> </i> <br> </p> <p> <i id='run-code-button' lang='xml' title='Run Code and See Output'> </i> </p> <p> <i id='generate-url-and-run-button' title='Run Code and Generate IDE URL' lang='xml'> </i> <br> <i title='Dark Mode'> </i> <br> <i id='edit-on-ide-button' title='Edit on IDE' lang='xml'> </i> </p> <p> </p> <table class="table"> <tbody> <tr> <td> <code>xml version='1.0' encoding='UTF-8'?>http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd '> <html xmlns=' http://www.w3.org/1999/xhtml ' xml:lang='en' lang='en'> <head> <title>Sada rámů DTD XHTMLtitle> head> <frameset cols='30%, 20%, *'> <frameset rows='40%, 30%, *'> <frame src='gfg.html' /> <frame src='gfg1.html' /> <frame src='geeks.html' />sada rámců> <frameset rows='40%, 60%'> <frame src='g4g.html' /> <frame src='g4g1.html' />sada rámců> <frameset rows='20%, 20%, 30%, *'> <frame src='geeksforgeeks.html' /> <frame src='geeksforgeeks1.html' /> <frame src='geeksforgeeks2.html' /> <frame src='geeksforgeeks3.html' />frameset> frameset> html>> </code> </td> </tr> </tbody> </table> <p> </p> <i id='output-icon' title='Output'> </i> <p> </p> <p> </p> <i id='copy-url-button' title='Copy Generated Ide URL'> </i> <p> </p> <p> </p> <p dir='ltr'> <b> <strong>Výstup: </strong> </b> </p> <h2 id='why-use-xhtml'> <img src='//techcodeview.com/img/html-xml/79/xhtml-introduction-3.webp' alt='sada rámců dtd xhtml'> <b> <strong>Proč používat XHTML? </strong> </b> </h2> <ul> <li value='1'> <span>Dokumenty XHTML jsou ověřovány standardními nástroji XML. </span> </li> <li value='2'> <span>Je snadné udržovat, převádět a upravovat dokument z dlouhodobého hlediska. </span> </li> <li value='3'> <span>Slouží k definování standardu kvality webových stránek. </span> </li> <li value='4'> <span>XHTML je oficiální standard W3C, vaše webové stránky budou kompatibilní a přesnější s mnoha prohlížeči. </span> </li> </ul> <h2 id='benefits-of-xhtml'> <b> <strong>Výhody XHTML: </strong> </b> </h2> <ul> <li value='1'> <span>Všechny značky XHTML musí mít uzavírací značky a jsou správně vnořeny. Tím se vygeneruje čistší kód. </span> </li> <li value='2'> <span>Dokumenty XHTML jsou štíhlé, což znamená, že využívají menší šířku pásma. To snižuje náklady, zejména pokud má váš web 1000 stránek. </span> </li> <li value='3'> <span>Dokumenty XHTML jsou dobře naformátované a dobře tvarované a lze je snadno přenášet do bezdrátových zařízení, čteček Braillova písma a dalších specializovaných webových prostředí. </span> </li> <li value='4'> <span>Všechny novinky budou v XML (jehož aplikací je XHTML). </span> </li> <li value='5'> <span>XHTML spolupracuje s CSS a vytváří webové stránky, které lze snadno aktualizovat. </span> </li> </ul> <h2 id='difference-between-html-and-xhtml'> <b> <strong>Rozdíl mezi HTML a XHTML: </strong> </b> </h2> <table class="table"> <tbody> <tr> <th> <span>HTML </span> </th> <th> <span>XHTML </span> </th> </tr> </tbody> <tbody> <tr> <td> <span>HTML nebo HyperText Markup Language je hlavní značkovací jazyk pro vytváření webových stránek </span> </td> <td> <span>XHTML (Extensible HyperText Markup Language) je rodina značkovacích jazyků XML, které odrážejí nebo rozšiřují verze široce používaného jazyka HTML (Hypertext Markup Language). </span> </td> </tr> <tr> <td> <span>Flexibilní rámec vyžadující shovívavý analyzátor specifický pro HTML </span> </td> <td> <span>Omezující podmnožina XML, kterou je třeba analyzovat pomocí standardních analyzátorů XML </span> </td> </tr> <tr> <td> <span>Navrhl Tim Berners-Lee v roce 1987 </span> </td> <td> <span>Doporučení konsorcia World Wide Web v roce 2000. </span> </td> </tr> <tr> <td> <span>Aplikace standardního zobecněného značkovacího jazyka (SGML). </span> </td> <td> <span>Aplikace XML </span> </td> </tr> <tr> <td> <span>Rozšířeno z SGML. </span> </td> <td> <span>Rozšířeno z XML, HTML </span> </td> </tr> </tbody> </table> <br> <br> </div> <!-- Article Footer with Prominent Share Buttons --> <div class="px-6 md:px-8 py-8 bg-slate-50 dark:bg-slate-900/50 border-t border-slate-200 dark:border-slate-700/50"> <div class="flex flex-col sm:flex-row items-center justify-between gap-6"> <h4 class="text-base font-bold text-slate-700 dark:text-slate-300 uppercase tracking-wide flex items-center gap-2"> <i class="fa fa-share-alt text-tech-500"> </i> Podíl </h4> <div class="flex flex-wrap justify-center gap-3"> <!-- Twitter --> <a href="https://twitter.com/intent/tweet?text=Úvod do XHTML&url=https://www.techcodeview.com/cs/xhtml-introduction" target="_blank" rel="noopener noreferrer" class="flex items-center gap-2 px-6 py-3 rounded-xl bg-[#1DA1F2]/10 text-[#1DA1F2] hover:bg-[#1DA1F2] hover:text-white transition-all duration-300 font-bold text-sm"> <i class="fa fa-twitter text-lg"> </i> <span class="hidden sm:inline">Twitter </span> </a> <!-- Facebook --> <a href="https://www.facebook.com/sharer/sharer.php?u=https://www.techcodeview.com/cs/xhtml-introduction" target="_blank" rel="noopener noreferrer" class="flex items-center gap-2 px-6 py-3 rounded-xl bg-[#4267B2]/10 text-[#4267B2] hover:bg-[#4267B2] hover:text-white transition-all duration-300 font-bold text-sm"> <i class="fa fa-facebook text-lg"> </i> <span class="hidden sm:inline">Facebook </span> </a> <!-- LinkedIn --> <a href="https://www.linkedin.com/shareArticle?mini=true&url=https://www.techcodeview.com/cs/xhtml-introduction&title=Úvod do XHTML" target="_blank" rel="noopener noreferrer" class="flex items-center gap-2 px-6 py-3 rounded-xl bg-[#0077b5]/10 text-[#0077b5] hover:bg-[#0077b5] hover:text-white transition-all duration-300 font-bold text-sm"> <i class="fa fa-linkedin text-lg"> </i> <span class="hidden sm:inline">LinkedIn </span> </a> </div> </div> </div> </article> <!-- Comments Placeholder / Random Articles --> <div class="mt-8 bg-white dark:bg-slate-800 border border-slate-200 dark:border-slate-700 rounded-xl p-6 md:p-8 shadow-sm"> <h3 class="text-xl font-bold text-slate-900 dark:text-white mb-6 uppercase tracking-wide border-b border-slate-200 dark:border-slate-700 pb-2"> Mohlo By Se Vám Líbit </h3> <div class="grid grid-cols-1 md:grid-cols-2 gap-6"> <div class="group"> <a href="/cs/merge-sort-data-structure" class="block aspect-video rounded-lg overflow-hidden bg-slate-200 dark:bg-slate-700 mb-3"> <img loading="lazy" src="https://techcodeview.com/img/amazon/13/merge-sort-data-structure.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Sloučit řazení – Výukové programy pro datovou strukturu a algoritmy" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"> </a> <h4 class="font-bold text-slate-900 dark:text-white leading-tight group-hover:text-tech-500 transition-colors"> <a href="/cs/merge-sort-data-structure">Sloučit řazení – Výukové programy pro datovou strukturu a algoritmy </a> </h4> </div> <div class="group"> <a href="/cs/bash-scripting-difference-between-zsh" class="block aspect-video rounded-lg overflow-hidden bg-slate-200 dark:bg-slate-700 mb-3"> <img loading="lazy" src="https://techcodeview.com/img/bash-script/82/bash-scripting-difference-between-zsh.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Bash Scripting – rozdíl mezi Zsh a Bash" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"> </a> <h4 class="font-bold text-slate-900 dark:text-white leading-tight group-hover:text-tech-500 transition-colors"> <a href="/cs/bash-scripting-difference-between-zsh">Bash Scripting – rozdíl mezi Zsh a Bash </a> </h4> </div> </div> </div> </div> <!-- SECONDARY COLUMN (SIDEBAR) --> <!-- Aside Column --> <div class="lg:col-span-4 space-y-8"> <!-- Best Articles Widget --> <div class="rounded-xl bg-white dark:bg-slate-800 border border-slate-200 dark:border-slate-700 p-6 shadow-sm"> <div class="mb-4 border-b border-slate-100 dark:border-slate-700 pb-2"> <h2 class="text-lg font-bold text-slate-900 dark:text-white uppercase tracking-wide flex items-center"> <span class="mr-2 h-2 w-2 rounded-full bg-tech-500"> </span> Nejlepší Články </h2> </div> <!-- Owl Carousel Preserved Container --> <div id="owl-carousel-3" class="owl-carousel owl-theme center-owl-nav"> <!-- ARTICLE --> <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors"> <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700"> <a href="/cs/scan-c-scan-algorithm"> <img src="https://techcodeview.com/img/operating-system/15/scan-c-scan-algorithm.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Algoritmus SCAN a C-SCAN" class="w-full h-full object-cover"> </a> </div> <div class="flex-1 min-w-0"> <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug"> <a href="/cs/scan-c-scan-algorithm" class="hover:text-tech-500 transition-colors line-clamp-3">Algoritmus SCAN a C-SCAN </a> </h4> </div> </article> <!-- /ARTICLE --> <!-- ARTICLE --> <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors"> <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700"> <a href="/cs/breadth-first-search"> <img src="https://techcodeview.com/img/bfs/78/breadth-first-search.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="První vyhledávání šířky nebo BFS pro graf" class="w-full h-full object-cover"> </a> </div> <div class="flex-1 min-w-0"> <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug"> <a href="/cs/breadth-first-search" class="hover:text-tech-500 transition-colors line-clamp-3">První vyhledávání šířky nebo BFS pro graf </a> </h4> </div> </article> <!-- /ARTICLE --> <!-- ARTICLE --> <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors"> <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700"> <a href="/cs/java-tuple"> <img src="https://techcodeview.com/img/java-tutorial/86/java-tuple.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Java Tuple" class="w-full h-full object-cover"> </a> </div> <div class="flex-1 min-w-0"> <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug"> <a href="/cs/java-tuple" class="hover:text-tech-500 transition-colors line-clamp-3">Java Tuple </a> </h4> </div> </article> <!-- /ARTICLE --> <!-- ARTICLE --> <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors"> <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700"> <a href="/cs/discrete-mathematics-tutorial"> <img src="https://techcodeview.com/img/discrete-mathematics/73/discrete-mathematics-tutorial.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Výuka diskrétní matematiky" class="w-full h-full object-cover"> </a> </div> <div class="flex-1 min-w-0"> <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug"> <a href="/cs/discrete-mathematics-tutorial" class="hover:text-tech-500 transition-colors line-clamp-3">Výuka diskrétní matematiky </a> </h4> </div> </article> <!-- /ARTICLE --> <!-- ARTICLE --> <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors"> <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700"> <a href="/cs/roman-numerals-1-100"> <img src="https://techcodeview.com/img/maths/75/roman-numerals-1-100.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Římské číslice 1 až 100" class="w-full h-full object-cover"> </a> </div> <div class="flex-1 min-w-0"> <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug"> <a href="/cs/roman-numerals-1-100" class="hover:text-tech-500 transition-colors line-clamp-3">Římské číslice 1 až 100 </a> </h4> </div> </article> <!-- /ARTICLE --> <!-- ARTICLE --> <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors"> <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700"> <a href="/cs/html-tag"> <img src="https://techcodeview.com/img/html-tags/55/html-tag.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="HTML tag" class="w-full h-full object-cover"> </a> </div> <div class="flex-1 min-w-0"> <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug"> <a href="/cs/html-tag" class="hover:text-tech-500 transition-colors line-clamp-3">HTML tag </a> </h4> </div> </article> <!-- /ARTICLE --> <!-- ARTICLE --> <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors"> <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700"> <a href="/cs/trigonometry-table-trigonometric-ratios"> <img src="https://techcodeview.com/img/maths-class-11/54/trigonometry-table-trigonometric-ratios.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Trigonometrická tabulka | Trigonometrické poměry a vzorce" class="w-full h-full object-cover"> </a> </div> <div class="flex-1 min-w-0"> <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug"> <a href="/cs/trigonometry-table-trigonometric-ratios" class="hover:text-tech-500 transition-colors line-clamp-3">Trigonometrická tabulka | Trigonometrické poměry a vzorce </a> </h4> </div> </article> <!-- /ARTICLE --> <!-- ARTICLE --> <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors"> <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700"> <a href="/cs/how-wrap-text-html"> <img src="https://techcodeview.com/img/html-tutorial/53/how-wrap-text-html.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Jak zalomit text v Html" class="w-full h-full object-cover"> </a> </div> <div class="flex-1 min-w-0"> <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug"> <a href="/cs/how-wrap-text-html" class="hover:text-tech-500 transition-colors line-clamp-3">Jak zalomit text v Html </a> </h4> </div> </article> <!-- /ARTICLE --> <!-- ARTICLE --> <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors"> <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700"> <a href="/cs/linux-traceroute-command"> <img src="https://techcodeview.com/img/linux-networking/69/linux-traceroute-command.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Linuxový příkaz traceroute" class="w-full h-full object-cover"> </a> </div> <div class="flex-1 min-w-0"> <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug"> <a href="/cs/linux-traceroute-command" class="hover:text-tech-500 transition-colors line-clamp-3">Linuxový příkaz traceroute </a> </h4> </div> </article> <!-- /ARTICLE --> <!-- ARTICLE --> <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors"> <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700"> <a href="/cs/environment-variables-linux-unix"> <img src="https://techcodeview.com/img/linux-command/65/environment-variables-linux-unix.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Proměnné prostředí v Linuxu/Unixu" class="w-full h-full object-cover"> </a> </div> <div class="flex-1 min-w-0"> <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug"> <a href="/cs/environment-variables-linux-unix" class="hover:text-tech-500 transition-colors line-clamp-3">Proměnné prostředí v Linuxu/Unixu </a> </h4> </div> </article> <!-- /ARTICLE --> </div> <!-- Categories --> <div class="mt-8 mb-4 border-b border-slate-100 dark:border-slate-700 pb-2"> <h2 class="text-lg font-bold text-slate-900 dark:text-white uppercase tracking-wide">Kategorie </h2> </div> <div class="flex flex-wrap gap-2"> <a href="/cs/blog/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors"> Blog </a> <a href="/cs/java-conversion/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors"> Java Konverze </a> <a href="/cs/maths/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors"> Matematika </a> <a href="/cs/java-collections/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors"> Kolekce Java </a> <a href="/cs/differences/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors"> Rozdíly </a> <a href="/cs/java-string/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors"> Řetězec Java </a> </div> <!-- Interesting Articles Widget --> <div class="mt-8"> <div class="mb-4 border-b border-slate-100 dark:border-slate-700 pb-2"> <h2 class="text-lg font-bold text-slate-900 dark:text-white uppercase tracking-wide">Zajímavé Články </h2> </div> <div id="owl-carousel-4" class="owl-carousel owl-theme"> <!-- ARTICLE --> <article class="relative aspect-video rounded-lg overflow-hidden group mb-2"> <div class="absolute inset-0"> <img src="https://techcodeview.com/img/blog/32/how-write-good-consult-note.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Jak napsat dobrou konzultaci Poznámka: Tipy a šablona" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"> <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div> </div> <div class="absolute bottom-0 left-0 p-4"> <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/cs/blog/">Blog </a> </div> <h4 class="text-sm font-bold text-white leading-tight"> <a href="/cs/how-write-good-consult-note-1311228">Jak napsat dobrou konzultaci Poznámka: Tipy a šablona </a> </h4> </div> </article> <!-- /ARTICLE --> <!-- ARTICLE --> <article class="relative aspect-video rounded-lg overflow-hidden group mb-2"> <div class="absolute inset-0"> <img src="https://techcodeview.com/img/analysis-of-algorithms/63/asymptotic-analysis-and-comparison-of-sorting-algorithms.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Asymptotická analýza a porovnání třídicích algoritmů" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"> <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div> </div> <div class="absolute bottom-0 left-0 p-4"> <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/cs/analysis-of-algorithms/">Analýza algoritmů </a> </div> <h4 class="text-sm font-bold text-white leading-tight"> <a href="/cs/asymptotic-analysis-and-comparison-of-sorting-algorithms">Asymptotická analýza a porovnání třídicích algoritmů </a> </h4> </div> </article> <!-- /ARTICLE --> <!-- ARTICLE --> <article class="relative aspect-video rounded-lg overflow-hidden group mb-2"> <div class="absolute inset-0"> <img src="https://techcodeview.com/img/ds-tutorial/03/insertion-sort-algorithm.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Algoritmus řazení vložení" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"> <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div> </div> <div class="absolute bottom-0 left-0 p-4"> <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/cs/ds-tutorial/">Výuka Ds </a> </div> <h4 class="text-sm font-bold text-white leading-tight"> <a href="/cs/insertion-sort-algorithm">Algoritmus řazení vložení </a> </h4> </div> </article> <!-- /ARTICLE --> <!-- ARTICLE --> <article class="relative aspect-video rounded-lg overflow-hidden group mb-2"> <div class="absolute inset-0"> <img src="https://techcodeview.com/img/bash-tutorial/41/bash-write-file.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Bash Zápis do souboru" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"> <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div> </div> <div class="absolute bottom-0 left-0 p-4"> <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/cs/bash-tutorial/">Bash Návod </a> </div> <h4 class="text-sm font-bold text-white leading-tight"> <a href="/cs/bash-write-file">Bash Zápis do souboru </a> </h4> </div> </article> <!-- /ARTICLE --> <!-- ARTICLE --> <article class="relative aspect-video rounded-lg overflow-hidden group mb-2"> <div class="absolute inset-0"> <img src="https://techcodeview.com/img/blog/26/easy-trick-convert-celsius-fahrenheit.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Jednoduchý trik pro převod stupňů Celsia na Fahrenheita" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"> <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div> </div> <div class="absolute bottom-0 left-0 p-4"> <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/cs/blog/">Blog </a> </div> <h4 class="text-sm font-bold text-white leading-tight"> <a href="/cs/easy-trick-convert-celsius-fahrenheit-1312">Jednoduchý trik pro převod stupňů Celsia na Fahrenheita </a> </h4> </div> </article> <!-- /ARTICLE --> <!-- ARTICLE --> <article class="relative aspect-video rounded-lg overflow-hidden group mb-2"> <div class="absolute inset-0"> <img src="https://techcodeview.com/img/geeks-premier-league-2023/96/how-fix-module-not-found-error.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Jak opravit chybu modulu nenalezen?" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"> <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div> </div> <div class="absolute bottom-0 left-0 p-4"> <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/cs/geeks-premier-league-2023-cat/">Geeks Premier League 2023 </a> </div> <h4 class="text-sm font-bold text-white leading-tight"> <a href="/cs/how-fix-module-not-found-error">Jak opravit chybu modulu nenalezen? </a> </h4> </div> </article> <!-- /ARTICLE --> </div> </div> </div> </div> <!-- /Aside Column --> </div> </div> </div> <footer class="site-footer"> <div class="container"> <span class="footer-links"> Copyright ©2026 Všechna Práva Vyhrazena | <a href="//www.techcodeview.com/es/">techcodeview.com </a> | <a href="/disclaimer" rel="nofollow noopener noreferrer" target="_blank">Vyloučení Odpovědnosti </a> | <a href="/about-us" rel="nofollow noopener noreferrer" target="_blank">O Nás </a> | <a href="/privacy-policy" rel="nofollow noopener noreferrer" target="_blank">Zásady Ochrany Osobních Údajů </a> </span> </div> </footer> <script type="text/javascript" src="https://techcodeview.com/template/assets/plugins/jquery-1.11.3.min.js"> </script> <script type="text/javascript" src="https://techcodeview.com/template/assets/plugins/bootstrap/js/bootstrap.min.js"> </script> <script type="text/javascript" src="https://techcodeview.com/template/assets/js/main.js"> </script> <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/highlight.min.js"> </script> <script> !function(){"use strict";let t=document.createElement("button");t.id="toTopBtn",t.innerHTML="↑";let e=` #toTopBtn { position: fixed; bottom: 25px; right: 25px; z-index: 9999; opacity: 0; visibility: hidden; background-color: #0ea5e9; color: white; border: none; border-radius: 8px; width: 50px; height: 50px; font-size: 24px; cursor: pointer; transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out; } #toTopBtn:hover { background-color: #0284c7; } `,i=document.createElement("style");i.type="text/css",i.innerText=e,document.head.appendChild(i),document.body.appendChild(t),window.addEventListener("scroll",()=>{let e=window.scrollY||document.documentElement.scrollTop;e>300?(t.style.opacity="1",t.style.visibility="visible"):(t.style.opacity="0",t.style.visibility="hidden")}),t.addEventListener("click",()=>{window.scrollTo({top:0,behavior:"smooth"})})}(); </script> </body> </html>