HTML Element 作为一种数据,被处理首先需要获取它,在 DOM API 中使用 getElementById 等一系列方法获取,而在 CSS 中使用选择器来获取。
getElementById