一段与HTML有关的英文

来源:百度知道 编辑:UC知道 时间:2024/05/26 18:18:09
Although the STYLE and SCRIPT elements use CDATA for their data model, for these elements, CDATA must be handled differently by user agents. Markup and entities must be treated as raw text and passed to the application as is. The first occurrence of the character sequence "</" (end-tag open delimiter) is treated as terminating the end of the element's content. In valid documents, this would be the end tag for the element.

STYLE SCRIPT CDATA 不用翻译
For some HTML 4 attributes with CDATA attribute values, the specification imposes further constraints on the set of legal values for the attribute that may not be expressed by the DTD.

花括号内是我写的注释。我逐句的分行,便于阅读。

Although the STYLE and SCRIPT elements use CDATA for their data model, for these elements, CDATA must be handled differently by user agents.

虽然<style>和<script>元素都使用纯字符数据作为其内容的模型 {意即style和script的内部都是纯文本},客户端仍然要分别处理标签内的这些内容。

Markup and entities must be treated as raw text and passed to the application as is.

(style和script标记中的)标记语言的部分则要被作为纯文本传递到应用程序中 {此处指浏览器} {意思是这两个标签的内容和标签本身是分开处理的}。

The first occurrence of the character sequence "</" (end-tag open delimiter) is treated as terminating the end of the element's content.

当字符组"</"的第一次出现会被作为这个标记内容的结束{即一个双标签元素的结束标签}。

In valid documents, this would be the end tag for the element.

在符合规范的文件模型中,这就是这个元素的结束标签。{valid document指的是符合W3C标准的文档,只有这种文档才能被正确解析为DOM模型}

-------------------------------------------------------------------------------------------

大概是指这两个标签内的东西和文档模型本身是有所