Last active
April 15, 2019 21:08
-
-
Save cuschk/289dea0e4d21fb1decef to your computer and use it in GitHub Desktop.
Basic HTML5 file with UTF-8 encoding
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
<title></title> | |
</head> | |
<body> | |
<p></p> | |
</body> | |
</html> |
This file contains hidden or 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
<!DOCTYPE html> | |
<meta charset="utf-8"/> | |
<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
<title></title> | |
<p></p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Default values for attributes:
script
:type
:text/javascript
style
:type
:text/css
So you can always write
<script>...</script>
and<style>...</style>
without thetype
tags. See https://www.w3.org/TR/html5/scripting-1.html and https://dev.w3.org/html5/spec-preview/the-style-element.html