• <i id='UoAS9'><tr id='UoAS9'><dt id='UoAS9'><q id='UoAS9'><span id='UoAS9'><b id='UoAS9'><form id='UoAS9'><ins id='UoAS9'></ins><ul id='UoAS9'></ul><sub id='UoAS9'></sub></form><legend id='UoAS9'></legend><bdo id='UoAS9'><pre id='UoAS9'><center id='UoAS9'></center></pre></bdo></b><th id='UoAS9'></th></span></q></dt></tr></i><div id='UoAS9'><tfoot id='UoAS9'></tfoot><dl id='UoAS9'><fieldset id='UoAS9'></fieldset></dl></div>

      <tfoot id='UoAS9'></tfoot>

      <small id='UoAS9'></small><noframes id='UoAS9'>

        • <bdo id='UoAS9'></bdo><ul id='UoAS9'></ul>
      1. <legend id='UoAS9'><style id='UoAS9'><dir id='UoAS9'><q id='UoAS9'></q></dir></style></legend>
      2. 客户端:HTML、DOM 和 CSS?

        时间:2023-09-05

          <small id='hPmDk'></small><noframes id='hPmDk'>

              <tbody id='hPmDk'></tbody>
            <i id='hPmDk'><tr id='hPmDk'><dt id='hPmDk'><q id='hPmDk'><span id='hPmDk'><b id='hPmDk'><form id='hPmDk'><ins id='hPmDk'></ins><ul id='hPmDk'></ul><sub id='hPmDk'></sub></form><legend id='hPmDk'></legend><bdo id='hPmDk'><pre id='hPmDk'><center id='hPmDk'></center></pre></bdo></b><th id='hPmDk'></th></span></q></dt></tr></i><div id='hPmDk'><tfoot id='hPmDk'></tfoot><dl id='hPmDk'><fieldset id='hPmDk'></fieldset></dl></div>
          1. <tfoot id='hPmDk'></tfoot>
              • <bdo id='hPmDk'></bdo><ul id='hPmDk'></ul>
              • <legend id='hPmDk'><style id='hPmDk'><dir id='hPmDk'><q id='hPmDk'></q></dir></style></legend>
                  本文介绍了客户端:HTML、DOM 和 CSS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我没有在应用程序的 Client Side/Front End 上进行广泛的工作,我正在尝试阅读有关 HTML、CSS 和 DOM 的信息,但不知何故无法弄清楚找出它们之间的区别,如果有人可以的话,我会非常感激:

                  I have not worked extensively on Client Side/Front End of the Application and I am trying to read about HTML, CSS and DOM but somehow am not able to figure out difference between them and so would really appreciate if someone can:

                  1. 用简单的英语解释一下 HTML、CSS 和 DOM 是如何工作的?
                  2. 从客户端技术的角度来看,它们如何相互关联?

                  更新我浏览了 wikipedia 文章,但无法清楚地理解 DOM 的工作原理.

                  Update I have gone through wikipedia articles but not able to clearly understand working of DOM.

                  谢谢.

                  推荐答案

                  HTML 是您网站上的内容(标题、列表、表格)

                  HTML is what is on your website (headings, lists, tables)

                  CSS 就是这些东西的样子(边框、颜色、字体大小)

                  CSS is what those things look like (borders, colours, font sizes)

                  DOM 是您通过 javascript 访问这些东西的方式(获取节点、添加新元素、更改它们的样式)

                  DOM is how you access those things through javascript (getting nodes, adding new elements, changing their style)

                  这是 3 个一起工作的示例(在 ie 中似乎不起作用)http://jsfiddle.net/gj9zT/

                  Here is an example of the 3 working together (doesn't seem to work in ie) http://jsfiddle.net/gj9zT/

                  这篇关于客户端:HTML、DOM 和 CSS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:在多个旧版浏览器中测试 CSS 设计的最有效和最可靠的方法是什么? 下一篇:如何在 html 中创建唯一的静音/取消静音按钮(如 youtube)

                  相关文章

                    1. <i id='6rQU1'><tr id='6rQU1'><dt id='6rQU1'><q id='6rQU1'><span id='6rQU1'><b id='6rQU1'><form id='6rQU1'><ins id='6rQU1'></ins><ul id='6rQU1'></ul><sub id='6rQU1'></sub></form><legend id='6rQU1'></legend><bdo id='6rQU1'><pre id='6rQU1'><center id='6rQU1'></center></pre></bdo></b><th id='6rQU1'></th></span></q></dt></tr></i><div id='6rQU1'><tfoot id='6rQU1'></tfoot><dl id='6rQU1'><fieldset id='6rQU1'></fieldset></dl></div>

                    2. <legend id='6rQU1'><style id='6rQU1'><dir id='6rQU1'><q id='6rQU1'></q></dir></style></legend><tfoot id='6rQU1'></tfoot>
                      • <bdo id='6rQU1'></bdo><ul id='6rQU1'></ul>

                      <small id='6rQU1'></small><noframes id='6rQU1'>