User:MintChocoChip/Creations/HTML/hello.html: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 4:
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 <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>.
<source lang="html4strict"><!DOCTYPE html></source>
#Type in the second line:
 
<source lang="html4strict"><html lang="en"></source>
 
3. Type in the third 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>
 
Line 20 ⟶ 24:
<!---Text, image, video (etc) content to go here-->
</body></source>
 
#4. Within the <head> section, type in:
<source lang="html4strict">
<meta charset="UTF-8">
<title>Getting Started with HTML5</title>
</source>
 
5. Within the <body> section, type in:
<source lang="html4strict">
<h1>Hello World!</h1>
</source>
 
6. Type in the final line:
<source lang="html4strict">
</html>
</source>
 
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]]