This worked. Why though? 6/15


I was creating the link and somehow, this code worked /

<a href= >Learn More
I didn’t even put the link in, yet it worked. Can someone tell me why?


This was my entire code, >

Animals Around the World

The Brown Bear

The brown bear (Ursus arctos) is native to parts of northern Eurasia and North America. Its conservation status is currently "Least Concern." There are many subspecies within the brown bear species, including the Atlas bear and the Himalayan brown bear.

Learn More

The following are subspecies of bears:

  • Arctos
  • Collarus
  • Horribilis
  • Nelsoni (extinct)

The following countries have the largest populations of brown bears:

  1. Russia
  2. United States
  3. Canada


that’s what it looked like when it was ran, at least.


Some browsers will try to add a missing closing tag, such as the a tag. If you were to explore the HTML via Chrome or Firefox’s Developer Tools, you can see it:

<a>Learn More</a>

Notice, the browser added the missing </a> tag.

This element is missing where you want to link the Learn More, as the href is missing.

Visually, it looks like it’s working. Right? The color is for a link. You can hover over it. But when clicking, it doesn’t take you anywhere.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.