Ask coding questions

← Back to all posts
HTML "blank" issue
Lanna (40)

https://storage.googleapis.com/replit/images/1559912879768_e630dde04a791606e96b50dce2855c59.pn
Whenever I run this code, it works perfectly. But when I click on my hyperlink, the website does not run in a new tab. What's the issue?

Answered by TheDrone7 (1823) [earned 5 cycles]
View Answer
Comments
hotnewtop
TheDrone7 (1823)

You need to set the target to _blank instead of blank.

malvoliothegood (855)

Also, your h1 tags and the text they contain should be inside/after the opening body tag.