Today I Learned - Rocky Kev

TIL the difference between strong and i

POSTED ON:

TAGS:

strong vs i.

The <b> and <strong> tags by default make text bold.
The <i> and <em> tags by default make text italicized.

As far as accessibility goes, while a particular screen reading software may or may not pronounce it differently, using <strong> or <em> at least opens the possibility, whereas a screen reader will never pronounce text within <b> or <i> differently.

REF:
Via https://thisthat.dev/b-i-vs-strong-em/


Related TILs

Tagged:

TIL Gmail has a 102KB size-limit for HTML

PLACEHOLDER

TIL how Error correction works in HTML

You never get an 'Invalid Syntax' error on an HTML page. Browsers fix any invalid content and go on.

TIL what DOCTYPE means

tl;dr: DOCTYPE declaration in the first line of the HTML file, to instruct the browser to run the code in Standard mode.