{"id":146,"date":"2022-01-03T17:11:55","date_gmt":"2022-01-03T16:11:55","guid":{"rendered":"https:\/\/yb-isn.fr\/2021\/nsi\/giovanny\/?p=146"},"modified":"2022-01-25T10:55:12","modified_gmt":"2022-01-25T09:55:12","slug":"css-et-dom","status":"publish","type":"post","link":"http:\/\/yb-isn.fr\/2021\/nsi\/giovanny\/2022\/01\/03\/css-et-dom\/","title":{"rendered":"CSS et DOM"},"content":{"rendered":"\n<div class=\"wp-block-image\"><figure class=\"alignright is-resized\"><img loading=\"lazy\" src=\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/d\/d5\/CSS3_logo_and_wordmark.svg\/640px-CSS3_logo_and_wordmark.svg.png\" alt=\"Feuilles de style en cascade \u2014 Wikip\u00e9dia\" width=\"202\" height=\"284\" \/><\/figure><\/div>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" src=\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/5\/5a\/DOM-model.svg\/1200px-DOM-model.svg.png\" alt=\"Document Object Model \u2014 Wikip\u00e9dia\" width=\"297\" height=\"307\" \/><\/figure>\n\n\n\n<h2>D\u00e9finition : <\/h2>\n\n\n\n<p>CSS : Les feuilles de style en cascade, g\u00e9n\u00e9ralement appel\u00e9es CSS de l&rsquo;anglais Cascading Style Sheets, forment un langage informatique qui d\u00e9crit la pr\u00e9sentation des documents HTML, ce langage permet de g\u00e9rer la pr\u00e9sentation d&rsquo;une page web.<\/p>\n\n\n\n<p>DOM: Le DOM(Document Object Model)&nbsp;est une repr\u00e9sentation d&rsquo;une page HTML. il permet d&rsquo;acc\u00e9der aux diff\u00e9rents \u00e9l\u00e9ments de la page gr\u00e2ce au langage&nbsp;JavaScript<\/p>\n\n\n\n<h3>Comment commencer un fichier css: <\/h3>\n\n\n\n<p>Une feuille de style&nbsp;css&nbsp;externe peut se faire avec le simple bloc-note, et il est d&rsquo;usage de lui faire porter l&rsquo;extension .&nbsp;css&nbsp;( style.&nbsp;css&nbsp;par exemple). On la liera ensuite \u00e0 la page html \u00e0 l&rsquo;aide d&rsquo;un lien plac\u00e9 dans l&rsquo;en-t\u00eate de la page avec &lt;head&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>D\u00e9finition : CSS : Les feuilles de style en cascade, g\u00e9n\u00e9ralement appel\u00e9es CSS de l&rsquo;anglais Cascading Style Sheets, forment un langage informatique qui d\u00e9crit la pr\u00e9sentation des documents HTML, ce langage permet de g\u00e9rer la pr\u00e9sentation d&rsquo;une page web. DOM: Le DOM(Document Object Model)&nbsp;est une repr\u00e9sentation d&rsquo;une page HTML. il permet d&rsquo;acc\u00e9der aux diff\u00e9rents \u00e9l\u00e9ments [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":186,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/yb-isn.fr\/2021\/nsi\/giovanny\/wp-json\/wp\/v2\/posts\/146"}],"collection":[{"href":"http:\/\/yb-isn.fr\/2021\/nsi\/giovanny\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/yb-isn.fr\/2021\/nsi\/giovanny\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/yb-isn.fr\/2021\/nsi\/giovanny\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"http:\/\/yb-isn.fr\/2021\/nsi\/giovanny\/wp-json\/wp\/v2\/comments?post=146"}],"version-history":[{"count":4,"href":"http:\/\/yb-isn.fr\/2021\/nsi\/giovanny\/wp-json\/wp\/v2\/posts\/146\/revisions"}],"predecessor-version":[{"id":183,"href":"http:\/\/yb-isn.fr\/2021\/nsi\/giovanny\/wp-json\/wp\/v2\/posts\/146\/revisions\/183"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/yb-isn.fr\/2021\/nsi\/giovanny\/wp-json\/wp\/v2\/media\/186"}],"wp:attachment":[{"href":"http:\/\/yb-isn.fr\/2021\/nsi\/giovanny\/wp-json\/wp\/v2\/media?parent=146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/yb-isn.fr\/2021\/nsi\/giovanny\/wp-json\/wp\/v2\/categories?post=146"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/yb-isn.fr\/2021\/nsi\/giovanny\/wp-json\/wp\/v2\/tags?post=146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}