Skip to content

Magento2.4.5 Console Display HTML tags must be properly nested and closed

Magento CE 2.4.5 display “HTML tags must be properly nested and closed:”
How to fixed on folllow code:
enter image description here

JQMIGRATE: HTML tags must be properly nested and closed: <div if="isPaymentMethodsAvailable()"
     class="items payment-methods">
<div repeat="foreach: paymentGroupsList, item: '$group'"
         class="payment-group">
<!-- ko if: showFormShared($group) -->
<!-- ko foreach: getRegion('billing-address-form-shared') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
<!--/ko-->
<each args="data: getRegion($group().displayArea), as: 'method'" render=""/>
</div>
</div>
<div ifnot="isPaymentMethodsAvailable()"
     class="no-payments-block"
     translate="'No Payment Methods'">
</div>
JQMIGRATE: HTML tags must be properly nested and closed: <div class="order-comment-block">
<label class="label">
<span data-bind="i18n: 'Order comment'"></span>
</label>
<div class="control">
<textarea class="admin__control-textarea" data-bind="
            value: value,
            valueUpdate: valueUpdate,
            hasFocus: focused,
            attr: {
                name: inputName,
                cols: cols,
                rows: rows,
                'aria-describedby': noticeId,
                placeholder: placeholder,
                id: uid,
                disabled: disabled
            }"
                />
    </div>
</div>