提问者:小点点

hx(h1,h2,h3等)的更换


使用Validator.w3将显示下一个错误:

错误:元素h3不能作为address元素的后代出现。

还有另一个错误:

错误:iframe元素上的frameBorder属性已过时。 请改用CSS。

所以,我的问题是:如何替换address标记内的h3? 要使用哪个标签? 那么,如何修复`iframe错误呢?

代码是:

<section id="Contacto">
    <div>
        <h2 class="concon">Contacto</h2>
        <div class="grupo-columnas centrar-columnas">
            <div class="columna">
                <address>
                    <h3>Mail</h3>
                    <a href="mailto:info@hyperx.com.ar" class="edit">info@hyperx.com.ar</a>
                    <h3>Llamanos</h3>
                    <a href="tel:540111122669288" class="edit">+54 011 2266-9288</a>
                    <h3>Ubicación</h3>
                    <p>Galería Jardín, Florida 537, Local 403, 1049 Buenos Aires</p>
                </address>
                <iframe id="mapa" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d5523.179529963751!2d-58.37788072464045!3d-34.6015771771587!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x95bccb43fa34ea69%3A0x9a4a3f10bd59e3e!2sFullh4rd!5e0!3m2!1ses-419!2sar!4v1591886402346!5m2!1ses-419!2sar" width="600" height="450" frameborder="0" style="border:0;" allowfullscreen="" aria-hidden="false" tabindex="0"></iframe>
            </div>
        </div>
    </div>
</section>

共1个答案

匿名用户

错误:元素h3不能作为address元素的后代出现。

使用文本元素,如

。 对该元素应用任何所需的样式以获得所需的结果

错误:iframe元素上的frameborder属性已过时。 请改用CSS。