{"id":3457,"date":"2014-05-13T09:00:27","date_gmt":"2014-05-13T07:00:27","guid":{"rendered":"https:\/\/blogs.ua.es\/pi\/?p=3457"},"modified":"2014-02-18T20:16:30","modified_gmt":"2014-02-18T19:16:30","slug":"comentarios-condicionales-en-internet-explorer","status":"publish","type":"post","link":"https:\/\/blogs.ua.es\/pi\/2014\/05\/13\/comentarios-condicionales-en-internet-explorer\/","title":{"rendered":"Comentarios condicionales en Internet Explorer"},"content":{"rendered":"<p>Los comentarios condicionales en Internet Explorer son una sintaxis que permite especificar partes condicionales en el c\u00f3digo HTML. Cuando el navegador web carga la p\u00e1gina, interpreta los comentarios condicionales y toma ciertas decisiones en funci\u00f3n del valor evaluado. En principio, esta t\u00e9cnica s\u00f3lo est\u00e1 documentada para Internet Explorer:\u00a0<a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ms537512.ASPX\">About conditional comments<\/a>.<\/p>\n<p>Por ejemplo:<\/p>\n<pre>&lt;!--[if IE]&gt;&lt;p&gt;You are using Internet Explorer.&lt;\/p&gt;&lt;![endif]--&gt;\r\n&lt;![if !IE]&gt;&lt;p&gt;You are not using Internet Explorer.&lt;\/p&gt;&lt;![endif]&gt;\r\n\r\n&lt;!--[if IE 7]&gt;&lt;p&gt;Welcome to Internet Explorer 7!&lt;\/p&gt;&lt;![endif]--&gt;\r\n&lt;!--[if !(IE 7)]&gt;&lt;p&gt;You are not using version 7.&lt;\/p&gt;&lt;![endif]--&gt;\r\n\r\n&lt;!--[if gte IE 7]&gt;&lt;p&gt;You are using IE 7 or greater.&lt;\/p&gt;&lt;![endif]--&gt;\r\n&lt;!--[if (IE 5)]&gt;&lt;p&gt;You are using IE 5 (any version).&lt;\/p&gt;&lt;![endif]--&gt;\r\n&lt;!--[if (gte IE 5.5)&amp;(lt IE 7)]&gt;&lt;p&gt;You are using IE 5.5 or IE 6.&lt;\/p&gt;&lt;![endif]--&gt;\r\n&lt;!--[if lt IE 5.5]&gt;&lt;p&gt;Please upgrade your version of Internet Explorer.&lt;\/p&gt;&lt;![endif]--&gt;\r\n\r\n&lt;!--[if true]&gt;You are using an &lt;em&gt;uplevel&lt;\/em&gt; browser.&lt;![endif]--&gt;\r\n&lt;![if false]&gt;You are using a &lt;em&gt;downlevel&lt;\/em&gt; browser.&lt;![endif]&gt;\r\n\r\n&lt;!--[if true]&gt;&lt;![if IE 7]&gt;&lt;p&gt;This nested comment is displayed in IE 7.&lt;\/p&gt;&lt;![endif]&gt;&lt;![endif]--&gt;<\/pre>\n<p>Personalmente, no recomiendo para nada su uso.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Los comentarios condicionales en Internet Explorer son una sintaxis que permite especificar partes condicionales en el &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/blogs.ua.es\/pi\/2014\/05\/13\/comentarios-condicionales-en-internet-explorer\/\"> <span class=\"screen-reader-text\">Comentarios condicionales en Internet Explorer<\/span> Read more \u2192<\/a><\/p>\n","protected":false},"author":40,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1203],"class_list":["post-3457","post","type-post","status-publish","format-standard","hentry","category-general","tag-internet-explorer"],"_links":{"self":[{"href":"https:\/\/blogs.ua.es\/pi\/wp-json\/wp\/v2\/posts\/3457","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.ua.es\/pi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.ua.es\/pi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.ua.es\/pi\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.ua.es\/pi\/wp-json\/wp\/v2\/comments?post=3457"}],"version-history":[{"count":1,"href":"https:\/\/blogs.ua.es\/pi\/wp-json\/wp\/v2\/posts\/3457\/revisions"}],"predecessor-version":[{"id":3458,"href":"https:\/\/blogs.ua.es\/pi\/wp-json\/wp\/v2\/posts\/3457\/revisions\/3458"}],"wp:attachment":[{"href":"https:\/\/blogs.ua.es\/pi\/wp-json\/wp\/v2\/media?parent=3457"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.ua.es\/pi\/wp-json\/wp\/v2\/categories?post=3457"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.ua.es\/pi\/wp-json\/wp\/v2\/tags?post=3457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}