Why is my code blank when i run it | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Why is my code blank when i run it

html

6th Apr 2018, 7:10 AM
Kelechukwu Ikechukwu
Kelechukwu Ikechukwu - avatar
9 Answers
+ 1
Share your code please
6th Apr 2018, 7:22 AM
***
*** - avatar
+ 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>
6th Apr 2018, 7:24 AM
Kelechukwu Ikechukwu
Kelechukwu Ikechukwu - avatar
+ 1
1. close your title tag like: </title> 2. close your <a> tag 3. close the head tag before opening the body tag
6th Apr 2018, 7:42 AM
***
*** - avatar
+ 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>
6th Apr 2018, 8:07 AM
Kelechukwu Ikechukwu
Kelechukwu Ikechukwu - avatar
+ 1
is it correct now
6th Apr 2018, 8:07 AM
Kelechukwu Ikechukwu
Kelechukwu Ikechukwu - avatar
+ 1
noted
9th Apr 2018, 6:19 PM
Kelechukwu Ikechukwu
Kelechukwu Ikechukwu - avatar
+ 1
noted
9th Apr 2018, 6:19 PM
Kelechukwu Ikechukwu
Kelechukwu Ikechukwu - avatar
0
okay
6th Apr 2018, 7:23 AM
Kelechukwu Ikechukwu
Kelechukwu Ikechukwu - avatar
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.
6th Apr 2018, 8:14 AM
***
*** - avatar