Bulky black dots on penile. Genital warts or skin tags?

I went to the dermatologist today and I'm a little anxious about these black dots that appeared at the base of the penis. Any idea if they could be herpes or genital warts?

image

image

image