Class Strong


@Bean(typeName="strong") public class Strong extends HtmlElementMixed
DTO for an HTML <strong> element.

The strong element represents strong importance, seriousness, or urgency for its contents. It indicates that the content is of strong importance and should be emphasized. The strong element is typically rendered in bold by browsers, but the visual styling should be controlled with CSS rather than relying on the default browser styling.

Examples:

import static org.apache.juneau.bean.html5.HtmlBuilder.*; // Important warning Strong warning = strong("Warning: This action cannot be undone!"); // Important notice Strong notice = strong("Important: Please read the terms and conditions."); // Emphasis in text Strong emphasis = strong("This is very important information."); // Strong text with styling Strong styled = strong("Critical system error detected!") ._class("alert"); // Strong text in a sentence Strong sentence = strong("The deadline is tomorrow.");

See Also: