001/* 002 * Licensed to the Apache Software Foundation (ASF) under one or more 003 * contributor license agreements. See the NOTICE file distributed with 004 * this work for additional information regarding copyright ownership. 005 * The ASF licenses this file to You under the Apache License, Version 2.0 006 * (the "License"); you may not use this file except in compliance with 007 * the License. You may obtain a copy of the License at 008 * 009 * http://www.apache.org/licenses/LICENSE-2.0 010 * 011 * Unless required by applicable law or agreed to in writing, software 012 * distributed under the License is distributed on an "AS IS" BASIS, 013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 014 * See the License for the specific language governing permissions and 015 * limitations under the License. 016 */ 017package org.apache.juneau.bean.html5; 018 019import org.apache.juneau.marshall.*; 020 021/** 022 * DTO for an HTML <a class="doclink" href="https://www.w3.org/TR/html5/text-level-semantics.html#the-strong-element"><strong></a> 023 * element. 024 * 025 * <p> 026 * The strong element represents strong importance, seriousness, or urgency for its contents. 027 * It indicates that the content is of strong importance and should be emphasized. The strong 028 * element is typically rendered in bold by browsers, but the visual styling should be controlled 029 * with CSS rather than relying on the default browser styling. 030 * 031 * <h5 class='section'>Examples:</h5> 032 * <p class='bcode w800'> 033 * <jk>import static</jk> org.apache.juneau.bean.html5.HtmlBuilder.*; 034 * 035 * <jc>// Important warning</jc> 036 * Strong <jv>warning</jv> = <jsm>strong</jsm>(<js>"Warning: This action cannot be undone!"</js>); 037 * 038 * <jc>// Important notice</jc> 039 * Strong <jv>notice</jv> = <jsm>strong</jsm>(<js>"Important: Please read the terms and conditions."</js>); 040 * 041 * <jc>// Emphasis in text</jc> 042 * Strong <jv>emphasis</jv> = <jsm>strong</jsm>(<js>"This is very important information."</js>); 043 * 044 * <jc>// Strong text with styling</jc> 045 * Strong <jv>styled</jv> = <jsm>strong</jsm>(<js>"Critical system error detected!"</js>) 046 * .class_(<js>"alert"</js>); 047 * 048 * <jc>// Strong text in a sentence</jc> 049 * Strong <jv>sentence</jv> = <jsm>strong</jsm>(<js>"The deadline is tomorrow."</js>); 050 * </p> 051 * 052 * <h5 class='section'>See Also:</h5><ul> 053 * <li class='link'><a class="doclink" href="https://juneau.apache.org/docs/topics/JuneauBeanHtml5">juneau-bean-html5</a> 054 * </ul> 055 */ 056@Marshalled(typeName = "strong") 057public class Strong extends HtmlElementMixed<Strong> { 058 059 /** 060 * Creates an empty {@link Strong} element. 061 */ 062 public Strong() {} 063 064 /** 065 * Creates a {@link Strong} element with the specified child nodes. 066 * 067 * @param children The child nodes. Must not be <jk>null</jk>. 068 */ 069 public Strong(Object...children) { 070 children(children); 071 } 072}