id="tutorials"인 모든 요소를 선택하려면 다음 코드를 실행해 보십시오.
이를 달성하려면 #id CSS 선택기를 사용하세요.
예
<!DOCTYPE html>
<html>
<head>
<style>
#tutorials {
border: 3px solid red;
}
</style>
</head>
<body>
<h1>Tutorialspoint</h1>
<h2>Learning</h2>
<p id = "tutorials">Tutorials on web dev, programming, database, networking, etc.</p>
<p>Every tutorials has lessons with illustrations and figures.</p>
</body>
</html>