HTML CSS examples for HTML Tag:strong
The strong element marks important text.
The strong Element summary
Item | Value |
---|---|
Element | strong |
Local Attributes | None |
Tag Style | Start and end tag required |
New in HTML5 | No |
Changes in HTML5 | None |
Style Convention
strong {
font-weight: bolder;
}
The following code shows the strong element in use.
<!DOCTYPE html> <html> <head> <title>Example</title> </head> <body> This is a test. <strong>Warning:</strong> this is another test. <!--from ww w . ja va 2 s . c o m--> </body> </html>