Definition
The <legend> tag use for display any text or message between field set line in html document. Its mainly use within <fieldset> tag.
Browser that supports <legend> tag
Internet explorer, Mozilla firefox, Google chrome, Opera and Safari browsers.
Lets take an example of <legend> tag
<html>
<head>
<form>
<fieldset>
<legend>Your massage</legend>
</fieldset>
</form>
</head>
</html> |
Output

Further Readings
You may read more about HTML 5 Tags: here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here