整合营销服务商

电脑端+手机端+微信端=数据同步管理

免费咨询热线:

CSS3中神奇的box-shadow属性,助你制作几个复杂的图案

在之前的文章中有讲解过,如何通过CSS代码实现类似于杯子和心形的图案,今天这篇文章我们继续来看看两个复杂的图案。

文章中的代码已经放到github上了,感兴趣的同学可以自取。

https://github.com/zhouxiongking/article-pages/blob/master/articles/border/complexFigure2.html

CSS3

相机

首先我们来看看相机的实现效果。

效果图

然后我们再一步步分析如何实现这个效果。

同样我们需要对整个图案进行拆分,主要分为三个部分。

  • 相机的主体部分,背景色为黑色。

  • 右上角的白色背景小方框。

  • 中间的几个黑白相间的圆环。

相机主体

相机主体部分就是一个div,完全通过border属性设置,因此需要保证其width: 0。

由于主体部分需要呈现为长方形,所以border的左右两个方向要比上下两个方向值大,border在不设置颜色的情况下默认为黑色。

最后设置border-radius值,让其四个角呈现为圆角。

最终得到的相机主体部分CSS属性如下。

相机主体CSS属性

右上角长方形

相机的右上角有个小的长方形,我们通过:after伪元素实现。

  • 将其位置设置为绝对定位position: absolute。

  • 设置top和left两个方向的偏移量。

  • 设置一个宽度但是高度值为0,通过border-top让其显示为一个长方形,border的颜色设置为白色。

  • 伪元素的content: ''

通过以上的分析我们得到以下的CSS代码。

右上角CSS代码

中间的圆环

大家都很容易想到中间的圆环肯定是通过伪元素:before来实现了。

  • 将其位置定义为绝对定位position: absolute。

  • 设置top和left两个方向的偏移量。

  • 由于这里有圆环,我们设置其内容的高度和宽度。

  • 因为是圆形,border-radius设置为50%

  • 设置border值,使其背景色为白色。

通过以上的分析我们得到如下的CSS代码。

CSS代码

运行上述的代码后我们却发现得到的图案是这样的。

运行后的图案

是不是觉得少了点什么?

对,中间的圆形少了一个环,那么我们该怎么补充上这个环呢?

这里我们可以使用神奇的box-shadow属性。

box-shadow属性主要是用来给元素周围添加阴影效果的,它的基本用法大家可以看看CSS3的文档。

box-shadow接收的第三个参数表示的是阴影模糊的半径,如果其值为0,则表示不具有模糊效果,本例子中因为要在圆形外面再增加一个圆形图案,就需要将其值设置为0。

还有很重要的一点就是:可以给box-shadow设置多组值,任意一个相同的属性,后面定义的值都会兼容前面的值,并不会覆盖掉。

所以同心圆就只需要将box-shadow设置为两组值即可,外层与内层颜色不同。

最终得到的中间圆环CSS属性如下所示。

CSS代码

运行上述代码后就可以得到文字一开始的相机图案了。

月亮

接下来我们再看一个通过box-shadow可以很容实现的月亮图案。

月亮图案

乍一看这个图案没有那么容易实现,其实熟悉border-radius和box-shadow属性的同学可以很容易想到,这个图案实现的核心就是利用box-shadow设置右侧阴影。

然后设置rotate值使其旋转一定的角度。

通过以上的分析可以得到以下的代码。

月亮的CSS代码

运行上述代码即可得到月亮图案。

结束语

今天这篇文章通过CSS属性实现了相机和月亮两个图案,再结合前几篇文章中实现的杯子和心形图案,相信大家对CSS的神奇之处有所折服吧。

大家也赶紧动手自己实现一些常用的图案吧。

论您是CSS的新手还是经验丰富的老手,了解和理解box模型都很重要。让我们更好地了解它。

每个初学者都应该从基础开始。以CSS为例,基础是学习Box模型。在继续学习其他CSS概念之前,您应该首先掌握它!

盒子(Box)模型是CSS的基本元素。

它确实会让初学者感到困惑,所以现在是时候纠正错误了。在这里,您将了解box模型的所有基本元素以及它们是如何使用的。

在深入研究之前,每个人都需要了解web设计中的每个元素都是一个矩形框。您可能已经听过很多次了,但是这是每个开发人员都应该注意的一个重要概念。

现在,让我们来解释一下神秘的盒子模型!

盒子模型结构

如上所述,box模型的结构包括:

Content (height and width).

Padding.

Border.

Margin.

这些是浏览器呈现框模型所需的所有元素。值得庆幸的是,有了CSS,我们可以单独地控制它们。让我们来看看。

在本文中,我们将使用以下代码并逐渐添加到其中。

HTML

<div class="box">Lorem ipsum dolor amet whatever woke cronut, 
farm-to-table church-key tousled edison bulb. </div>

CSS

.box {
 background-color: hotpink;
 color: #fff;
}

The Content

Content非常清晰。它是具有特定宽度和高度的元素的内容。可以使用CSS属性的高度和宽度设置固定的高度和宽度,也可以由内容本身决定。

现在,有一件事让人有点困惑,那就是使用内联或块级元素。

使用内联和块级元素(Using Inline and Block Level Elements

为了刷新您的内存,内联元素和块元素之间的区别在于块元素占用了容器宽度的100%,而内联元素只占用了内容需要的空间量。

在使用内联元素时,不可能为该元素设置固定的宽度或高度,因为元素没有预先确定的宽度和高度(因为宽度和高度由内容决定)。这可以通过将元素转换为块元素来克服。

与内联元素不同,使用块级元素时,可以轻松地为其设置固定的宽度或高度。由于在默认情况下,块级元素占容器宽度的100%,我们可以通过设置一个固定的宽度轻松覆盖它。

您还可以将元素转换为inline-block。当使用inline-block时,元素具有内联元素的行为(只占用内容的空间),但是您可以像使用块元素那样操作它。

现在,当我们有一个块级元素时,我们可以给它一个宽度和高度。

CSS

.box {
 height: 200px;
 width: 200px;
 background-color: hotpink;
 color: #fff;
}

结果如下图:

The Padding

接下来,我们将在我们的框中添加一些填充。

padding定义了内容和框的边缘之间的空间。

让我们看看它在我们的例子中的作用

CSS

.box {
 height: 200px;
 width: 200px;
 background-color: hotpink;
 color: #fff;
 padding: 10px;
}

结果如图:

在图像中,我们看到padding如何影响框的整体外观。框的内容和四边都有10px的空间。我们也可以向四面八方单独添加padding,使用padding-top padding-bottom,padding-left padding-right。

The Border

因为我们是从内到外,下一步就是定义border。border围绕着内容,您不必使用它,但它仍然存在。这意味着border的宽度为0。

现在我们添加一个边框。

CSS

.box {
 height: 200px;
 width: 200px;
 background-color: hotpink;
 color: #fff;
 padding: 10px;
 border: solid 3px black;
}

The Margin

框模型的最后一个方面是margin。正如你们所知道的,margin是border外的空间。它是元素之间的空间。

在实际示例中演示这一点的最佳方式是向您展示两个元素是如何放置的,以及如何使用和不使用margin边距。

HTML

<div class=”box”></div>
<div class=”box”></div>

CSS

.box {
 height: 200px;
 width: 200px;
 background-color: hotpink;
 color: #fff;
 padding: 10px;
 border: solid 3px black;
 margin: 0
}

在这个例子中,我们看到,没有边距,两个元素是如何结合在一起的,它们之间没有空间。

现在,添加margin

CSS

.box {
 margin: 20px;
}

现在,这看起来更好。我们在Box之间增加了一些空间。我们还可以使用margin - top、margin - bottom、margin - left或margin - right来单独添加元素的每一侧上的空间。

总结

恭喜,你终于完成了这篇文章!那么,我们学到了什么?

网页上的每个元素基本上都是一个框。

box模型的方面是content, padding, border, and margin.。

使用内联元素时,不能为该元素设置固定的宽度或高度,而使用块和内联块元素则可以。

希望这能帮助你学到一些新的东西或者刷新你的记忆。

3C词汇和术语表

  • A •

  • B •

  • C •

  • D •

  • E •

  • F •

  • G •

  • H •

  • I •

  • J •

  • K •

  • L •

  • M •

  • N •

  • O •

  • P •

  • Q •

  • R •

  • S •

  • T •

  • U •

  • V •

  • W •

  • X •

  • Y •

  • Z •

  • 以A字母开头的词汇

    英文中文
    abstract module抽象模组
    access访问、存取
    access control存取控制
    access control information存取控制资讯
    access mechanism存取机制
    access rights存取权限
    accessibility无障碍性
    accessibility information无障碍网页资讯
    accessibility problem无障碍网页问题
    accessible无障碍的
    accessible authoring practice无障碍创作实践
    acquired infoset获取资讯集
    ACSS (Audio cascading style sheets)ACSS (音频阶层样式表)
    activate启用
    active grammar正在使用的文法
    active perceivable unit使用中的可视单元
    activity活动
    actor角色
    adaptation适应、调节
    adaptation preferences适配偏好设定
    additional characters附加字元
    advisory board谘询常委会
    advisory committee谘询委员会
    age寿命
    agent代理
    aggregated authored units集成创作单元
    aggregation集成
    alert警告 (信号)
    alphaalpha
    alpha compactionalpha 压缩、透明度
    alpha separationalpha 分色
    alpha tablealpha 表
    alternative information替代资讯
    amayaamaya
    ancestor祖先、前辈结点
    anchor锚点
    ancillary chunk辅助数据块/区块
    animation动画
    annotation注释
    anonymity匿名性
    antecedent前提
    apacheapache
    appletapplet (应用小程序)
    application应用程式、应用
    application personalization应用程式个性化
    application programming interface (API), conventional input/output/device API应用程式编程界面 (API),通用输入/输出/设备 API
    arc
    architecture架构
    argument参数
    artifact物件
    ASCII artASCII 艺术
    ASR自动语音识别
    assertion断言
    assistive technology辅助技术
    asynchronous非同步的
    asynchronous exchange非同步交换
    at user option用户可选择的
    atomic原子的
    atomic test原子性测试
    attribute属性
    attribute name属性名称
    attribute specifications属性规范
    attribute value属性值
    attribute, or CC/PP attributeCC/PP 属性
    attribute-list declarations属性列表宣告
    audio音频、音讯
    audio description音频描述
    audio track音轨
    audio-only presentation纯音频演示
    audit guard稽核防护机制
    auditory description听觉描述
    authentication身份验证
    author作者
    author styles作者样式
    authored unit创作单元
    authoring创作
    authoring tool创作工具
    authorization授权
    axis座标轴

    以B字母开头的词汇

    英文中文
    back link返回连结/链结
    background image interference背景图像干扰
    backward compatible向下兼容
    base text基础文本
    baseline基线
    basic readability基本可读性
    binding绑定、繫结
    binding expression绑定表达式
    bit depth色彩深度
    black box黑框
    bopomofo注音符号
    bot自动代理程序
    bounding box边界框、区域框
    box
    braille点字
    bridge桥接器
    browser浏览器
    button按钮
    byte位元组
    byte order位元组顺序

    以C字母开头的词汇

    英文中文
    cache快取
    cacheable可快取的
    Candidate Recommendation (CR)候选推荐标准 (CR)
    capability性能
    captions字幕
    card卡、卡片
    cascading style sheets (CSS)阶层样式表 (CSS)
    catch elementcatch 元素
    CC/PP processorCC/PP 处理器
    CC/PP repositoryCC/PP 资料储存库
    CDATa sectionsCDATa 区段
    CERN欧洲粒子物理研究所
    certification认证、凭证
    chair主持、(小组的) 主席
    chairman主席
    channel通道
    character字元
    character data字元资料
    character data (CDATa )字元资料 (CDATa )
    character encoding字元编码
    character or expression depth字元或表达式深度
    character or expression height字元或表达式高度
    character or expression width字元或表达式宽度
    character reference字元参考
    check for检查
    child子 (元素)
    child子 (节点)
    choice选择
    choreography(Webservice) 编排
    chromaticity (CIE)色度 (CIE)
    chunk数据块、区块
    class类别
    class definition类别定义
    class description类别描述
    class name类别名称
    class of products产品类别
    click-stream点击流、点选串流
    client客户端
    collapse折迭
    collated text transcript按序文字记录、逐字稿
    colour type色彩类型、颜色类型
    comm传讯、通讯
    comments注释、注解
    complete完备的
    complex ruby markup複杂旁注标记
    compliance一致性
    component组件
    composite (verb)组合、複合
    computed expression计算所得的表达式
    concept概念
    condition条件
    conditional content条件内容
    conditional sections条件区段
    confidentiality机密性
    confidentiality机密性、保密性
    configuration配置
    configure, control配置,控制
    conformance一致性
    conformance clause一致性条款
    conformance level一致性级别
    conformance testing一致性测试
    conforming document一致性文件
    connection(网络) 连接
    consequent结论、结果
    consistent一致的
    constraint限制
    contained (element a is contained in B)包含于 (元素A包含于元素B)
    container (Constructor)容器 (构造器)
    containing document容器文件
    content内容
    content developer内容开发者
    content elements内容元素
    content generation内容生成
    content model内容模型
    content negotiation内容协商
    content provider内容供应商
    content selection内容选择
    content set内容集
    content token element内容记号元素
    context (of a given mathML expression)(给定 mathML 表达式的) 上下文、取义
    context node上下文节点、取义节点
    context position上下文位置、取义位置
    context size上下文大小、取义大小
    contradictory behaviors矛盾行为
    control控制
    control item控制项目
    convenience便利
    conversation会话
    conversion tool转换工具
    COO首席营运总监、首席营运长
    cookiecookie
    correct正确的
    credentials凭证、凭据
    critical chunk关键数据块/区块
    CSS (Cascading style sheets)CSS (阶层样式表)
    CSS W3C cascading style sheet specificationCSS W3C 阶层样式表规范
    cyberspace网络空间、网际空间
    cyccyc (知识表示项目)

    以D字母开头的词汇

    英文中文
    daemon独立后台程序
    data category资料类型
    data element资料元素
    data model资料模型
    data resource资料资源
    data schema资料纲目
    data set资料集
    data structure资料结构
    data -valued property资料类型属性
    database资料库
    datastream资料流
    datatype资料类型
    datatype property资料类型属性
    date space纲站编年区
    decideable可判定的
    declaration宣告
    declared已宣告的
    decomposition分解
    deepest最深的
    default预设
    default namespace预设命名空间
    deferred request authentication推迟请求验证
    defining required attributes定义必要属性
    defining the type of attribute values定义属性值类型
    deflatedeflate (一种压缩演算法)
    delivered image传送完成的图像
    delivery context传送上下文、传送取义
    delivery policy传送政策
    delivery unit传送单位
    deprecated弃用
    deprecated feature已弃用的功能
    depth深度
    dereference a URI重新访问 URI
    descendant子节点
    descendants子节点
    device设备
    device independent与设备无关的
    device-independence设备无关
    dialog对话
    digital rights management数码/数位版权管理
    digital signature数码签署、数位签章
    dimensions of variability (DoV)变异维 (DoV)
    direct sub-expression (of a mathML expression of)(mathML 表达式的) 直接子表达式
    directly contained (element a in B)(a ) 直接包含于 (B)
    director领导人、总监
    discovery探索
    discovery service探索服务
    discretionary choices任意选择
    discretionary item任意项目
    document文件
    document character set文件字元集
    document content, structure, and presentation文件内容,结构,表达
    document entity文件实体
    document language文件语言
    document model文件模型
    document object model文件物件模型
    document object, document文件物件,文件
    document order文件顺序
    document profile文件设置文件
    document source, text source文件来源,文本来源
    document style semantics and specification language (DSSSL)文件样式语义和规范语言 (DSSSL)
    document tree文件树
    document type文件类型
    document type declaration文件类型宣告
    document type definition (DTD)文件类型定义 (DTD)
    documentation参考文件
    DOM (Document object model)DOM (文件物件模型)
    DOM (Document object model, see http://www.w3.org/DOM/)DOM (文件物件模型)
    DOM level 0DOM level 0
    domain网域
    domain name网域名称
    driver驱动程式
    DTDDTD
    DTD文档类型定义 (DTD)
    DTD-determined IDDTD 确定 ID
    DTMF (Dual tone multi-Frequency)DTMF (双音多频)
    dublin core都柏林核心
    dynamic content动态内容
    dynamic HTML (DHTML)动态 HTML (DHTML)

    以E字母开头的词汇

    英文中文
    early normalization提早规范化
    ease of parsing and serializing:剖析和序列化的简化
    EBT (Electronic book technology)电子图书技术
    eCMAScripteCMAScript
    EDI (Electronic data interchange)EDI (电子资料交换)
    editing view编辑阅览
    electronic data interchange (EDI)电子资料交换 (EDI)
    element元素
    element content元素内容
    element name元素名称
    element type元素类型
    element type declaration元素类型宣告
    element, element type元素,元素类型
    elements元素
    embed嵌入
    embedded object嵌入式物件
    Embedded Web request嵌入式 Web 请求
    embellished operator修饰操作符
    empty
    empty-element tag空元素标籤
    enabled element, disabled element启用的元素,停用的元素
    encryption加密
    end point终点
    end-tag结束标籤
    ending resource结束资源
    enquireenquire (程式名)
    entail推导
    entities实体
    entity实体
    entity reference实体参考
    enumerated attributes枚举属性、列举属性
    episode情节
    equable practice等同的实践
    equivalent等价的
    equivalent (for content)(内容上) 等价
    error错误
    error correction错误修正
    error recovery错误修复
    escape转义
    event事件
    events and scripting, event handler, event type事件和脚本,事件处理器,事件类型
    executable content可执行内容
    expanded name扩展/扩充名称
    expanded-name扩展/扩充名称
    explicit expiration time显式过期时间
    explicit user request显式用户请求
    Explicit Web request显式 Web 请求
    explicitly undefined behaviors显式未定义行为
    extended language扩展语言
    extended link扩展连结/链结
    extended links扩展连结/链结
    extending pre-defined elements扩展预定义元素
    extensible可扩展的
    extensible markup language (XML)可扩展标记语言 (XML)
    extensible style language (XSL)可扩展样式语言 (XSL)
    extension扩充
    extensional外延的
    external外部的
    external entity外部实体
    external markup declaration外部标记宣告
    externally-determined ID外部可确定 ID

    以F字母开头的词汇

    英文中文
    facet分面
    facilities设施
    fatal error致命错误
    feature特性、特徵、功能
    fellow研究员
    fences括号
    FIa (Form interpretation algorithm)FIa (表格解释演算法)
    filter过滤器
    filtering过滤
    first node rule首节点规则
    first-hand第一手的
    flexible authoring灵活创作
    focus of attention关注焦点
    focus, content focus, user interface focus, current focus焦点,内容焦点,用户界面焦点,目前焦点
    following element后继元素
    font字体
    for compatibility为了兼容性
    for interoperability为了互用性
    form表格
    form control表格控制
    form item表格项目
    form item variable表单项目变量
    formal正规
    fragment identifier碎片识别符
    fragmentation碎片
    frame buffer框缓冲区
    fresh未过期的
    freshness lifetime有效期
    FTF面对面
    functional adaptation功能适配
    functional user experience功能用户体验

    以G字母开头的词汇

    英文中文
    gammagamma
    gateway闸口
    general entities通用实体
    generic identifier通用识别符
    GIF (Graphics interchange format)GIF (图形交换格式)
    GILC (Global internet liberty campaign)GILC (全球互联网自由化运动)
    glossary of terms for device independence设备无关的术语表
    glyph字形
    good practice优秀实践
    graphical图形的
    graphics图形
    greyscale灰度、灰阶
    group ruby组旁注

    以H字母开头的词汇

    英文中文
    harmonized adaptation协调适应
    harmonized user experience协调用户体验
    height高度
    heuristic expiration time启发式过期时间
    highlight突显
    hint提示
    hiragana平假名
    host主机
    host主办者
    host language主语言
    host page主网页、主页
    HTMLHTML
    HTML (Hypertext markup language)HTML (超文本标记语言)
    HTTP (Hypertext transfer protocol)HTTP (超文本传输协议)
    HTTP clientHTTP 客户端
    HTTP gatewayHTTP 闸口
    HTTP payload entityHTTP 负载实体
    HTTP proxyHTTP 代理
    HTTP representationHTTP 表示
    HTTP requestHTTP 请求
    HTTP responseHTTP 回应
    HTTP serverHTTP 伺服器
    hybrid document溷合文件
    hyperlink超连结/链结
    hypermedia超媒体
    hypertext超文本

    以I字母开头的词汇

    英文中文
    idempotent恒等
    identical等同的
    identified data被识别的资料
    identifier识别符
    ideograph表意文字 (如方块字)
    iff当且仅当、若且唯若
    image图像、图形
    image data图像资料
    image map图像地图
    implementation实现、实作
    implementation conformance statement (ICS)实现一致性声明 (ICS)
    implementation platform实现平台
    Implicit Web request隐式 Web 请求
    important重要的
    imports closure汇入闭包
    inbound流入
    inbound/outbound流入/流出
    include location包含位置
    include parent包含父(项目)
    included包含的
    included items包含的项目
    inclusion target包含目标
    inconsistent不一致的
    independent web独立网页
    index索引
    indexed-colour索引色
    indexical索引的
    indexing索引
    indirectly contained间接包含
    individual个体
    individual-valued property个体价值属性
    infer推理
    inform通知
    information resource资讯资源
    information set资讯集
    information space资讯空间
    informative参考性的
    informative text参考文本
    initial SOAP sender初始 SOAP 发送者
    input configuration输入配置
    input item输入项目
    input modalities输入模态
    INRIa (Institut national de recherche en infomatique et automatique)INRIa (法国国家信息与自动化研究所)
    instance实例
    instance data实例资料
    instance data node实例资料节点
    instance of(类别的) 实例
    instance of mathMLmathML 的实例
    instantiate示例
    integrity完整性
    intensional内涵的
    interaction交互、互动
    interactive element, non-interactive element交互式的元素,非交互式的元素
    interlaced PNG image交错的 PNG 图像
    internal内部的
    internal entity内部实体
    internationalized resource identifier国际化资源识别符
    internet互联网、网际网络
    interoperability互用性
    interpretation解释、理解
    intranet内联网
    intrinsic dimensions固有维度
    inverse function反函数
    IP (Internet protocol)IP (互联网协议)
    IPR (Intellectual property rights)IPR (知识产权)
    IRCIRC (互联网中继聊天)
    IRI referenceIRI 参考
    ISO (International standards organization)ISO (国际标准化组织)
    ISP (Internet service provider)ISP (互联网服务供应商)

    以J字母开头的词汇

    英文中文
    javajava (程式语言)
    jigsawjigsaw (伺服器)
    JPEG (Joint photographic experts group)JPEG (联合图像专家组): 一种图像编码格式
    JSGFJSGF (Java API 语音语法格式)

    以K字母开头的词汇

    英文中文
    kana<日> 假名
    kanji<日> 日本汉字
    katakana<日> (日本字母) 片假名
    keio university庆应大学 (日本)
    key键、密钥、关键
    key binding密钥绑定
    key location密钥定位
    key management密钥管理
    key name密钥名称
    key validation密钥验证

    以L字母开头的词汇

    英文中文
    lambda expressionLambda 表达式
    language binding语言绑定
    language identifier语言识别符
    late normalization推迟规范化
    layout schema (plural: schemata )佈局纲目
    LCS (Laboratory for computer science)LCS (计算机科学实验室)
    LEAD (Live early adoption and demonstration)LEAD (早期採用及示范政策)
    level级、层
    lexical space词法空间
    libwwwlibwww (WWW相关程序模块库)
    line-mode(命令) 行模式
    line-mode browser(命令) 行模式浏览器
    linearized table线性化表格
    link连结/链结
    link text连结/链结描述文字
    linkbases连结/链结库
    linking element连结/链结元素
    list列表
    literal字面
    literal entity value字面实体值
    live使用中的
    local name本地名称
    local part本地部分
    local resource本地资源
    logic逻辑
    longfellowlongfellow (W3C 电话会议的 24 线连接器)
    loose coupling鬆散耦合
    lossless compression无损压缩
    lossy compression有损压缩
    luminance亮度
    LZ77LZ77 (数据压缩算法)

    以M字母开头的词汇

    英文中文
    machine understandable机器可理解的
    manageable service可管理的服务
    management管理
    management capability管理能力
    management interface管理界面
    management policy管理政策
    management semantics管理中的语义
    Manifestation表徵
    MARC recordMARC 记录 (机读目录记录)
    markup标记
    markup declaration标记宣告
    markup language标记语言
    markup model标记模型
    match匹配
    mathematical markup language (MathML)数学标记语言 (MathML)
    mathML elementmathML 元素
    mathML expression (within some valid mathMLmathML 表达式
    may可以
    media type媒体类型
    member会员
    menu选单
    message讯息
    message correlation讯息相关性
    message exchange pattern (MEP)讯息交换模式 (MEP)
    message receiver讯息接收者
    message reliability讯息可靠性
    message sender讯息发送方
    message transport讯息传输
    meta -元的 (前缀、表示一个事物应用于其自身)
    metadata元数据
    metaphysical形而上的
    micropayments微支付、小额付款
    minimal constraint, principle of最小约束原理
    MIT (Massachusetts institute of technology)MIT (麻省理工学院)
    mixed content溷合内容
    mixed initiative溷合式驱动
    modality模态
    model binding expression模型绑定表达式
    model item模型项目
    model item property模型项目属性
    model theory模型论
    modularization模块化
    modularization model模块化模型
    module模组
    monoruby单一旁注
    monotonic单调的
    mosaicmosaic (最早出现在 Internet 上的 Web 浏览器)
    multi-purpose internet mail extensions (MIME)多用途互联网邮件扩充 (MIME)
    multiple authoring多元化创作
    must必须
    mysticmystic (W3C 电话会议的 6 线连接器)

    以N字母开头的词汇

    英文中文
    name名称、名字
    named class具名类别
    namespace命名空间
    namespace document名命空间文件
    namespace name命名空间名称
    namespace prefix命名空间前缀
    namespace-valid命名空间有效的
    namespace-validating命名空间验证
    namespace-well-formed命名空间良构的
    natural language自然语言
    navigation导览
    navigation bars导览栏
    navigation mechanism导览机制
    NCSa (National center for supercomputing applications)NCSa (美国国家超级应用计算中心)
    negotiate content协商内容
    negotiation metadata协商元数据
    nelson, tednelson, ted
    net互联网 (Internet)
    network byte order网络位元组顺序
    new新的
    neXTneXT (公司名称)
    NNTP (Network news transfer protocol)NNTP (网络新闻传输协议)
    node节点
    non-repudiation不可否认性
    non-variant content无差异内容
    none
    nonmonotonic非单调的
    normative规范性的
    normative text规范文本
    normative, informative规范性的,参考性的
    notation declarations符号宣告
    notations符号、记法
    note笔记

    以O字母开头的词汇

    英文中文
    object物件
    object property物件属性
    obligation义务
    obsolete feature已淘汰的功能
    occurs as attribute value作为属性值出现
    office办事处
    onLoadonLoad
    onRequestonRequest
    ontological本体论的
    ontology本体论、本体
    ontology document本体文件
    open source开放源码
    openMathopenMatch
    operating environment操作环境
    operation操作
    operator, an mo element操作符,一个 mo 元素
    operator, content element操作符 -> 操作符,内容元素
    optional可选择的
    optional behaviors可选择行为
    optional features可选择功能
    orchestration编排
    origin server源始伺服器
    other其他
    otherwise否则
    outbound流出
    output modalities输出模态
    override重载、改写
    OWL classOWL 类别
    OWL Web Ontology Language GuideOWL 网络本体语言指南

    以P字母开头的词汇

    英文中文
    packet包、封包
    page view页面阅览
    palette调色板
    parameter entities参数实体
    parameter entity参数实体
    parameter-entity references参数实体参考
    parent父 (节点)
    parent document type父文件类型
    parsed character data (PCDATa )已剖析字元资料 (PCDATa )
    parsed entity已剖析实体
    parsed entity's已剖析实体的
    parsing解析
    partial understanding部分理解
    partially selected部份选择
    participate参与
    pass extraction阶段撷取
    pass phrase key通行密钥
    path路径
    payload security负载安全
    perceivable unit可感知单元
    permission许可
    permission guard许可保护机制
    person or organization个人或组织
    personal digital assistant (PDa )掌上电脑、电子手掌 (PDa )
    PGP (Pretty good privacy)PGP
    physical transducer物理的转换器
    PICS (Platform formPICS
    pixel像素
    PKC (public key cryptography)PKC (公钥密码学)
    PKI (Public key infrastructure)PKI (公钥基础建设)
    placeholder占位
    plug-in外挂
    PNG (Portable network graphics)PNG (可携式网络图形格式)
    PNG datastreamPNG 资料流
    PNG decoderPNG 解码器
    PNG editorPNG 编辑器
    PNG encoderPNG 编码器
    PNG filePNG 档桉
    PNG four-byte signed integerPNG 四位元组符号整数
    PNG four-byte unsigned integerPNG 四位元组无符号整数
    PNG imagePNG 图像
    PNG signaturePNG 签署/签章
    point
    point of regard注视点
    pointer指标
    pointer part指标部分
    policy政策
    policy guard政策保护机制
    practice实践
    pre-defined function预定义函数
    preceding element前序元素
    preference偏好设定
    presentation elements表达元素
    presentation layout schema表达佈局纲目
    presentation markup表达标记
    presentation token element表达标记元素
    preserve保持
    principal主实体
    principal node type首要节点类型
    principle原理
    priority 1 (P1)第 1 优先 (P1)
    priority 2 (P2)第 2 优先 (P2)
    priority 3 (P3)第 3 优先 (P3)
    privacy私隐
    privacy policy私隐政策
    process进程、处理
    processing instructions数据处理指令
    profile设置文件
    profiling设置文件
    prompt提示、提示输入
    proof of possession (POP)证明所有权 (POP)
    properties, values, and defaults属性,值和预设
    property属性
    property definition属性定义
    Proposed Edited Recommendation已修正的提议推荐标准
    Proposed Recommendation (PR)提议推荐标准 (PR)
    proposition命题
    protection保护
    protocol协议、协定
    provider agent供应商代理
    provider entity供应商实体
    proximity position近似位置
    proxy代理、代理伺服器
    public identifier公共识别符
    publish发表、发佈
    publisher发佈者
    purpose目的、意图

    以Q字母开头的词汇

    英文中文
    qualified name限定名称
    qualified names限定名称
    qualifier限定符
    quality assurance, Qa品质保証
    quality of service服务品质、QoS

    以R字母开头的词汇

    英文中文
    RDF (Resource description framework)RDF (资源描述架构)
    RDF resourceRDF 资源
    reader读者
    reading读音、读法
    RECREC
    receiver接收者
    recognize识别
    recommendation推荐、推荐标准
    reduced image简化过的图像
    reference architecture参考架构
    reference image参考图像
    reference in attribute value属性值参考
    reference in content内容参考
    reference in DTDDTD 参考
    reference in entity value实体值参考
    registry注册、登记
    reify具体化
    relation关係
    remote resource远端资源
    render渲染、显示
    rendered content渲染过/显示的内容
    rendered content, rendered text渲染过/显示的内容,文字
    rendering渲染、显示
    rendering preferences渲染/显示的偏好设定
    repair content, repair text修复内容
    replace替换
    replaced element被替换的元素
    replacement text替换文字
    repository资料库、档桉库
    representation表示
    request请求、要求
    requester agent请求方代理
    requester entity请求方实体
    Rescinded Recommendation作废的推荐标准
    reserved保留的
    resource资源
    resource error资源错误
    resource manifestation资源表徵
    response响应、回应
    restriction约束
    restriction, global全域约束
    restriction, local本地约束
    result infoset结果资讯集
    results verification结果确认
    reverse document order文件逆序
    RFC (Request for comments)RFC (徵求意见)
    RGB mergingRGB 合併
    root
    RPC (remote procedure call)RPC (远端程序调用)
    RSaRSa (加密算法)
    ruby text旁注文字

    以S字母开头的词汇

    英文中文
    safe安全的
    safe interaction安全交户
    safe zone安全区域
    sample样本
    sample depth採样深度
    sample depth scaling採样深度映射
    satisfy满足
    scanline扫描线
    schema纲目
    schema (pl., schemata )纲目
    schema constraint纲目约束
    schema representation constraint纲目表示约束
    schema , RDF schema纲目,RDF 纲目
    schema -determined ID由纲目决定的标识
    schemescheme
    scope of a declaration宣告有效范围
    screen magnifier屏幕/萤幕放大器
    screen reader读屏器
    scribe会议记录员
    script脚本语言、脚本
    secondary resource次要资源
    security安全
    security administration安全管理
    security architecture安全架构
    security auditing安全审核
    security domain安全网域
    security mechanism安全机制
    security model安全模型
    security policy安全政策
    security policy expression安全政策表达式
    security service安全服务
    selected选择的
    selected sub-expression (of an maction element)(maction 元素中的) 被选子表达式
    selection, current selection选择,目前选择
    semantic语义的
    semantic requirement语义需求 (同"测试断言")
    semantic web语义网
    semantically transparent语义透明的
    sender发送者
    separation of form from content内容形式相分离
    serial access, sequential navigation循序访问,顺序导览
    server伺服器、伺务器端程式
    server session伺服器 session
    service服务
    service description服务描述
    service interface服务界面
    service intermediary服务中介
    service provider服务供应商
    service provider (Data controller, legal entity)服务供应商 (资料管理员,法人实体)
    service requester服务请求者
    service role服务角色
    service semantics服务语义
    service-oriented architecture导向服务架构
    sessionsession
    set
    SGML (Standard generalized markup language)SGML (标准通用标记语言)
    shall必须
    should应该
    sibling兄弟
    simple link简单连结/链结
    simple links简单连结/链结
    simple ruby markup简单旁注标记
    single authoring单一创作
    site maps网站地图
    size and color of non-text content非文本内容的大小和颜色
    SMIL (Synchronized multimedia integration language)SMIL (同步多媒体集成语言)
    SOAP简单对象访问协议
    SOAP applicationSOAP 应用软件
    SOAP bindingSOAP 绑定
    SOAP bodySOAP 主体
    SOAP envelopeSOAP 信封
    SOAP faultSOAP 错误
    SOAP featureSOAP 功能
    SOAP headerSOAP 标头
    SOAP header blockSOAP 标头块
    SOAP intermediarySOAP 中介
    SOAP messageSOAP 讯息
    SOAP message exchange pattern (MEP)SOAP 讯息交换模式 (MEP)
    SOAP message pathSOAP 讯息路径
    SOAP moduleSOAP 模组
    SOAP nodeSOAP 节点
    SOAP receiverSOAP 接收者
    SOAP roleSOAP 角色
    SOAP senderSOAP 发送者
    sophiasophia (地名: Sophia -Antipolis)
    source document来源文件
    source image来源图像
    source infoset来源资讯集
    space-like (MathML expression)类空 (MathML 表达式)
    specification规范
    speech语音
    speech synthesis语音合成
    SRGS (Speech recognition grammar specification)SRGS (语音识别语法规范)
    SSML (Speech synthesis markup language)SSML (语音合成标记语言)
    stale陈旧的、过时的
    standard标准
    standard generalized markup language (SGML)通用标记语言标准
    start-tag起始标籤
    starting resource起始资源
    state状态
    statement声明
    strict conformance严格一致
    string identity matching字元串匹配
    string indexing字元串索引
    string-value字元串值
    structural markup结构化标记
    style sheet样式表
    style sheets样式表
    sub-expression (of a mathML expression)(mathML 表达式的) 子表达式
    subdialog子对话
    submission提交的文档
    subset language子集语言
    subsite子站
    suggested rendering rules for mathML presentation elements推荐的 mathML 表达元素渲染/显示规则
    supersite父站
    support, implement, conform支持,实现,符合
    supported支持、支援
    SVG (Scalable vector graphics)SVG (可缩放向量图形)
    synchronize同步
    synchronous同步的
    synthesis processor合成处理器
    system entity系统实体
    system identifier系统识别符
    sysWebsysWeb (W3C 系统网络组)

    以T字母开头的词汇

    英文中文
    tables of contents目录
    tabular information表格式资讯
    tag标籤
    TAG技术架构组
    tangletangle (程式名)
    tapered prompts渐缩式提示
    TCP (Transmission control protocol)TCP (传输控制协议)
    team团队
    technical architecture group技术架构组
    technical report技术报告
    term taken verbatim from another source自其他来源逐字沿用的词彙
    test area测试区
    test assertion测试断言
    test case测试桉例
    test framework测试框架
    test purpose测试目的
    test requirement测试需求、测试断言
    test suite测试集
    testability可测试性
    TEXTEX
    text文本
    text content, non-text content文本内容,非文本内容
    text decoration文本修饰
    text transcript文本抄本
    text-To-Speech文语转换
    the empty string空字元串
    third-party第三方
    throw抛出
    time parameters时间参数
    TLS传输层安全
    tobintobin (人名: MauriceJ.Tobin)
    token标记
    token element标记元素
    tokenized标记化的
    top-level element (of mathML)(mathML 的) 最高层元素
    top-level included items最高层包含项目
    topology拓扑结构
    tracing跟踪
    transaction交易
    transcript抄本
    transformation转换、变换
    traversal遍历
    triple三元组
    truecolour全彩
    trust service信任服务
    TTSTTS (文语转换)
    tunnel通道
    type类型
    typeface字体

    以U字母开头的词汇

    英文中文
    UCS通用字元集
    UI or action binding expression用户界面或动作绑定的表达式
    ultimate SOAP receiver最终 SOAP 接收者
    unconditional conformance无条件符合
    uniform resource identifier统一资源识别符
    uniform resource identifier (URI)统一资源识别符 (URI)
    union联合、合併
    universe全球的、通用的
    unnamed class未命名类别
    unparsed entity非剖析实体
    unsafe interaction不安全交互
    unspecified未指定的
    upstream/downstream上游/下游
    URI统一资源标识符
    URI (Universal resource identifier)URI (统一资源识别符)
    URI aliasesURI 别名
    URI collisionURI 冲突
    URI ownershipURI 拥有权
    URI persistenceURI 恆久性
    URI referenceURI 参考
    URIsURIs
    URL统一资源定位器
    URL (Uniform resource locator)URL (统一资源定位器)
    usage auditing使用审核
    usage scenario使用场景
    use使用、採用
    use case用例
    user用户、使用者
    user agent用户代理,useragent
    user agent (Ua )用户代理,Ua
    user agent default styles用户代理预设样式
    user agent profile用户代理设置文件
    user control of every user interface component每个用户界面组建的用户控制
    user experience用户体验
    user experience preferences用户体验偏好设定
    user interface, user interface control用户界面,用户界面控制
    user session用户 session
    user styles用户样式
    User-input Web request用户输入式 Web 请求

    以V字母开头的词汇

    英文中文
    valid有效的
    valid mathML data有效的 mathML 资料
    valid style sheet有效的样式表
    validating processors验证处理器
    validation验证
    validation rule验证规则
    validation, validate, validating验证,确认,校验
    validator验证器、校验器
    validity constraint有效性约束
    value space数值空间
    variant变体
    variant content可变内容
    versioning版本化
    video视频、视讯
    view阅览
    view, viewport阅览,阅览窗口
    violaviola 语言
    virtual hypertext虚拟超文本
    visual track视轨
    visual-only presentation纯视觉演示
    visualText可视化文本
    vocabulary词彙
    voice语音
    voice browser语音浏览器
    voiceXML documentvoiceXML 文件
    voiceXML interpretervoiceXML 解释/直译器
    voiceXML interpreter contextvoiceXML 解释/直译环境
    VRML虚拟现实建模语言
    VRML (Virtual reality modeling language)VRML (虚拟现实建模语言)

    以W字母开头的词汇

    英文中文
    W3CW3C
    W3C (World wide web consortium)W3C (万维网联盟)
    W3C recommendationW3C 推荐标准
    W3C Recommendation (REC)W3C 推荐标准 (REC)
    WAI (Web accessibility initiative)WAI (无障碍网页倡议)
    WAIS (Wide area information servers)广域资讯服务系统
    web万维网
    web agentweb 代理
    web clientweb 客户端
    web collectionweb 集合
    web coreweb 核心
    web neighborhoodweb 邻居
    web page网页
    web page identifier网页识别符
    web peripheryweb 外设
    web requestweb 请求
    web request bodyweb 请求主体
    web request headerweb 请求标头
    web resourceweb 资源
    web responseweb 回应
    web response bodyweb 回应主体
    web response headerweb 回应标头
    web serverweb 伺服器
    web serviceweb 服务
    web site网站
    web site publisher网站发佈者
    well-formed良构的
    well-formedness constraint良构性约束
    white point白色点
    width (of a box)(文本或图形框的) 宽度
    Working Draft (WD)工作草桉
    Working Group Note工作组笔记
    world世界、领域
    world wide web万维网
    worldWideWeb (one word; no spaces)浏览器
    WWWWWW (万维网)

    以X字母开头的词汇

    英文中文
    XX
    xanaduxanadu
    xForms modelxForms 模型
    xForms processorxForms 处理器
    XLL (eXtensible linking language)XLL (可扩展连结/链结语言)
    XML (Extensible markup language)XML (可扩展标记语言)
    XML declarationXML 宣告
    XML documentXML 文件
    XML nameXML 名称
    XML namespaceXML 命名空间
    XML processorXML 处理器
    xML-based format基于 XML 的格式
    xPointer processorxPointer 处理器
    XSL (Extensible style sheet language)XSL (可扩展样式表语言)
    XSL formatting objects (XSL FO)XSL 格式化物件 (XSL FO)
    XSL transformation (XSLT)XSL 转换语言 (XSLT)

    以Z字母开头的词汇

    英文中文
    zakimzakim (W3C 视频会议)
    zlibzlib 压缩格式