HTML Tutorial - CSS: discussing differences between Ids and Classes

Опубликовано: 04 Май 2023
на канале: Web development By ProgrammingKnowledge
11
0

In this video, we’ll discuss about the differences between IDs and Classes


HTML id Attribute: The id attribute is a unique identifier that is used to specify the document. It is used by CSS and JavaScript to perform a certain task for a unique element. In CSS, the id attribute is written using the # symbol followed by id.

HTML class Attribute: The class attribute is used to specify one or more class names for an HTML element. The class attribute can be used on any HTML element. The class name can be used by CSS and JavaScript to perform certain tasks for elements with the specified class name. The class name in CSS stylesheet using “.” symbol.


На этой странице сайта вы можете посмотреть видео онлайн HTML Tutorial - CSS: discussing differences between Ids and Classes длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Web development By ProgrammingKnowledge 04 Май 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 11 раз и оно понравилось 0 зрителям. Приятного просмотра!