Content deleted Content added
No edit summary |
m →top: Replaced deprecated <source> tags with <syntaxhighlight> |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1:
Hello, Wikipedians!
It's Nana here. Today we are going to discuss about on how to make a HTML document.
*TIP: You can use [[Geany]](cross-platform), [[Notepad2]](Windows), [[Notepad++]](Windows), [[SciTE]](cross-platform).
*BEWARE: HTML documents should not be created in [[word processors]].
*TIP: The code <code><!DOCTYPE HTML></code> is not case-sensitive. You can type in: <code><!doctype html></code>, <code><!Doctype Html></code>, or <code><!DOCTYPE HTML></code>.
<
#Type in the second line:
*BEWARE: Don't type in the <source lang="html4strict"><!---Character set and title content to go here---></source> or <source lang="html4strict"><!---Text, image, video (etc) content to go here--></source>▼
<
3. Type in the third line:
▲*BEWARE: Don't type in the <
<!---Character set and title content to go here--->
</head>
Line 18 ⟶ 23:
<body>
<!---Text, image, video (etc) content to go here-->
</body></
▲<source lang="html4strict">
<syntaxhighlight lang="html4strict">
<meta charset="UTF-8">
<title>Getting Started with HTML5</title>
</syntaxhighlight>
5. Within the <body> section, type in:
<syntaxhighlight lang="html4strict">
<h1>Hello World!</h1>
</syntaxhighlight>
6. Type in the final line:
<syntaxhighlight lang="html4strict">
</html>
</syntaxhighlight>
7. Now show it up in your browser~
* TIP: You can use any browser to display the HTML document.
:*It should look like this:
[[File:HTML running in Mozilla Firefox.png|300px]]
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]]
|