News

Element selectors target specific kinds of HTML tags, for example, the <p> tag. If a page had dozens of <p> tags, all would be affected by the styles defined in a <p> element selector.
I recommend learning id, class name and HTML tag selectors first. The id selector matches HTML elements with the same id. It's often used when you want to locate a specific element in the Document ...
ID Selector The ID selector precedes with a "#" symbol; it is very similar to the class selector, except once an ID has been applied in on tag, it cannot be used anymore within the same HTML document.