Heijin

style sheet

英 /staɪl ʃiːt/美 /staɪl ʃiːt/

n. 名词

样式表;风格手册;样式单

含义详解

本义指印刷或出版中规定字体、字号、间距、标点等排版格式的规则清单,用于确保出版物风格统一。引申至计算机领域,指描述网页或文档呈现样式的文件(如CSS),控制元素的外观。再引申至一般写作或编辑中,指规范拼写、语法、引用格式等编辑标准的文档,如编辑风格指南。各义项均围绕“预先设定的规则集”这一核心,强调一致性和规范性。

词源解析

由“style”(风格)和“sheet”(纸张,引申为表格或文档)组成。最早源于印刷业,指记录排版样式的一张纸。20世纪后期随计算机发展,赋予“样式表”的新义。记忆时可联想为“记录风格规则的纸张”,既指物理文档,也指数字文件。

使用场景

在技术文档和网页开发中,常指CSS等样式表文件,语气中性专业。在出版和编辑领域,指风格指南(如《芝加哥格式手册》),强调规范性和一致性。在学术写作中,可能指特定期刊的格式要求,语气正式。在日常交流中较少使用,若提及多指技术或编辑相关话题,语气偏专业。

语法要点

名词,可数。常见搭配有“a style sheet for...”,如“a style sheet for the website”。复数形式为“style sheets”。在计算机语境中,常直接说“CSS style sheet”。注意区分“style sheet”和“stylesheet”,后者常作为单词使用,但意思相同。无动词形式,但可作定语,如“style sheet language”。

近义辨析

与“style guide”略有区别:style sheet通常指具体的技术或排版规则列表,而style guide更全面,包含编辑方针、语言使用等。与“template”不同,template是预先设计好的页面布局,而style sheet只定义样式。在CSS语境中,“stylesheet”是标准术语,而“style sheet”更通用。

需要留意

语域中性偏正式,多用于技术、出版、编辑等专业领域。无贬义。常见误用:将“style sheet”与“spreadsheet”混淆,后者指电子表格。在HTML中,正确写法是“<link rel="stylesheet" href="...">”,但口语中常简称“style sheet”。注意单复数形式。

常用组合

cascading style sheet (CSS)
层叠样式表
style sheet language
样式表语言
create a style sheet
创建样式表
apply a style sheet
应用样式表
style sheet specification
样式表规范
HTML style sheet
HTML样式表
editorial style sheet
编辑样式表

双语例句

The editor provided a style sheet to ensure consistent formatting across all articles.编辑提供了一份样式表,以确保所有文章的格式一致。
To change the look of your website, you can modify the CSS style sheet.要改变网站的外观,你可以修改CSS样式表。
The journal's style sheet specifies the citation format for submissions.该期刊的样式表规定了投稿的引用格式。
Before printing the book, the designer created a detailed style sheet for fonts and margins.在印刷这本书之前,设计师为字体和页边距创建了详细的样式表。
Please refer to the attached style sheet when writing your report.写报告时,请参考附带的样式表。