Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Frontend
→
Advanced JavaScript Interview Questions in Frontend
→
What's the difference between the nth-of-type() an...
1.
What's the difference between the nth-of-type() and nth-child()?
Answer»
nth-of-type()
nth-child()
This is the selector that matches all the nth-child
ELEMENTS
, of its parent in a particular type.
This is the selector that matches all the nth-child elements, of its parent in all the types.
It takes multiple elements that are
USED
to describe the
PATTERN
for
ELEMENT
matching.
It takes only one element that is used to describe the pattern for element matching.
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
What is the use of clear in CSS?
What are the new features in HTML5?
What is the difference between HTML XHTML and XML?
What are the advantages of tableless layout?
Explain the features of Three.js?
What is the purpose of JSON.stringify()?
Explain the difference between internal and external Javascript?
What are the building blocks of HTML5?
What is the difference between a unit test and a functional test?
What is domain pre-fetching and how does it help with performance?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies