4 ms·
>>> [<br />] might lead you to believe that <script/> is an empty <script> tag — but in HTML, it definitely is not! ? What is "<script/>"?
by _ZeD_ 7y ago
>>> [<br />] might lead you to believe that <script/> is an empty <script> tag — but in HTML, it definitely is not!
?
What is "<script/>"?
- ihuman 7y agoThe script tag can't have an ending slash, so the browser turns it into a regular script tag. Since there's no closing one, the rest of the website becomes the content of that script element.