W3-Video WEB Tutorials

w3-video.com is a Free eLearning Website with over 500 video tutorials on HTML5, XAMPP, .htaccess, Firefox, Notepad++

HTML5 Tutorial

Home HTML5 XAMPP .htaccess Firefox Notepad++

strong ... ⁄strong

Share it

strong intro strong browser display strong parents - children strong syntax

HTML5 strong element

The strong element allows you to mark up a span of text as being important. »video

About strong

Display & support strong

Firefox iconChrome iconIE iconOpera iconSafari icon

Parents, children strong

Attributes strong


To make a span of text more important than the other and more important than the rest of the content you need to nest strong element inside strong element.
<p>content <strong>strong <strong> strongest<⁄strong> <⁄strong> <⁄p>

Syntax strong

1<strong> ... </strong> »video

Attributes and Values strong (comma separated)

<strongattribute="attribute_value(s)"> Video Examples
1. specific attributes
All Specific Attributes
2. global attributes
1.accesskey=keyboard key»img<strong accesskey="h"> ... </strong>
2.class=class name»html »img<strong class="class_name"> ... </strong>
3.contenteditable="",  , true, false »html<strong contenteditable="true"> ... </strong>
4.contextmenu=menu id value»html<strong contextmenu="menu_id_value"> ... </strong>
5.data-*= value -<strong data-http-error="404"> ... </strong>
6.dir=ltr, rtl, auto»html<strong dir="ltr"> ... </strong>
7.draggable= true,  , false»img<strong draggable="false"> ... </strong>
8.dropzone= copy, move, link, string:, file: -<strong dropzone="copy"> ... </strong>
9.hidden= "",  , hidden»html »img<strong hidden="hidden"> ... </strong>
10.id=id name»html »img<strong id="unique_id_name"> ... </strong>
11.itemid= URL --
12.itemprop= string »link »a-
13.itemref= string --
14.itemscope= "",  , itemscope--
15.itemtype= absolute URL --
16.lang=language code »html »head»title »img<strong lang="en"> ... </strong>
17.spellcheck="",  , true, false»html<strong spellcheck="true"> ... </strong>
18.style=CSS property:value»html »img<strong style="color:red"> ... </strong>
19.tabindex= integer »img<strong tabindex="3"> ... </strong>
20.title=text»html »link»style »abbr»dfn
»img »meter
<strong title="html page"> ... </strong>
21.translate="", yes, no»html »img<strong translate="yes"> ... </strong>
All Global Attributes
3. global event attributes
1.onclick=script» list<element onclick="script" > ...
2.ondblclick=script» list<element ondblclick="script" > ...
All Event Attributes

Video demonstration strong element

HTML5 strong element: mark up important content

min video details
00:00 video tutorial: strong element
00:05 strong element allows you to mark a span of text as being important
00:11 for example, inside this paragraph, we can consider the "required" word as being more important than the rest of the content
→ we can mark it using strong element
00:29 'required' has a stronger importance than the rest of the content

For more information about the strong element, please see the specs: W3CWHATWG