Ú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/c-if-statement" 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/it-problems-solutions/68/c-if-statement.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="C – prohlášení if" 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/c-if-statement">C – prohlášení if </a> </h4> </div> <div class="group"> <a href="/cs/parrot-operating-system" 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/operating-system/90/parrot-operating-system.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Operační systém Parrot" 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/parrot-operating-system">Operační systém Parrot </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/find-all-strings-that-match-specific-pattern-in-a-dictionary"> <img src="https://techcodeview.com/img/strings/86/find-all-strings-that-match-specific-pattern-in-a-dictionary.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Najděte všechny řetězce, které odpovídají konkrétnímu vzoru ve slovníku" 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/find-all-strings-that-match-specific-pattern-in-a-dictionary" class="hover:text-tech-500 transition-colors line-clamp-3">Najděte všechny řetězce, které odpovídají konkrétnímu vzoru ve slovníku </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/binary-search-tree-traversals-inorder"> <img src="https://techcodeview.com/img/picked/04/binary-search-tree-traversals-inorder.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Binary Search Tree (BST) Traversals – Inorder, Preorder, Post Order" 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/binary-search-tree-traversals-inorder" class="hover:text-tech-500 transition-colors line-clamp-3">Binary Search Tree (BST) Traversals – Inorder, Preorder, Post Order </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/250-words-describe-yourself-any-situation-131472"> <img src="https://techcodeview.com/img/blog/54/250-words-describe-yourself-any-situation.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Více než 250 slov, kterými se popíšete v jakékoli situaci" 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/250-words-describe-yourself-any-situation-131472" class="hover:text-tech-500 transition-colors line-clamp-3">Více než 250 slov, kterými se popíšete v jakékoli situaci </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/post-method-python-requests"> <img src="https://techcodeview.com/img/python-requests/32/post-method-python-requests.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Metoda POST – požadavky Pythonu" 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/post-method-python-requests" class="hover:text-tech-500 transition-colors line-clamp-3">Metoda POST – požadavky Pythonu </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-database-connectivity-with-5-steps"> <img src="https://techcodeview.com/img/java-jdbc/36/java-database-connectivity-with-5-steps.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Připojení k databázi Java v 5 krocích" 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-database-connectivity-with-5-steps" class="hover:text-tech-500 transition-colors line-clamp-3">Připojení k databázi Java v 5 krocích </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/defining-good-sat-score-1311030"> <img src="https://techcodeview.com/img/blog/79/defining-good-sat-score.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Definování dobrého skóre SAT" 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/defining-good-sat-score-1311030" class="hover:text-tech-500 transition-colors line-clamp-3">Definování dobrého skóre SAT </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/software-development-life-cycle"> <img src="https://techcodeview.com/img/it-problems-solutions/63/software-development-life-cycle.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Životní cyklus vývoje softwaru (SDLC)" 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/software-development-life-cycle" class="hover:text-tech-500 transition-colors line-clamp-3">Životní cyklus vývoje softwaru (SDLC) </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/git-cheat-sheet"> <img src="https://techcodeview.com/img/cheat-sheet/46/git-cheat-sheet.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Git Cheat Sheet" 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/git-cheat-sheet" class="hover:text-tech-500 transition-colors line-clamp-3">Git Cheat Sheet </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/difference-between-inductive"> <img src="https://techcodeview.com/img/artificial-intelligence/18/difference-between-inductive.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Rozdíl mezi induktivním a deduktivním uvažováním" 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/difference-between-inductive" class="hover:text-tech-500 transition-colors line-clamp-3">Rozdíl mezi induktivním a deduktivním uvažováním </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-pipedwriter-class"> <img src="https://techcodeview.com/img/java/86/java-pipedwriter-class.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Třída Java PipedWriter" 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-pipedwriter-class" class="hover:text-tech-500 transition-colors line-clamp-3">Třída Java PipedWriter </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/c-tutorial/07/floor-function-c-programming.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Funkce Floor() v programování C" 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/c-tutorial/">C Výukový Program </a> </div> <h4 class="text-sm font-bold text-white leading-tight"> <a href="/cs/floor-function-c-programming">Funkce Floor() v programování C </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/python-set/58/sets-python.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Sady v Pythonu" 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/python-set/">Python-Set </a> </div> <h4 class="text-sm font-bold text-white leading-tight"> <a href="/cs/sets-python">Sady v Pythonu </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/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 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/maths-class-11-cat/">Matematická Třída-11 </a> </div> <h4 class="text-sm font-bold text-white leading-tight"> <a href="/cs/trigonometry-table-trigonometric-ratios">Trigonometrická tabulka | Trigonometrické poměry a vzorce </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/linked-list/54/delete-middle-of-linked-list.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Odstranit střed propojeného seznamu" 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/linked-list/">Propojený seznam </a> </div> <h4 class="text-sm font-bold text-white leading-tight"> <a href="/cs/delete-middle-of-linked-list">Odstranit střed propojeného seznamu </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/java-swing/69/java-jbutton.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Java JButton" 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/java-swing/">Java Swing </a> </div> <h4 class="text-sm font-bold text-white leading-tight"> <a href="/cs/java-jbutton">Java JButton </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/ejs-templating-language/39/what-is-ejs-why-do-i-need-it.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Co je EJS a proč jej potřebuji?" 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/ejs-templating-language/">Ejs-Templating Language </a> </div> <h4 class="text-sm font-bold text-white leading-tight"> <a href="/cs/what-is-ejs-why-do-i-need-it">Co je EJS a proč jej potřebuji? </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/ro/">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>