Re: Validator error.

Петро Плюта wrote:

> I want to report validator issue.
> Please check: https://pliuta.cf/itstep/lesson_01/homework.html
>
> Validator 
> (https://validator.w3.org/nu/?doc=https%3A%2F%2Fpliuta.cf%2Fitstep%2Flesson_01%2Fhomework.html) 
> says:
>
> Error: No |p| element in scope but a |p| end tag seen.
>
> From line 25, column 3; to line 25, column 6
>
> |ddress>↩ </p>↩ <p>|
>
>
> But all is ok. <p> element is present in source.
>
> Please verify the error.
>

The <p> element commencing at line 22 is implicitly ended by the 
<address> element commencing at line 23 — an <address> element cannot 
occur within a <p> element.  Of course, the HTML 5 "Nu Html Checker" (it 
no longer claims to be a validator /qua/ validator) could perhaps issue 
a more helpful diagnostic (e.g., implicit closures could be be reported 
via informational or warning messages).

Philip Taylor

Received on Tuesday, 10 September 2019 17:37:54 UTC