Re: [VE][79] p element is properly closed

> Validating http://www.cadistas1910.com/ficha_jugador.php?idjugador=1304
> Error [79]: "end tag for element X which is not open"

Have a look at line 152, `<p class="w3-text-black w3-justify">`—this
element was implicitly closed [1] by the next element, the `<div>` on
line 158, resulting in the closing `</p>` on line 222 not to being
opened even though it “looks” like it was matching.

The easiest fix may be to replace `<p class="w3-text-black
w3-justify">` by `<div class="w3-text-black w3-justify">` and to close
it by a corresponding `</div>` (i.e., replace the non-opened `</p>` on
line 222).

There are more issues, then, but it’s awesome that you’re validating
and working on improving the code.


[1] If you want to learn more about why that is,
https://html.spec.whatwg.org/multipage/syntax.html#optional-tags is a
start. Unless you feel like diving more deeply into HTML, don’t worry
about it too much though.

-- 
Jens Oliver Meiert
https://meiert.com/en/

Received on Monday, 14 December 2020 10:09:11 UTC