Class Address<T extends Address<T>>


public class Address<T extends Address<T>> extends StyledContainerElement<T>
Represents an HTML <address> element for contact information.

The Address element defines contact information for the author or owner of a document or article. It typically contains email addresses, physical addresses, phone numbers, or links to contact pages. Browsers typically render this element in italic.

Features:

  • Semantic markup for contact information
  • Can contain any flow content (links, paragraphs, etc.)
  • Full CSS styling support
  • Improves document structure and accessibility

Usage:


 Address contact = new Address();
 contact.addChild(new Text("Contact: "));
 contact.addChild(new Hyperlink("email@example.com", "mailto:email@example.com"));
 
Since:
2007
Version:
1.0
Author:
Marvin P. Warble Jr.
See Also:
  • invalid reference
    StyledElement
  • Constructor Details

    • Address

      public Address()
      Constructs an empty <address> element.