HTML i Tag Closing Tag

2015/12/311 min read
bookmark this
Responsive image

I thought I understand most of HTML, but look following, when you write like this.



hi

*```


  The code will output to the browser to the following, the
  `i` need a closing tag `*`.


hi

*// tell the embed parent frame the height of the content if (window.parent && window.parent.parent){ window.parent.parent.postMessage(["resultsFrame", { height: document.body.getBoundingClientRect().height, slug: "None" }], "") }



How about this HTML..!?


*```

Yes, it is become little crazy add i tag to all the parent dom.

  if (window.parent && window.parent.parent){
    window.parent.parent.postMessage(["resultsFrame", {
      height: document.body.getBoundingClientRect().height,
      slug: "None"
    }], "*")
  }*