{"id":69659,"date":"2022-06-04T10:23:18","date_gmt":"2022-06-04T08:23:18","guid":{"rendered":"https:\/\/rmarketingdigital.com\/wiki\/xhtml\/"},"modified":"2024-10-28T22:51:52","modified_gmt":"2024-10-28T21:51:52","slug":"xhtml","status":"publish","type":"glossary","link":"https:\/\/rmarketingdigital.com\/en\/wiki\/xhtml\/","title":{"rendered":"XHTML"},"content":{"rendered":"<p><\/p>\n<div id=\"mw-content-text\" lang=\"es\" dir=\"ltr\" class=\"mw-content-ltr\">\n<p><b>XHTML<\/b> (Extensible Hypertext Markup Language), broadly speaking, is a markup language that allows you to edit websites. It is based on HTML 4.01, but its rules are much more strict and versatile than HTML. XHTML is a new formulation of HTML that uses the XML markup meta language, which is a key advantage in its usability because many data formats are based on XML and modern devices require a strict version of the markup language because they cannot display wrong source code.\n<\/p>\n<h2>\n<span class=\"mw-headline\" id=\"Informaci.C3.B3n_general\">General information<\/span><br \/>\n<\/h2>\n<p>XHTML has been designed to extend HTML and allow compatibility with new data formats such as videos, images or scripting languages. Since HTML was always based on SGML and therefore relatively complex, a limited markup target language, such as XML, was found to be adequate for defining the basic structure and syntactic capabilities of XHTML. The XHTML 1.0 specifications were published by the W3C in 2002. At the end of 2009 work on version 2.0 was discontinued because the Hypertext Web Application Technology Working Group (WHATWG) was working on HTML5 at the same time, and this The latter was the one that prevailed in the end.\n<\/p>\n<h2>\n<span class=\"mw-headline\" id=\"Caracter.C3.ADsticas\">characteristics<\/span><br \/>\n<\/h2>\n<p>XHTML is used to mark up content such as text, images, and links in the form of hyperlinks to create a certain structure that can be displayed by browsers. Documents can be structured with XHTML to make them parser-readable. The parser interprets the markup items specified in the XHTML language definitions and renders the content of these items in a specific way.\n<\/p>\n<p>Ultimately, the user sees what these items contain and not how the items are listed or structured. The latter is called XHTML source code and can be edited with different text editors, for example, with a WYSIWYG editor. The notation separates content and design. The content is enclosed by the items. The way this content is displayed is determined by the items and is only displayed by the browser.\n<\/p>\n<p>Before creating an XHTML document, you must choose a Document Type Definition. There are three types, each with certain advantages and disadvantages, transitional, strict, and frameset. At the same time, the language version must be specified, such as XHTML 1.0 or 2.0. The basic framework of an XHTML file <b>must conform precisely to the rules<\/b>Otherwise it is not WFF (well formed formula), which is a valid source code that meets the language requirements and document definitions and can be read by a browser.\n<\/p>\n<p>The important differences between XHTML and HTML are, for example, the XML declaration, the definition of the document type, which is in lowercase, the exact conformance to the basic framework, and the fact that each open item must be closed again. If one of these rules is not adhered to in XHTML, the browser cannot display the document, which it can probably do with HTML.\n<\/p>\n<p>Example of a valid XHTML document\n<\/p>\n<pre>\n &lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;&nbsp;?&gt;\n &lt;!DOCTYPE html PUBLIC &quot;-\/\/W3C\/\/DTD XHTML 1.0 Strict\/\/EN&quot;\n       &quot;http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-strict.dtd&quot;&gt;\n &lt;html xmlns=&quot;http:\/\/www.w3.org\/1999\/xhtml&quot;&gt;\n &lt;head&gt;\n &lt;title&gt;An XHTML document&lt;\/title&gt;\n &lt;\/head&gt;\n &lt;body&gt;\n &lt; h1 &gt;Headline of the first order&lt; \/h1 &gt;\n &lt; p &gt;A paragraph with any text content&lt; \/p &gt;\n &lt; h2 &gt;Secondary heading&lt; \/h2 &gt;\n &lt; p &gt;Another paragraph with any text content&lt; \/p &gt;\n &lt;\/body&gt;\n &lt;\/html&gt;\n<\/pre>\n<h2>\n<span class=\"mw-headline\" id=\"Relevancia_para_el_SEO\">Relevance for SEO<\/span><br \/>\n<\/h2>\n<p>When creating websites with XHTML, it is essential to respect the rules mentioned above. Valid source code ensures that these XHTML documents can be read not only in browsers, but also on mobile devices. Apart from this, validity (validity) can have a positive effect on search engines, avoiding invalid status codes. Thus, a correctly registered source code has a certain level of transferability and is certainly also an indicator for search engines. However, HTML5 has replaced XHTML and it remains to be seen to what extent websites that use XHTML will continue to be evaluated positively by search engines.\n<\/p>\n<h2>\n<span class=\"mw-headline\" id=\"Enlaces_Web\">Web Links<\/span><br \/>\n<\/h2>\n<ul>\n<li><a rel=\"nofollow noopener noreferrer\" target=\"_blank\" class=\"external text\" href=\"http:\/\/www.webopedia.com\/TERM\/X\/XHTML.html\">Definition of XHTML<\/a><\/li>\n<li><a rel=\"nofollow noopener noreferrer\" target=\"_blank\" class=\"external text\" href=\"http:\/\/validator.w3.org\/\">W3C Validator<\/a><\/li>\n<\/ul>\n<p><!-- \nNewPP limit report\nCached time: 20200502030621\nCache expiry: 86400\nDynamic content: false\nCPU time usage: 0.004 seconds\nReal time usage: 0.005 seconds\nPreprocessor visited node count: 24\/1000000\nPreprocessor generated node count: 40\/1000000\nPost\u2010expand include size: 0\/2097152 bytes\nTemplate argument size: 0\/2097152 bytes\nHighest expansion depth: 2\/40\nExpensive parser function count: 0\/100\n--><!-- \nTransclusion expansion time report (%,ms,calls,template)\n100.00%    0.000      1 - -total\n--><!-- Saved in parser cache with key es_:stable-pcache:idhash:546-0!*!0!!es!*!* and timestamp 20200502030621 and revision id 2468\n -->\n<\/div>","protected":false},"excerpt":{"rendered":"<p>XHTML (Extensible Hypertext Markup Language), a grandes rasgos, es un lenguaje de marcado que te permite editar webs. Est\u00e1 basado en HTML 4.01, pero sus reglas son mucho m\u00e1s estrictas&#8230;<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"template":"","glossary-cat":[],"class_list":["post-69659","glossary","type-glossary","status-publish"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v28.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>XHTML - R Marketing Digital<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rmarketingdigital.com\/en\/wiki\/xhtml\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"XHTML\" \/>\n<meta property=\"og:description\" content=\"XHTML (Extensible Hypertext Markup Language), a grandes rasgos, es un lenguaje de marcado que te permite editar webs. Est\u00e1 basado en HTML 4.01, pero sus reglas son mucho m\u00e1s estrictas...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rmarketingdigital.com\/en\/wiki\/xhtml\/\" \/>\n<meta property=\"og:site_name\" content=\"R Marketing Digital\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-28T21:51:52+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/wiki\\\/xhtml\\\/\",\"url\":\"https:\\\/\\\/rmarketingdigital.com\\\/wiki\\\/xhtml\\\/\",\"name\":\"XHTML - R Marketing Digital\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/#website\"},\"datePublished\":\"2022-06-04T08:23:18+00:00\",\"dateModified\":\"2024-10-28T21:51:52+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/rmarketingdigital.com\\\/wiki\\\/xhtml\\\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/#website\",\"url\":\"https:\\\/\\\/rmarketingdigital.com\\\/\",\"name\":\"R Marketing Digital\",\"description\":\"Agencia SEO | Publicidad redes sociales | Community Management\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/rmarketingdigital.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"XHTML - R Marketing Digital","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/rmarketingdigital.com\/en\/wiki\/xhtml\/","og_locale":"en_US","og_type":"article","og_title":"XHTML","og_description":"XHTML (Extensible Hypertext Markup Language), a grandes rasgos, es un lenguaje de marcado que te permite editar webs. Est\u00e1 basado en HTML 4.01, pero sus reglas son mucho m\u00e1s estrictas...","og_url":"https:\/\/rmarketingdigital.com\/en\/wiki\/xhtml\/","og_site_name":"R Marketing Digital","article_modified_time":"2024-10-28T21:51:52+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/rmarketingdigital.com\/wiki\/xhtml\/","url":"https:\/\/rmarketingdigital.com\/wiki\/xhtml\/","name":"XHTML - R Marketing Digital","isPartOf":{"@id":"https:\/\/rmarketingdigital.com\/#website"},"datePublished":"2022-06-04T08:23:18+00:00","dateModified":"2024-10-28T21:51:52+00:00","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rmarketingdigital.com\/wiki\/xhtml\/"]}]},{"@type":"WebSite","@id":"https:\/\/rmarketingdigital.com\/#website","url":"https:\/\/rmarketingdigital.com\/","name":"R Digital Marketing","description":"SEO Agency | Advertising social networks | Community Management","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rmarketingdigital.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/glossary\/69659","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/glossary"}],"about":[{"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/types\/glossary"}],"author":[{"embeddable":true,"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":0,"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/glossary\/69659\/revisions"}],"wp:attachment":[{"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/media?parent=69659"}],"wp:term":[{"taxonomy":"glossary-cat","embeddable":true,"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/glossary-cat?post=69659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}