def _format_tags(line: list | dict, slice_: list) -> str:
    """
    Create or format tags.

    Parameters
    ----------
    line: Line to add a tag.

    slice_: Tag interval.

    Returns
    -------
    str: formatted html tag

    Examples
    --------
    >>> from pymove.visualization.folium import _format_tags, plot_points
    >>> move_df.head()
              lat          lon              datetime   id
    0   39.984094   116.319236   2008-10-23 05:53:05    1
    1   39.984198   116.319322   2008-10-23 05:53:06    1
    2   39.984224   116.319402   2008-10-23 05:53:11    1
    3   39.984211   116.319389   2008-10-23 05:53:16    1
    4   39.984217   116.319422   2008-10-23 05:53:21    1
    >>> _format_tags(
    >>>    line={
    >>>        'lat': 39.984094,
    >>>        'lon': 116.319236,
    >>>        'datetime': '2008-10-23 05:53:05',
    >>>        'id': 1
    >>>    },
    >>>    slice_=['lat', 'lon', 'datetime', 'id']
    >>> )
    lat: 39.984094<br/>lon: 116.319236<br/>datetime: 2008-10-23 05:53:05<br/>id: 1
    """
    map_formated_tags = map(lambda tag: f'{tag}: {line[tag]}', slice_)

    return '<br/>'.join(map_formated_tags)