-
-
Save rsp/977d142fd21bfd0f070a3e6b9758ac99 to your computer and use it in GitHub Desktop.
Script tag in HTML5 vs XHTML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- find incorrect html below --> | |
<!doctype html> | |
<html lang=en> | |
<meta charset=utf-8> | |
<title>Script tag in HTML5</title> | |
<script> | |
alert(1 < 2, '<\/script>'); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment