namespace EnvelopeGenerator.Web.Models { /// /// Represents a hyperlink for contact purposes with various HTML attributes. /// public class ContactLink { /// /// Gets or sets the label of the hyperlink. /// public string Label { get; init; } = "Contact"; /// /// Gets or sets the URL that the hyperlink points to. /// public string Href { get; set; } = string.Empty; /// /// Gets or sets the target where the hyperlink should open. /// Commonly used values are "_blank", "_self", "_parent", "_top". /// public string Target { get; set; } = "_blank"; /// /// Gets or sets the relationship of the linked URL as space-separated link types. /// Examples include "nofollow", "noopener", "noreferrer". /// public string Rel { get; set; } = string.Empty; /// /// Gets or sets the filename that should be downloaded when clicking the hyperlink. /// This attribute will only have an effect if the href attribute is set. /// public string Download { get; set; } = string.Empty; /// /// Gets or sets the language of the linked resource. Useful when linking to /// content in another language. /// public string HrefLang { get; set; } = "en"; /// /// Gets or sets the MIME type of the linked URL. Helps browsers to handle /// the type correctly when the link is clicked. /// public string Type { get; set; } = string.Empty; /// /// Gets or sets additional information about the hyperlink, typically viewed /// as a tooltip when the mouse hovers over the link. /// public string Title { get; set; } = string.Empty; /// /// Gets or sets an identifier for the hyperlink, unique within the HTML document. /// public string Id { get; set; } = string.Empty; } }