+ 1

Doubt

I wanted to create a simple page where the heading would be MySkills and an unordered list of CSS, SQL, JAVA, RUBY, Python with a link in every name. I use the following script <!Doctype html> <html> <head> <title>WebPage</title> </head> <body> <h1><span>MySkills</span></h1> <ul> <li><a href="https://en.wikipedia.org/wiki/Cascading_Style_Sheets" target="_blank">CSS</a></li> <li><a href="https://www.java.com/en/" target="_blank>JAVA</a></li> <li><a href="https://en.wikipedia.org/wiki/SQL" target="_blank>SQL</a></li> <li><a href="https://en.wikipedia.org/wiki/Python_(programming_language)" target="_blank>PYTHON</a></li> <li><a href="https://en.wikipedia.org/wiki/Ruby_(programming_language)" target="_blank>RUBY</a></li> </ul> </body> </html> I used it in notepad but it opened only CSS. The rest were not displayed. Please help

24th Jun 2019, 4:59 PM
Yash Anand Mutatkar
3 Answers
+ 1
You are missing multiple double closing quotes. You've got target="_blank but you're missing the closing ".
24th Jun 2019, 5:04 PM
Russ
Russ - avatar
+ 1
You are also opening your HTML tag twice, your top line is opening the HTML so there is no need for the <html> tag under. <!DOCTYPE html> can stay :)
24th Jun 2019, 5:50 PM
Jack Robert Nicholas Ahern