html - Why does the iframe tag have a closing tag? -


why iframe tag have closing tag? since there no content expected between 2 tags (the content empty), why iframe tag not unique, embed tag, link tags, meta tags (img, br, hr, etc.)? computer language should not essential? have not found answer in w3c site: the iframeelement sorry stupid question. answers. juri

since not expected content between 2 tags (the content empty)

there is. expected put alternative content displayed in browsers can't, or won't, load framed content.

(at least, case before html 5, seems have forgotten feature, still needs support existing implementations in browsers).


Comments

Popular posts from this blog

elasticsearch python client - work with many nodes - how to work with sniffer -

angular - Is it possible to get native element for formControl? -

Upload file with tags through OwnCloud or NextCloud API -