Jump to content

User:MintChocoChip/Creations/HTML/hello.html

From Wikipedia, the free encyclopedia

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.

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>
  1. Type in the second line:
<html lang="en">

3. Type in the third line:

  • BEWARE: Don't type in the
    <!---Character set and title content to go here--->
    
    or
    <!---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