When formatting text, can you get the same result when using different tags? answer is yes! Please explain | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 5

When formatting text, can you get the same result when using different tags? answer is yes! Please explain

8th Oct 2016, 3:09 AM
Ashutosh Jaiswal
Ashutosh Jaiswal - avatar
8 Answers
+ 3
yes, with CSS you can set almost anything you like. just reset all tags (normalize.css or reset.css) and style them your way.
27th Jun 2017, 8:53 AM
khaled AbdulBasit
khaled AbdulBasit - avatar
+ 2
For example <strong>, <b> or <i>, <em>. They have the same effect on normal web browser rendering engines, but there is a fundamental difference between them. Think of three different situations: - web browsers - blind people - mobile phones "Bold" is a style - when you say "bold a word", people basically know that it means to add more, let's say "ink", around the letters until they stand out more amongst the rest of the letters. That, unfortunately, means nothing to a blind person. On mobile phones and other PDAs, text is already bold because screen resolution is very small. You can't bold a bold without screwing something up. <b> is a style - we know what "bold" is supposed to look like. <strong> is an indication of how something should be understood. Text in <strong> is important. "Strong" could (and often does) mean "bold" in a browser, but it could also mean a lower tone for a speaking program like Jaws (for blind people) or be represented by an underline (since you can't bold a bold) on a Palm Pilot.
8th Oct 2016, 7:22 AM
Jakub ADAMEC
Jakub ADAMEC - avatar
+ 1
yes
5th Dec 2019, 1:34 PM
Rachelle Ivana Samonte
Rachelle Ivana Samonte - avatar
+ 1
yes
10th May 2021, 9:55 AM
Eftakhar Mahmud Shikat
Eftakhar Mahmud Shikat - avatar
+ 1
the URL of the page to be transferred
4th Jan 2022, 1:53 PM
Jesus Kumar Sahoo
Jesus Kumar Sahoo - avatar
0
Yes
29th Jul 2020, 4:41 PM
MD. SAZZAD HUSSAIN
MD. SAZZAD HUSSAIN - avatar
0
Yes
15th Dec 2020, 4:48 PM
Zahraahmadi
0
like <b> and <strong> or <i> and <em> tag shows same result
10th Nov 2021, 12:22 PM
Shreyash Rajendra Patil
Shreyash Rajendra Patil - avatar