gpt4 book ai didi

internet-explorer - htc 文件 : Why not to use them?

转载 作者:行者123 更新时间:2023-12-04 07:44:03 25 4
gpt4 key购买 nike

我正在开发一个旨在为最终用户提供桌面感觉的 Web 应用程序。这意味着我需要对应用程序有跨浏览器的感觉(谁不需要?嗯)。

所以,我发现了 .htc 文件,用于解决一些 IE 调整(例如,还不支持边框半径)。我的疑问是:为什么不是每个人都使用它们?它会带来一些我忽略的问题吗?从我所看到的地方来看,它似乎几乎是前端程序员的 chalice ......

最佳答案

报价 Wikipedia :

HTML Components (HTCs) are a nonstandard mechanism to implement components in script as Dynamic HTML (DHTML) "behaviors"[1] in the Microsoft Internet Explorer web browser. Such files typically use an .htc extension.

An HTC is typically an HTML file (with JScript / VBScript) and a set of elements that define the component. This helps to organize behavior encapsulated script modules that can be attached to parts of a Webpage DOM.



在两段中,提到了以下内容:
  • Internet Explorer
  • JScript
  • VBScript
  • 非标

  • 我认为很明显为什么不是每个人都在使用这项技术。

    关于internet-explorer - htc 文件 : Why not to use them?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4335622/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com