{"id":6417,"date":"2014-04-17T02:03:27","date_gmt":"2014-04-17T02:03:27","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/17\/problem-about-valid-xhtml-collection-of-common-programming-errors\/"},"modified":"2014-04-17T02:03:27","modified_gmt":"2014-04-17T02:03:27","slug":"problem-about-valid-xhtml-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/17\/problem-about-valid-xhtml-collection-of-common-programming-errors\/","title":{"rendered":"problem about valid-xhtml-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/93ad3915086cdb01efb68e50e3174d8a?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAli Demirci<br \/>\nphp html facebook xhtml valid-xhtml<br \/>\nI&#8217;m actually gettings these errors and I cannot let them fixed. I need some help. I can&#8217;t found anything on Google, sorry.there is no attribute &#8220;href&#8221;&lt;div id=&#8221;audio&#8221; href=&#8221;http:\/\/domain.com\/mp3\/Green Day &#8211; A Quick One While Hes.there is no attribute &#8220;xid&#8221;&lt;div style=&#8221;margin: 0px 100px;&#8221;&gt;&lt;fb:comments xid=&#8221;music52&#8243;&gt;&lt;\/fb:comments&gt;&lt;\/div&gt;element &#8220;fb:comments&#8221; undefined&lt;div style=&#8221;margin: 0px 100px;&#8221;&gt;&lt;fb:comments xid=&#8221;music52&#8243;&gt;&lt;\/fb:comments&gt;&lt;\/div&gt;<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/842202bb1fdf8fbd321ecadfb87ddcb5?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nMatthew James Taylor<br \/>\nhtml css xhtml w3c valid-xhtml<br \/>\nI know it&#8217;s wrong to put a block element inside an inline element, but what about the following?Imagine this valid markup:&lt;div&gt;&lt;p&gt;This is a paragraph&lt;\/p&gt;&lt;\/div&gt;Now add this CSS:div {display:inline; }This creates a situation where an inline element contains a block element (The div becomes inline and the p is block by default)Are the page elements still valid?How and when do we judge if the HTML is valid &#8211; before or after the CSS rules are applied?UPDATE: I&#8217;ve since learned<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ali Demirci php html facebook xhtml valid-xhtml I&#8217;m actually gettings these errors and I cannot let them fixed. I need some help. I can&#8217;t found anything on Google, sorry.there is no attribute &#8220;href&#8221;&lt;div id=&#8221;audio&#8221; href=&#8221;http:\/\/domain.com\/mp3\/Green Day &#8211; A Quick One While Hes.there is no attribute &#8220;xid&#8221;&lt;div style=&#8221;margin: 0px 100px;&#8221;&gt;&lt;fb:comments xid=&#8221;music52&#8243;&gt;&lt;\/fb:comments&gt;&lt;\/div&gt;element &#8220;fb:comments&#8221; undefined&lt;div style=&#8221;margin: 0px 100px;&#8221;&gt;&lt;fb:comments [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6417","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6417"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6417\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6417"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6417"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}