Saturday, July 1, 2017

Show the characterestics of the id Selector.


Characterestics of the id Selector:-


1.The id selector uses the id attribute of an HTML element to select a specific element.
2.The id of an element should be unique within a page, so the id selector is used to select one unique element.
3.To select an element with a specific id, write a hash (#) character, followed by the id of the element.