Language
日本語
English

Caution

JavaScript is disabled in your browser.
This site uses JavaScript for features such as search.
For the best experience, please enable JavaScript before browsing this site.

CSS Dictionary

  1. Home
  2. CSS Dictionary
  3. [CSS Selector] Part Names

[CSS Selector] Part Names

The names of each part of CSS selectors and HTML elements are as follows.

div#main { color: red;}
p.text { font-size: 20px;}

※ The red part is the 'selector'.
※ The blue part is the 'property'.
※ The purple part is the 'value'.

<a href="./">Link</a>
<div class="hoge">Text</div>

※ The red part is the 'tag name' (element name).
※ The blue part is the 'attribute'.
※ The purple part is the 'value'.

If you find any errors or copyright issues, please .