0
<ul> <li><a https://www.z.us>z</li> </ul>
Whats wrong with this code?
5 odpowiedzi
+ 6
a tag.
+ 5
anchor tag has no closing & link goes to the href attribute.
<ul><li><a href="https://www.z.us>z</a></li></ul>
+ 3
Hi Selvam,
You need to add 'href' in anchor tag and also you missed the double quote from start to end in your link .
<ul>
<li>
<a href="https://www.z.us">z</a>
</li>
</ul>
href stands for hypertext reference. It is used for links.
I hope I answered your question.
+ 2
Every container you open must be closed, within the container it was nested inside.
In this case, you opened:
<ul>, <li>, and <a> containers
You closed only the </li> and </ul> ones.
</a> needs to be closed before you close the </li> container because that is the block level element that it is nested within.
+ 1
Thanks everyone