- 1
Why is my code blank when i run it
html
9 odpowiedzi
+ 1
Share your code please
+ 1
<html>
<head>
<title>
My first HTML code
<title/>
<body>
<p>
I don't even know what to write but I'm testing my ability
</p>
<p>
you can login at my website through this link below
</p>
<a href=“http://www.paparazzi.com”>
</body>
</head>
</html>
+ 1
1. close your title tag like: </title>
2. close your <a> tag
3. close the head tag before opening the body tag
+ 1
<!DOCTYPE html>
<html>
<head>
<title>
my first html code
</head>
</title>
<body>
<p>
just trying my ability to write code and am done with my code for now
</p>
<p>
if you want to login on my website, click on the link below
</p>
<a href="http://www.paparazzi.com">paparazzi.com</a>
</body>
</html>
+ 1
is it correct now
+ 1
noted
+ 1
noted
0
okay
0
No, you have to swap the closing tags of the title and head, so the head closes after title and before the body opening tag. Then your code should be valid to run.