def header(img, author, report_date, report_time, report_tz, title) -> str:
    """Creates reports header

    Parameters
    ----------
    img : str
        Image for customizable report
    author : str
        Name of author responsible by report
    report_date : str
        Date when report is run
    report_time : str
        Time when report is run
    report_tz : str
        Timezone associated with datetime of report being run
    title : str
        Title of the report

    Returns
    -------
    str
        HTML code for interactive tabs
    """
    return f"""
        <div style="display:flex; margin-bottom:1cm;">
            {img}
            <div style="margin-left:2em">
                <p><b>Analyst:</b> {author}</p>
                <p><b>Date   :</b> {report_date}</p>
                <p><b>Time   :</b> {report_time} {report_tz}</p>
                <br/>
                <p>{title}</p>
            </div>
        </div>"""