Element, Class, and ID Selectors in CSS

4.5
28 個評分
提供方
Coursera Project Network
在此指導 項目中,您將:

Identify the correct context in which to apply element, class, and ID selectors.

Use span and div tags to markup text in an HTML document.

Write CSS code using element, class, and ID selectors.

Clock1 hour 10 minutes
Intermediate中級
Cloud無需下載
Video分屏視頻
Comment Dots英語(English)
Laptop僅限桌面

In this intermediate-level course you will explore and compare CSS (Cascading Style Sheets) selectors. As HTML is used to add content to a website, CSS is used to make that content visually appealing to website visitors. This course focuses on helping you identify how and when to use element, class, and ID selectors to enhance the appearance of text on a website’s pages. CSS is a very powerful tool and gaining more control over the visual aspects of textual data on a website is a great first step in harnessing that power. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

您要培養的技能

Cascading Style Sheets (CCS)CSS SelectorCSS Class SelectorCSS Element SelectorCss ID Selector

分步進行學習

在與您的工作區一起在分屏中播放的視頻中,您的授課教師將指導您完成每個步驟:

  1. What is a selector?

  2. The Element Selector

  3. Span and Div

  4. The Class Selector

  5. The ID Selector

指導項目工作原理

您的工作空間就是瀏覽器中的雲桌面,無需下載

在分屏視頻中,您的授課教師會為您提供分步指導

審閱

來自ELEMENT, CLASS, AND ID SELECTORS IN CSS的熱門評論

查看所有評論

常見問題

常見問題

還有其他問題嗎?請訪問 學生幫助中心