{"id":28581,"date":"2026-09-08T21:56:08","date_gmt":"2026-09-08T18:56:08","guid":{"rendered":"https:\/\/alienroad.com\/yandex-bilgi-bankasi\/microformats\/"},"modified":"2026-09-09T00:47:44","modified_gmt":"2026-09-08T21:47:44","slug":"microformats","status":"publish","type":"ar_ykb","link":"https:\/\/alienroad.com\/yandex-bilgi-bankasi\/microformats\/","title":{"rendered":"Microformats"},"content":{"rendered":"<p>Microformats are the older semantic markup approach for (X)HTML: meaning is added through <code>class<\/code> attributes on existing elements rather than through dedicated attributes.<\/p>\n<pre><code>&lt;span class=\"adr\"&gt;16 Leo Tolstoy St., Moscow&lt;\/span&gt;<\/code><\/pre>\n<p>The robot reads the class name as the name of a property defined by the microformat, and treats the element&#8217;s contents as its value. No new markup structure is required \u2014 the class is attached to HTML that already exists.<\/p>\n<h2>What Yandex supports<\/h2>\n<p>Two formats only:<\/p>\n<ul>\n<li><strong>hCard<\/strong> \u2014 contact information: addresses, telephone numbers, organisation details.<\/li>\n<li><strong>hRecipe<\/strong> \u2014 culinary recipes.<\/li>\n<\/ul>\n<p>Microformats exist for many other domains \u2014 products, reviews, events \u2014 but those are not processed here. Anything outside hCard and hRecipe should be expressed in Schema.org instead.<\/p>\n<h2>Microformats or Schema.org?<\/h2>\n<p>Yandex answers this directly elsewhere in its documentation: the algorithms do not prefer either, so the convenient one is acceptable \u2014 but Schema.org is recommended as the more modern, fuller and actively developing standard. In practice that settles it for new work. Microformats matter mainly when maintaining a site that already uses them, where the class attributes are woven into templates and rewriting them buys nothing.<\/p>\n<h2>Validation<\/h2>\n<p>The structured data validator in the console reads both formats, which makes it possible to confirm that an existing hCard is still parsing correctly after a template change \u2014 a check worth running after any redesign of a contact page.<\/p>\n<h2>Why the distinction still matters<\/h2>\n<p>Because a <code>class<\/code> attribute is also a styling hook. A developer renaming <code>adr<\/code> to something more consistent with the design system silently removes the markup, and nothing about the page looks different. Schema.org attributes have no other purpose, so they survive refactoring better \u2014 which is the strongest practical argument for the newer standard.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Microformats are the older semantic markup approach for (X)HTML: meaning is added through class attributes on existing elements rather than through dedicated attributes. &lt;span class=&#8221;adr&#8221;&gt;16 Leo Tolstoy St., Moscow&lt;\/span&gt; The robot reads the class name as the name of a property defined by the microformat, and treats the element&#8217;s contents as its value. No new [&hellip;]<\/p>\n","protected":false},"menu_order":157,"template":"","meta":{"footnotes":""},"ar_ykb_kategori":[776],"ar_ykb_etiket":[],"class_list":["post-28581","ar_ykb","type-ar_ykb","status-publish","has-post-thumbnail","hentry","ar_ykb_kategori-semantic-page-markup"],"_links":{"self":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_ykb\/28581","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_ykb"}],"about":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/types\/ar_ykb"}],"version-history":[{"count":2,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_ykb\/28581\/revisions"}],"predecessor-version":[{"id":29082,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_ykb\/28581\/revisions\/29082"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media\/28963"}],"wp:attachment":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media?parent=28581"}],"wp:term":[{"taxonomy":"ar_ykb_kategori","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_ykb_kategori?post=28581"},{"taxonomy":"ar_ykb_etiket","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_ykb_etiket?post=28581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}