java.lang.Object
com.amalgamasimulation.desktop.html.HTMLTag
com.amalgamasimulation.desktop.html.text.HTMLLink
All Implemented Interfaces:
HTMLConvertable

public class HTMLLink extends HTMLTag
Represents an HTML hyperlink (`` tag). It extends HTMLTag and provides a simple way to create clickable links with text and a URL.
Author:
Alexey Glazyrin
  • Constructor Details

    • HTMLLink

      public HTMLLink(String text, String url)
      Constructs a new HTMLLink instance with the specified text and URL.
      Parameters:
      text - the text to display as the link
      url - the URL to link to