{"id":490,"date":"2009-06-09T09:57:20","date_gmt":"2009-06-09T14:57:20","guid":{"rendered":"http:\/\/crysodenkirk.com\/blog\/?page_id=490"},"modified":"2009-06-09T09:57:20","modified_gmt":"2009-06-09T14:57:20","slug":"code-specs","status":"publish","type":"page","link":"https:\/\/crysodenkirk.com\/blog\/reference\/code-specs\/","title":{"rendered":"Code Specs"},"content":{"rendered":"<br \/>\n<h3>Page\/Tag Properties<\/h3>\n<ul>\n<li><strong>Doctype:<\/strong> XHTML preferred:\n<pre>&lt;!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD XHTML 1.0 Strict\/\/EN\"<br>&nbsp;&nbsp;&nbsp;\"http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-strict.dtd\"><\/pre>\n<p>\t    Where XHTML is not feasible, use HTML 4.01 Transitional:<\/p>\n<pre>&lt;!DOCTYPE HTML PUBLIC \"-\/\/W3C\/\/DTD HTML 4.01 Transitional\/\/EN\"<br>&nbsp;&nbsp;&nbsp;\"http:\/\/www.w3.org\/TR\/html4\/loose.dtd\"><\/pre>\n<\/li>\n<li>Every document must have a doctype, html, head, and body<\/li>\n<li>All tags should be properly nested<\/li>\n<li>Indents &#8211; 2 spaces, no tab characters<\/li>\n<li>All files in a UNIX format, NOT DOS<\/li>\n<li>In XHTML, all tags must be closed, even those which are standalone:\n<pre>&lt;img \/>&lt;br \/><\/pre>\n<\/li>\n<li>When using xhtml (NOT html 4.01) declare a namespace in the html tag:\n<pre>&lt;html xmlns=\"http:\/\/www.w3c.org\/1999\/xhtml\"><\/pre>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Page\/Tag Properties Doctype: XHTML preferred: &lt;!DOCTYPE html PUBLIC &#8220;-\/\/W3C\/\/DTD XHTML 1.0 Strict\/\/EN&#8221;&nbsp;&nbsp;&nbsp;&#8220;http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-strict.dtd&#8221;> Where XHTML is not feasible, use HTML 4.01 Transitional: &lt;!DOCTYPE HTML PUBLIC &#8220;-\/\/W3C\/\/DTD HTML 4.01 Transitional\/\/EN&#8221;&nbsp;&nbsp;&nbsp;&#8220;http:\/\/www.w3.org\/TR\/html4\/loose.dtd&#8221;> Every document must have a doctype, html, head, and body All tags &hellip; <a href=\"https:\/\/crysodenkirk.com\/blog\/reference\/code-specs\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-490","page","type-page","status-publish","hentry","updates"],"_links":{"self":[{"href":"https:\/\/crysodenkirk.com\/blog\/wp-json\/wp\/v2\/pages\/490"}],"collection":[{"href":"https:\/\/crysodenkirk.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/crysodenkirk.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/crysodenkirk.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/crysodenkirk.com\/blog\/wp-json\/wp\/v2\/comments?post=490"}],"version-history":[{"count":2,"href":"https:\/\/crysodenkirk.com\/blog\/wp-json\/wp\/v2\/pages\/490\/revisions"}],"predecessor-version":[{"id":492,"href":"https:\/\/crysodenkirk.com\/blog\/wp-json\/wp\/v2\/pages\/490\/revisions\/492"}],"up":[{"embeddable":true,"href":"https:\/\/crysodenkirk.com\/blog\/wp-json\/wp\/v2\/pages\/2"}],"wp:attachment":[{"href":"https:\/\/crysodenkirk.com\/blog\/wp-json\/wp\/v2\/media?parent=490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}