How to add Custom text to mapbox

clipboard.png
how to add text to the right side of the icon to show the geolocation name of the current central coordinates on the mapbox map.
has added the picture. The code is as follows: how to add the text on the right

      let img = new Image();
      img.src = "/image/cn/normal.png";
      var marker = new mapboxgl.Marker(img, { offset: { x: 0, y: -20.5 } })
        .setLngLat([104.035719, 30.332331])
        .addTo(map);
Mar.29,2021

marker,offset
let curMarker = new mapboxgl.Marker(icon, {offset: [0, -15]})
              .setLngLat(coid.coordinates)
              .addTo(map);
let el = document.createElement('div');
el.innerHTML = '';
let currentMarkerTitle = new mapboxgl.Marker(el, {offset: [35, -25]})
              .setLngLat(coid.coordinates)
              .addTo(map);
            

how to add web forms

map.addImage('pulsing-dot', pulsingDot, { pixelRatio: 2 });

        map.addSource('points', {
            'type': 'geojson',
            'data': {
                'type': 'FeatureCollection',
                'features': [
                    {
                        'type': 'Feature',
                        'geometry': {                                
                            'type': 'Point',
                            'coordinates': [103.605, 36.101]
                        }
                    },
                    {
                        'type': 'Feature',
                        'geometry': {
                            'type': 'Point',
                            'coordinates': [103.888, 36.101]
                        }
                    }
                ]
            }
        },

I want to add text notes next to these two dynamic icons

Menu