- Home
- Profile
- Tech ⤥
- Core
- Foundation ⤥
- Sprint 1 ⤥⤥
- Sprint 2 ⤥⤥
- Sprint 3 ⤥⤥
- Sprint 4 ⤥⤥
- Sprint 5 ⤥⤥
When calling a class, put a full stop(.) in front of the class name. When importing an ID, a # sign is placed in front of the ID value. The following is an example of a tag with both an id value and a class name, decorated using css.
Classes can be used as duplicate, so the same class name can be used anywhere on the page. However, duplicate IDs cannot be used. An ID can only be used once on a page.
In the case of a class, multiple class names can be applied to one element. However, only one ID can be applied to an element.