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

Content deleted Content added
No edit summary
m top: Replaced deprecated <source> tags with <syntaxhighlight>
 
(2 intermediate revisions by 2 users not shown)
Line 1:
 
{{underconstruction}}
Hello, Wikipedians!
 
Line 9:
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>.
<sourcesyntaxhighlight lang="html4strict"><!DOCTYPE html></sourcesyntaxhighlight>
#Type in the second line:
 
<sourcesyntaxhighlight lang="html4strict"><html lang="en"></sourcesyntaxhighlight>
 
3. Type in the third line:
*BEWARE: Don't type in the <sourcesyntaxhighlight lang="html4strict"><!---Character set and title content to go here---></sourcesyntaxhighlight> or <sourcesyntaxhighlight lang="html4strict"><!---Text, image, video (etc) content to go here--></sourcesyntaxhighlight>
 
<sourcesyntaxhighlight lang="html4strict"><head>
<!---Character set and title content to go here--->
</head>
Line 23:
<body>
<!---Text, image, video (etc) content to go here-->
</body></sourcesyntaxhighlight>
 
4. Within the <head> section, type in:
<sourcesyntaxhighlight lang="html4strict">
<meta charset="UTF-8">
<title>Getting Started with HTML5</title>
</syntaxhighlight>
</source>
 
5. Within the <body> section, type in:
<sourcesyntaxhighlight lang="html4strict">
<h1>Hello World!</h1>
</syntaxhighlight>
</source>
 
6. Type in the final line:
<sourcesyntaxhighlight lang="html4strict">
</html>
</syntaxhighlight>
</source>
 
7. Now show it up in your browser~