Self closing tags

The code checker issues WARNINGS:-

"Self-closing tag syntax in text/html documents is widely discouraged; 
it’s unnecessary and interacts badly with other HTML features (e.g., 
unquoted attribute values). If you’re using a tool that injects 
self-closing tag syntax into all void elements, without any option to 
prevent it from doing so, then consider switching to a different tool."

The statements in my source code have NO CLOSING tags,

<input type="text"
        readonly="readonly"
        style="color: #000000; background-color: #ff9999;"
        name="mycall"
        value=<?php echo $user; ?>
        size="15"
        maxlength="12">

AND

<input type="text"
        readonly="readonly"
        style="color: #000000; background-color: #ff9999;"
        name="dxcall"
        value="<?php echo $beaconcall; ?>"
        size="15"
        maxlength="12">

BUT

the code checker shows closing tags and then complains. The code checker 
itself must be putting them there! Please explain why this is happening.

The code is here:

https://www.beaconspot.uk/dxcform.php


Thanks,
Robin Lucas

Received on Wednesday, 5 October 2022 08:46:21 UTC