![]() | This user page or section is in a state of significant expansion or restructuring. You are welcome to assist in its construction by editing it as well. If this user page has not been edited in several days, please remove this template. If you are the editor who added this template and you are actively editing, please be sure to replace this template with {{in use}} during the active editing session. Click on the link for template parameters to use.
This page was last edited by MintChocoChip (talk | contribs) 9 years ago. (Update timer) |
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