Answers for "Can an input tag have a pseudo element"

0

Can an input tag have a pseudo element

Pseudo elements are like children of their parent element and since 
input elements are self-closing elements, they cannot have any 
children. Therefore they cannot have pseudo elements. Hopefully 
this would be fixed in the next HTML:5 version update
Posted by: Guest on September-28-2021

Code answers related to "Can an input tag have a pseudo element"

Browse Popular Code Answers by Language