<input type="text" id="name" name="name" value="></input>In IE, if you try to traverse the dom, you will get the end-tag as a separate element /input. Ex. with prototype: $('name').next() should get you /input.
<input type="text" id="name" name="name" value="></input>In IE, if you try to traverse the dom, you will get the end-tag as a separate element /input. Ex. with prototype: $('name').next() should get you /input.
Your HTML is incorrect. The <input> element is an inline tag so requires the inline syntax (ending it the <input> tag in <input />).
Here's what the browser is "thinking" as it reads what you just typed:
1. <input type="text" id="name" name="name" value=">
Oh, looks like I've got an input tag here... doesn't have the proper ending "/"... but hey, the web is full of people who forget that all the time so I'll just insert it for them then interpret this as a "text" input
2. </input>
??? Ummm, not sure what to do with this. Guess I'll just put a blank input tag in page.