萬盛學電腦網

您现在的位置: 萬盛學電腦網 >> 程式設計 >  >> 網頁製作 >> HTML5 教學

HTML/CSS 常用英文單詞完整字彙表:A-Z 核心術語中英對照與記憶技巧

前端開發必備:HTML/CSS 核心英文單詞速記手冊

HTML 標籤、CSS 屬性、JavaScript API 皆源自英語詞彙。掌握核心單詞拼寫與語義,不僅能加速編碼、減少拼字錯誤,更能深度理解規格設計意圖。本文按字母序整理 A-Z 核心術語,附中文對照、記憶鉤子與使用情境。

A-Z 核心單詞總表

A

單詞中文HTML/CSS 語境記憶鉤子
absolute絕對position: absoluteAbsolutely positioned(絕對定位)
active激活/作用中:active 偽類、active 導航項Active state(激活狀態)
align對齊text-align, align-items, align-selfAlignment(對齊動作)
alpha透明度通道rgba(), hsla() 的 Alpha 參數Alpha channel(首個通道)
anchor錨點<a> 標籤全拼Anchor link(拋錨連結)
animation動畫@keyframes, animation 屬性Animate → Animation
auto自動margin: auto, width: autoAutomatic(自動計算)

B

單詞中文語境記憶
background背景background-color/image/repeat/position/sizeBack + ground(後方地面)
border邊框border-width/style/color/radiusBorder line(邊界線)
box盒子盒模型、box-sizing, box-shadowBox model(盒子模型)
block區塊display: block, 區塊級元素Building block(建構塊)
bold粗體font-weight: bold, <b>, <strong>Bold face(粗臉/粗體)
break斷行/中斷<br>, word-break, break-insideLine break(換行)

C

單詞中文語境記憶
cascade層疊CSS = Cascading Style SheetsCascade(瀑布/層疊)
cell儲存格<td> (table data cell), <th>Cell(蜂巢/單元格)
center置中text-align: center, margin: autoCenter point(中心點)
child子元素:first-child, > 子代選擇器Child node(子節點)
class類別class="...", .classnameClassification(分類)
color顏色color, background-color, border-colorColor(美式拼寫)
column欄/直欄column-count, grid-column, <col>Column(圓柱/直欄)
content內容content 屬性, ::before/after, contenteditableContent(容器內容)
cursor游標cursor: pointer, cursor: not-allowedCursor(游標/光標)

D

單詞中文語境記憶
display顯示/佈局模式display: block/inline/flex/grid/noneDisplay(展示)
div分割/區塊<div> = divisionDivision(分割區域)
document文檔document 物件, document.write()Document(文件)
default預設:default, default 關鍵字Default value(預設值)

E-F

單詞中文語境
element元素HTML Element, document.createElement()
em相對單位/強調font-size: 1.5em, <em>
float浮動float: left/right
font字體font-family/size/weight/style
flex彈性display: flex, flex: 1
focus焦點:focus, :focus-visible, :focus-within
form表單<form>, form 屬性
fixed固定position: fixed, background-attachment: fixed

G-H

單詞中文語境
grid網格display: grid, grid-template-columns
gap間隙gap, row-gap, column-gap
height高度height, min-height, max-height
hover懸停:hover 偽類
hidden隱藏hidden 屬性, visibility: hidden, input type=hidden
header頁首/標頭<header>, <th> 表頭

I-L

單詞中文語境
id身分識別id="unique", #id 選擇器
inline行內display: inline, inline-block, inline-flex
important重要!important
index索引/層級z-index, tabindex
inherit繼承color: inherit, 可繼承屬性
image / img圖片<img>, background-image
input輸入<input> 表單控件
justify兩端對齊/主軸分佈text-align: justify, justify-content
left左側left: 0, text-align: left, float: left
line線/行line-height, border-bottom, <hr>
list列表<ul>, <ol>, list-style

M-P

單詞中文語境
margin外邊距margin, margin-top/right/bottom/left
max / min最大/最小max-width, min-height
media媒體@media, <link media="print">
model模型Box model, CSSOM
navigation / nav導航<nav>, .nav, .navbar
none無/無效display: none, border: none, list-style: none
opacity不透明度opacity: 0.5
overflow溢出overflow: hidden/auto/scroll/visible
padding內邊距padding, padding-top...
position定位position: static/relative/absolute/fixed/sticky
pointer指標cursor: pointer
relative相對position: relative
right右側right: 0, text-align: right

R-Z

單詞中文語境
radius半徑border-radius
resize調整大小resize: both/horizontal/vertical
scroll捲動overflow: scroll, scroll-behavior
select選擇<select>, ::selection
solid實線/固體border-style: solid
span跨度/行內區塊<span>
static靜態position: static (預設)
style樣式style 屬性, <style>, CSS
table表格<table>
transform變換transform: translate/rotate/scale
transition過渡transition: all 0.3s ease
width寬度width, min-width, max-width
z-indexZ軸層級z-index: 999

高效記憶三大策略

  1. 詞根詞綴法:back-(後) ground(地) → background;in-(不) herit(繼承) → inherit;over-(超過) flow(流) → overflow
  2. 場景連結法:看到 :hover 聯想「滑鼠停留」;看到 z-index 聯想「Z軸垂直螢幕向外」
  3. 分類分組法:佈局、盒模型、文字、顏色、動畫、表單、選擇器、定位,各建立單詞卡

線上查詢資源推薦

將這份字彙表轉化為你的肌肉記憶,編寫 HTML/CSS 將如行雲流水。建議列印置於螢幕旁,遇到陌生單詞即查即記,三個月內徹底征服前端核心詞彙!

copyright © 萬盛學電腦網 all rights reserved