usually it looks like head louse. it usually indicates poor hygiene in children.
i advise you to take her to a pediatrician
who will prescribe a anti louse shampoo. you will also have to make sure you change her bedspread and pillow covers and wash them with hot water and dry under the sun to kill the louse in clothes. also wash her clothes in hot water. make sure if she has friends of her age with whom she plays with dont have the same problem and report it to their parents about it.
dont worry the problem can be solved with anti louse shampoo. please consult your pediatrician an follow the prescription
wishing you good health.