Jump to content

Need help with coding website tutorial

This is html. If I use <!DOCTYPE html> To start the line of code it says "<p><h1 text </h1></p>" has to be the first thing in the text. So I do that but then it says <!DOCTYPE html> is missing ugh

1.PNG

2.PNG

3.PNG

4.PNG

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, epikgamerwmp said:

You don't need to do <p><h1>, just <h1>.

It wants me to make it look like this visual-diff.png

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Joshcanread said:

It wants me to make it look like this visual-diff.png

Just use <h1>

<h1> is for headings while <p> is just for normal text.

Edited by epikgamerwmp
More info

What are these for?

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, epikgamerwmp said:

You don't need to do <p><h1>, just <h1>.

If i dont include <p></p>image.png.238861fa5d5534e345d2dac6e8c5a398.png

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Joshcanread said:

If i dont include <p></p>image.png.238861fa5d5534e345d2dac6e8c5a398.png

Surround the regular text in the <p> tag.

What are these for?

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, epikgamerwmp said:

Surround the regular text in the <p> tag.

<p> your main text here </p>

What are these for?

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, epikgamerwmp said:

<p> your main text here </p>

It wanted <p></p> on each individual row of text ugh 

Link to comment
Share on other sites

Link to post
Share on other sites

24 minutes ago, Joshcanread said:

It wanted <p></p> on each individual row of text ugh 

Yeah, because that's correct.

Link to comment
Share on other sites

Link to post
Share on other sites

8 hours ago, Joshcanread said:

It wanted <p></p> on each individual row of text ugh 

Well, yes. The way plain html works is that text breaks to different likes only when you divide it with paragraph-tags.

^^^^ That's my post ^^^^
<-- This is me --- That's your scrollbar -->
vvvv Who's there? vvvv

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×