Ask coding questions

← Back to all posts
what did i do wrong
JAGABAN (2)
<html> <head> <title> HELLO WORLD!</title> </head> </html>
Commentshotnewtop
mwilki7 (519)

you need to wrap it in a marquee

<html> <head> <title> <marquee>HELLO WORLD!</marquee></title> </head> </html>
YatinBayya (18)

I am going to assume that you are trying to make a title as in a heading. What the title tag is not to make titles but to title the website which appears on the tab. To make a heading you need to do this

<html>
       <head> 
              <title> HELLO WORLD!</title>
       </head>
       <body>
              <h1>Hello World </h1>
       </body>
</html>

Whatever you put in the body is the content of your website. And the H1 stands for heading 1. There are 6 levels of heading, h1 being the biggest and h6 being the smallest.

<h1>Hello World</h1>
<h2>Hello World</h2>
<h3>Hello World</h3>
<h4>Hello World</h4>
<h5>Hello World</h5>
<h6>Hello World</h6>

FYI: to add pargraphs which is achieved by doing html <p>CONTENT HERE</p>

I hope I was able to help if so select the checkmark next to my comment which would be greatly appreciated.

Highwayman (207)

Title and everything in head is going to be almost meta data, body is where you want to put the stuff that actually shows up...

<!DOCTYPE html>

<html>
  <head>
    <title>HW prog</title>
  </head>
  <body>
    <p>HELLO WORLD!</p><!-- paragraph -->
  </body>
</html>
Masy (24)

what are you trying to do exactly?

Zavexeon (633)

Well, what are you expecting to be outputted? I see nothing wrong with your code, syntax wise?

Zavexeon (633)

@mattdoan Uhm... no... how's that related? It seems pretty interesting, though.

mattdoan (14)

@Zavexeon Just curious. Look it up on Amazon.

laksh5 (85)

@Zavexeon BTW what is your project prototype all about. I was browsing through your projects and I saw it.

Zavexeon (633)

@laksh5 Just a die roller. (Actually working on v3 atm)

JAGABAN (2)
<html> <head> <title> HELLO WORLD!</title> </head> </html>