<!DOCTYPE html>
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
</html>
We will now add some text to our first web page! Inside of the <body> tag, let's add the following text:
Hello, world!
So it looks like this:
html
<!DOCTYPE html>
<html>
<head>
</head>
<body>
Hello, world!
</body>
</html>
open index.html into your terminal
start index.html
pwd and copy and paste the directory path into your browser (chrome), then click on the index.html fileThere are several plugins for VSCode designed to help you serve static webfiles. Let's use one to make viewing our webpage a little easier.
⌘ + Shift + C
Ctrl + Shift + C or F12
Now that you've got your basic HTML document set up, let's add a few more sections!
/