code: def linktag(
      text: str,
      style: t.Optional[t.Dict[str, t.Any]] = None,
      is_for_iframe_with_srcdoc: bool = False,
      **kwargs,
  ) -> str:
      """Return html a tag.
  
      Parameters
      ----------
      style : Optional[Dict[str, Any]], default None
          tag style rules
      is_for_iframe_with_srcdoc : bool, default False
          anchor links, in order to work within iframe require additional prefix
          'about:srcdoc'. This flag tells function whether to add that prefix to
          the anchor link or not
      **kwargs :
          other tag attributes
  
      Returns
      -------
      str
      """
      if is_for_iframe_with_srcdoc and kwargs.get(
          "href", ""
      ).startswith("#"):
          kwargs["href"] = f'about:srcdoc{kwargs["href"]}'
  
      if style is not None:
          kwargs["style"] = "\n".join(
              [f"{k}: {v};" for k, v in style.items() if v is not None]
          )
  
      attrs = " ".join([f'{k}="{v}"' for k, v in kwargs.items()])
      return f"<a {attrs}>{text}</a>"
  
label_desc: Use image node_id 2 for calling a global function with example usage: linktag(text, style, is_for_iframe_with_srcdoc) and returns: str, attrs, str, text, str