I have the piece of code from below, but I get the error which says "Bad value for attribute href on element a: Missing scheme." when I validate the code.
How can I fix this?
You have a space at the beginning of the href attribute. Try removing it.
- BenM
1 Answers
1
votes
the validator expects to see a valid schema in the href="" property.
Your screenshot clearly shows that the first character in there is a (space)
Remove that, and try with href="tel:051187989280"
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more
hrefattribute. Try removing it. - BenM