Cooldude100
Coder
Hello, my name is Grayson. I am a beginner coder who is twelve years old. I took this code from a website:
And it put out this error:
File "C:\Users\grays\OneDrive\Desktop\Test.html", line 1
<!DOCTYPE Html>
^
SyntaxError: invalid syntax
[Finished in 156ms]
I have a text editor called sublime. And anyone that says I don't need the doctype command, the terminal says I do. I wonder if i need to do anything in the windows terminal. Please help.
Code:
<!DOCTYPE Html>
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
And it put out this error:
File "C:\Users\grays\OneDrive\Desktop\Test.html", line 1
<!DOCTYPE Html>
^
SyntaxError: invalid syntax
[Finished in 156ms]
I have a text editor called sublime. And anyone that says I don't need the doctype command, the terminal says I do. I wonder if i need to do anything in the windows terminal. Please help.