What's small, mark and wbr?
Question:
Describe the function of the small
, mark
, and wbr
tags and give an example usage of each of these tags.
The `small` tag
The small tag makes the font size one size smaller it is usually used for side comments or for copyright and footer text.
Example
<p> This is regular text. <small>This is small text</small></p>
Result:
This is regular text. This is small text.
The `mark` tag
This tag is used to highlight text. Like this.
The `wbr` tag
This tag is used to introduce line breaks. It will not include a hyphen at the break. This is used so you can have more control on how the browser breaks your text.
Example
<p>This is a veryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryvery<wbr>longwordthatwillbreakatspecific<wbr>placeswhenthebrowserwindowisresized.</p>
This is a veryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryvery