+ 1
In html everything goes between open and close tags..but when i run by removing close tag then also it works fine.why??
means why it doesn't effect when there is a concept/rule that everything goes b/w tags..eg:: <html> <head> </head> <body> <p>paragraph 1 <p>paragraph 2</p> </body> </html> see I hav removed close tag in paragraph 1,but still it works fine as it works with close tag??
4 Réponses
+ 7
A web browser will always display HTML pages as best it can even if there are errors, but it might not assume correctly. Even if it does work as you want, though, be sure to fix it.
+ 6
There's webpage validators that can check over your scripts for errors. I think some webscript-writing software can highlight errors, too.
+ 1
yes, but if by mistake we miss something like this then how come we know about that, as error is not shown..it continues to work fine.
+ 1
ok.. thanks alot