0

Should I put an end tag when using frame tag?

<frame name="a" src="a.php" />

Is the closing tag / necessary?

user6181297
  • 113
  • 2
  • 11

2 Answers2

0

In HTML, the tag has no end tag. In XHTML, the tag must be properly closed.

Source: http://www.w3schools.com/tags/tag_frame.asp

Also see this answer.

Community
  • 1
  • 1
Rick
  • 443
  • 2
  • 10
0

No, you do not even need the /> - see here.

Please note, <frame> is deprecated in HTML5. It is highly advisable to use a different solution.

Nate I
  • 946
  • 4
  • 10