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.
Element, Class, and ID Selectors in CSS
1,407 already enrolled
What you'll learn
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.
Skills you'll practice
- Category: Cascading Style Sheets (CSS)
- Category: CSS Selector
- Category: CSS Class Selector
- Category: CSS Element Selector
- Category: Css ID Selector
Details to know
Add to your LinkedIn profile
Learn, practice, and apply job-ready skills in less than 2 hours
- Receive training from industry experts
- Gain hands-on experience solving real-world job tasks
- Build confidence using the latest tools and technologies
About this Guided Project
In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:
What is a selector?
The Element Selector
Span and Div
The Class Selector
The ID Selector
Learners need a basic grasp of HTML or completion of Introduction to HTML and some CSS exposure or completion of Style Website Text with CSS .
5 project images
How you'll learn
Skill-based, hands-on learning
Practice new skills by completing job-related tasks.
Follow along with pre-recorded videos from experts using a unique side-by-side interface.
No downloads or installation required
Access the tools and resources you need in a pre-configured cloud workspace.
Available only on desktop
This Guided Project is designed for laptops or desktop computers with a reliable Internet connection, not mobile devices.
Why people choose Coursera for their career
Showing 3 of 37
- 5 stars
- 4 stars
- 3 stars
- 2 stars
- 1 star
Reviewed on Aug 24, 2022
Reviewed on Nov 17, 2020
You might also like
Open new doors with Coursera Plus
Unlimited access to 7,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription
Advance your career with an online degree
Earn a degree from world-class universities - 100% online
Join over 3,400 global companies that choose Coursera for Business
Upskill your employees to excel in the digital economy
Frequently asked questions
By purchasing a Guided Project, you'll get everything you need to complete the Guided Project including access to a cloud desktop workspace through your web browser that contains the files and software you need to get started, plus step-by-step video instruction from a subject matter expert.
Because your workspace contains a cloud desktop that is sized for a laptop or desktop computer, Guided Projects are not available on your mobile device.
Guided Project instructors are subject matter experts who have experience in the skill, tool or domain of their project and are passionate about sharing their knowledge to impact millions of learners around the world.
You can download and keep any of your created files from the Guided Project. To do so, you can use the “File Browser” feature while you are accessing your cloud desktop.
Financial aid is not available for Guided Projects.
Auditing is not available for Guided Projects.
At the top of the page, you can press on the experience level for this Guided Project to view any knowledge prerequisites. For every level of Guided Project, your instructor will walk you through step-by-step.
Yes, everything you need to complete your Guided Project will be available in a cloud desktop that is available in your browser.
You'll learn by doing through completing tasks in a split-screen environment directly in your browser. On the left side of the screen, you'll complete the task in your workspace. On the right side of the screen, you'll watch an instructor walk you through the project, step-by-step.