Why we <strong> two time for a single word or line once at start and once at last of the word or line | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Why we <strong> two time for a single word or line once at start and once at last of the word or line

6th Nov 2016, 7:33 AM
Vishal Dubey
Vishal Dubey - avatar
3 Answers
+ 6
Hi. The reason for having pair tags is one for an opening tag i.e. <strong> and the other is for closing this tag i.e. </strong>. Most tags are in pairs. Of course, as always, there are some exceptions, i.e. </br>. These are used to emphasize that a specific tag begins or ends. It is used in most programming languages although with different symbols, but the main idea is the same. I hope this helped.
6th Nov 2016, 6:38 PM
Veress Odon
Veress Odon - avatar
+ 5
all container tags like <strong> has one opening tag and one closing tag the effect is seen in the text in between them. the tags as <strong> text </strong>. all tag have same slash/
6th Nov 2016, 9:34 AM
Sandeep Chatterjee
+ 3
first one is opening tag and last one is closing tag <strong>Hello aditya<\strong>
6th Nov 2016, 7:49 AM
Aditya kumar pandey
Aditya kumar pandey - avatar