A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/html/elements/strong below:

strong ยท WebPlatform Docs

strong Summary

The strong element indicates text that is of great importance, seriousness, or urgency.

Overview Table
DOM Interface
HTMLElement

The relative level of importance of a piece of content is given by its number of ancestor strong elements.

Examples

This example uses the strong element to indicate important information.

<p><strong><strong>Warning.</strong> This dungeon is dangerous.</strong></p>
Usage

The strong element is a phrasing-level element. It must not contain block-level elements, but it can contain other phrasing-level elements.

Notes

By default, most browsers render the strong element with bold text, but you can change that in CSS.

If you are looking to emphasize a word or phrase, the em element would be a better choice.

If you want to bold text, but the text is not important, you should use the CSS rule font-weight: bold on the appropriate element enclosing the text.

Related specifications
HTML 5.1
W3C Working Draft
HTML 5
W3C Recommendation
HTML 4.01
W3C Recommendation
See also Related articles HTML Text Related pages Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4