Last active
June 2, 2024 15:10
-
-
Save timbergus/5812402 to your computer and use it in GitHub Desktop.
Basic HTML5 "Hello World!" document structure.
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Hello World! Site Title</title> | |
</head> | |
<body> | |
<h1>Hello World!</h1> | |
</body> | |
</html> |
Agreeing with the comment above. Please consider adding the following as the first entry inside of the <head>
tag...
<meta charset="UTF-8">
Thank you!! 🙏
Would not be a bad idea to declare a language for the page as well:
<html lang="en">
I'm pretty sorry but now it's the first time I have been notified about your messages. I have already added your changes. Thanks a lot for your comments :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Greetings, this is the #1 hit on Google for 'Hello World HTML'. Please consider a meta tag for charset, ideally utf-8?