Computer Science, asked by mounikaec011, 1 year ago

Applying style to a single specific HTML element can be best achieved through __________ type selector

Answers

Answered by Anonymous
0

Hi

Applying style to a single specific HTML element can be best achieved through tag/element  type selector

for example:

p {

   color: green;

}

above css code will change color of every p tag to green


Answered by phillipinestest
2

Applying style to a single specific HTML element can be best achieved through id type selector.

The id type selector is used in CSS (Cascading Style Sheets) in order to select a specific single HTML element having that specific id attribute.

The id type selector is used as #id_name. It should be preceded by a hash(#) symbol to symbolize that its an id. Unlike class type selector, it cannot be used to select multiple elements.  

Similar questions