[reported #114] HTML & CSS -- Links don't go to external sites

How come, when I create a link the editor won’t actually let me travel to the webpage?

1 Like

Is the link to a valid URL? (Is the website address correct?)

I’m pretty sure I did. I copied it from the web address box.

Links don’t work in the preview window - that’s why it didn’t open. I would work on your computer though.

Ohhhh. Here’s the code anyway:

<!DOCTYPE html>
	  <a href = 'https://www.google.com/?gws_rd=ssl'> Google</a>  

Woah! I can’t believe it!

That is so cool! I didn’t know the code would run!

To make the code show, you need to surround it in backticks:

code goes here
1 Like