Which of the following selectors selects any tag with an id attribute set?
Home | Discussion ForumWhich of the following selectors selects any tag with an id attribute set?
E#id
.class
#id
*
Answer : C
View More Related Question
1) Which of the following selector applies styles to elements that are valid per HTML5 validations set either with the pattern or type attributes?
2) p strong {background-color: yellow;}
What will happen in this case?
Strong have yellow background
Strong element within a p element have a yellow background
Both p and strong have yellow background
None of the mentioned
View Answer
3) Which of the following selectors selects any tag with an id attribute set?
4) Which of the following selector selects the elements that are the default among a set of similar elements?
5) The _____________ attribute is used to define the name(s) of the class(es) to which a particular tag belongs.