2051
Living Room / Re: Hackers can use RFID readers to steal payment card numbers
« Last post by 4wd on February 15, 2015, 04:55 AM »Create a blank text file, type "anything" in it, save it as anything.html, then open it and check the DOM again. You'll see that the DOM is there, even though you only typed "anything". Now, do a view source and you'll see "anything", but no head or body or html tags.-Renegade (February 15, 2015, 04:22 AM)
Isn't that just the browsers reinterpreting the source due to the extension?
For example, if you then change the extension to .txt you'll find that the DOM wraps it in <PRE> ... </PRE> tags as well as HTML/BODY.

Recent Posts







