css - HTML element is inserted into DOM at multiple strange points -


i have following code within html, seems simple enough:

<div>     <a" class="test">test</span> </div> 

but when go render it, a element gets replicated on page. idea on why happening?

modern browsers use html5 parsing algorithm has special rules misnested tags: http://www.w3.org/tr/html5/syntax.html#an-introduction-to-error-handling-and-strange-cases-in-the-parser. different behavior inline display, guess, due different white space processing models inline , block formatting contexts, resulting in different text content appears in implicit elements created algorithm.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -