What is <legend >tag | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

What is <legend >tag

i have studied

22nd Jun 2018, 4:10 PM
ALOK RANJAN
ALOK RANJAN - avatar
5 Answers
+ 7
<legend> tag can be considered as caption of a fieldset. It can be aligned using text-align property easily
23rd Jun 2018, 3:59 AM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
22nd Jun 2018, 6:23 PM
Vikash Pal
Vikash Pal - avatar
+ 5
Hello, ALOK RANJAN ! The <legend> tag is used to create a header for a group of form elements that is defined using the <fieldset> tag. A group of elements is indicated in the browser with a frame, and the text that is located inside the <legend> container is embedded in this frame.
22nd Jun 2018, 4:13 PM
Alexander Sokolov
Alexander Sokolov - avatar
+ 1
can u share a program related with it
22nd Jun 2018, 4:15 PM
ALOK RANJAN
ALOK RANJAN - avatar
0
thk.. know i understand
23rd Jun 2018, 4:07 AM
ALOK RANJAN
ALOK RANJAN - avatar