skip to Main Content

script tag VS Html codes priority

in the below codes: <!DOCTYPE html> <html> <head> <title>Hello World</title> </head> <body> <span>1111</span> <script> alert("1"); </script> <span>22222</span> <script> alert("2"); </script> <span>Hello World</span> <script> alert("Hello World"); </script> </body> </html> In the body tag there are some span tags that after each…

VIEW QUESTION
Back To Top
Search