Skip to content

Instantly share code, notes, and snippets.

@drewminns
Created February 10, 2014 18:41
Show Gist options
  • Save drewminns/8921640 to your computer and use it in GitHub Desktop.
Save drewminns/8921640 to your computer and use it in GitHub Desktop.
Indentation in an HTML file. It does not matter, but is simply used to provide readability.
<html>
<head>
//some code
</head>
<body>
//some code
</body>
</html>
<!--Is the same as-->
<html>
<head>
//some code
</head>
<body>
//some code
</body>
</html>
<!--but the same is-->
<html><head>//some code</head><body>//some code</body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment