User:MintChocoChip/Creations/HTML/hello.html
Appearance
Hello, Wikipedians!
It's Nana here. Today we are going to discuss about on how to make a HTML document.
1. Launch a text editor.
- TIP: You can use Geany(cross-platform), Notepad2(Windows), Notepad++(Windows), SciTE(cross-platform).
- BEWARE: HTML documents should not be created in word processors.
2. Type in the first line:
- TIP: The code
<!DOCTYPE HTML>
is not case-sensitive. You can type in:<!doctype html>
,<!Doctype Html>
, or<!DOCTYPE HTML>
.
<!DOCTYPE html>
- Type in the second line:
<html lang="en">
3. Type in the third line:
- BEWARE: Don't type in the or
<!---Character set and title content to go here--->
<!---Text, image, video (etc) content to go here-->
<head>
<!---Character set and title content to go here--->
</head>
<body>
<!---Text, image, video (etc) content to go here-->
</body>
4. Within the <head> section, type in:
<meta charset="UTF-8">
<title>Getting Started with HTML5</title>
5. Within the <body> section, type in:
<h1>Hello World!</h1>
6. Type in the final line:
</html>
7. Now show it up in your browser~
- TIP: You can use any browser to display the HTML document.
- It should look like this:
Any questions? Ask them at User talk:MochaMilk/Creations/HTML/hello.html
If you want the code, click here: User:MochaMilk/Creations/HTML/hello.html/code