Using HTML icons Using HTML icons The following code example creates a marker icon using HTML content.