The id Selector
The id selector uses the id attribute of an HTML element to select a specific element.
The id of an element should be unique within a page, so the id selector is used to select one unique element!
To select an element with a specific id, write a hash (#) character, followed by the id of the element.
The style rule below will be applied to the HTML element with id="para1".
The class Selector
The class selector selects elements with a specific class attribute.
To select elements with a specific class, write a period (.) character, followed by the name of the class.
website:- https://coderworld109.blogspot.in/
Смотрите видео part-5:- Classes and ID's in css3 онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Cook The Code 28 Декабрь 2017. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 24 раз и оно понравилось 2 посетителям.