Html Chrome开发工具添加<;br>;非';不在那里吗?

Html Chrome开发工具添加<;br>;非';不在那里吗?,html,css,tags,Html,Css,Tags,这是我的代码,在奥迪的图像和灰色文本块之间,chrome正在添加标记,而这些标记实际上不在代码中?有人知道为什么吗?chrome似乎添加了很多实际上并不存在的标签:/ <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Audi MK Advert</title>

这是我的代码,在奥迪的图像和灰色文本块之间,chrome正在添加
标记,而这些标记实际上不在代码中?有人知道为什么吗?chrome似乎添加了很多实际上并不存在的标签:/

    <!DOCTYPE html>
        <html>

        <head>
            <meta charset="utf-8">
            <title>Audi MK Advert</title>
            <style>
                @font-face {
                    font-family: 'audibold';
                    font-style: normal;
                    font-weight: bold;
                    src: url('helper-files/fonts/AudiBold.otf') format('opentype');
                }

                @font-face {
                    font-family: 'audinormal';
                    font-style: normal;
                    font-weight: normal;
                    src: url('helper-files/fonts/AudiNormal.otf') format('opentype')
                }

                @media (min-width: 360px) {
                    table .tnormal {
                        font-size: 11px !important;
                    }
                    table .tnormalsmall {
                        font-size: 9px !important;
                    }
                    table .tbold {
                        font-size: 14px !important;
                    }
                    table .tboldaddress {
                        font-size: 13px !important;
                        font-weight: bold;
                    }
                    table .tboldsmall {
                        font-size: 11px !important;
                    }
                    table .marshall-logo {
                        margin-left: 100% !important;
                    }
                    table .footer {
                        font-size: 7px !important;
                    }
                }
            </style>
        </head>

        <body>

            <!-- Audi Logo Top Right -->
            <table style="float:right" ; display:block; margin-bottom: 10px>
                <tr>
                    <td>
                        <img src="helper-files/imgs/logo.png">
                    </td>
                </tr>
            </table>

            <br>

            <!-- Grey Navbar -->
            <table style="margin:auto; width:100%; background-color:#858585">
                <tr style="display:block;">
                    <td><img src="helper-files/imgs/navbutton2.jpg" style="margin-bottom: 5px"></td>
                    <td><img src="helper-files/imgs/navbutton3.jpg" style="margin-bottom: 5px"></td>
                    <td><img src="helper-files/imgs/navbutton4.jpg" style="margin-bottom: 5px"></td>
                    <td><img src="helper-files/imgs/navbutton5.jpg" style="margin-bottom: 5px"></td>
                    <td><img src="helper-files/imgs/navbutton6.jpg" style="margin-bottom: 5px"></td>
                    <td><img src="helper-files/imgs/navbutton1.jpg" style="margin-bottom: 5px"></td>
                    <td><img src="helper-files/imgs/navbutton7.jpg" style="margin-bottom: 5px"></td>
                </tr>
            </table>

            <!-- Audi Large Photo -->
            <table style="width:100%; margin-bottom:0">
                <tr>
                    <td style=align: "center"><img src="helper-files/imgs/header.jpg" style="width:100%"></td>
                </tr>
            </table>

            <!-- Body of text -->
            <table style="background-color: lightgray; padding-bottom: 20px; color:grey">
                <tr>
                    <td class="tbold" ; style="font-weight:bold; padding-bottom:15px; padding-top: 35px; font-size:35px; padding-left: 15px; padding-right: 15px;font-family: audibold">Whats in the name?</td>
                </tr>

                <tr>
                    <td class="tboldsmall" ; style="padding-bottom:15px; font-weight:bold; padding-right: 15px; padding-left: 15px; font-family: audibold">To reflect Ridgeway’s acquisition by Marshall Motor Holdings plc in May of this year, effective from the 1st of November, we have rebranded to Marshall.</td>
                </tr>

                <br>

                <tr>
                    <td class="tnormal" ; style="padding-bottom:15px; padding-left: 15px; padding-right: 15px; font-family: audinormal">Don’t worry – it’s not all change. Our excellent staff, standards and values will remain the same, ensuring that you receive consistently high levels of service.</td>
                </tr>

                <br>

                <tr>
                    <td class="tnormal" ; style="padding-bottom:15px; padding-left: 15px; padding-right: 15px; font-family: audinormal">The largest expansion acquisition that Marshall Motor Group has made to date, we are now part of a group that operates 103 franchise dealership businesses representing 24 different manufacturer brands across 25 counties in England, with a
                        turnover in excess of £2.1bn per annum and 3,500 colleagues; but you, the customer, are still our Number One!</td>
                </tr>

                <br>

                <tr>
                    <td class="tnormal" ; style="padding-bottom:15px; padding-left: 15px; padding-right: 15px; font-family: audinormal">With Marshall Motor Group (who are the 7th largest UK motor group in the UK), we are in a better position than ever to exceed expectations and adopt 106 years of dedicated Marshall expertise, with customer care and impeccable industry knowledge
                        at the heart of everything we do.</td>
                </tr>

                <br>

                <tr>
                    <td class="tnormal" ; style="padding-bottom:15px; padding-left: 15px; padding-right: 15px; font-family: audinormal">Just like always, we’re with you for the road ahead. Welcome to the next destination of our exciting journey. As part of the rebrand <a href="http://www.marshall.co.uk/" style="text-decoration:none; color:black; font-weight: bold;">ridgeway.co.uk</a> will
                        redirect to our new online home of <a href="http://www.marshall.co.uk/" style="text-decoration:none; color:black; font-weight: bold">marshall.co.uk</a> for all things Audi sales, service and parts!</td>
                </tr>

                <tr>
                    <td class="tbold" ; style="font-weight:bold; font-size:35px; padding-left: 15px; padding-right: 15px; font-family: audibold">Marshall</td>
                </tr>

                <tr>
                    <td class="tbold" ; style="font-weight:bold; font-size:35px; padding-left: 15px; padding-right: 15px; font-family: audibold">The new name for Audi in Oxford and Newbury.</td>
                </tr>

            </table>

奥迪MK广告
@字体{
字体系列:“audibold”;
字体风格:普通;
字体大小:粗体;
src:url('helper-files/font/AudiBold.otf')格式('opentype');
}
@字体{
字体系列:“audinormal”;
字体风格:普通;
字体大小:正常;
src:url('helper-files/font/AudiNormal.otf')格式('opentype')
}
@介质(最小宽度:360px){
表1.t正常值{
字体大小:11px!重要;
}
表1.tnormalsmall{
字体大小:9px!重要;
}
表.tbold{
字体大小:14px!重要;
}
表.tboldaddress{
字体大小:13px!重要;
字体大小:粗体;
}
表.TBOLDSMOLL{
字体大小:11px!重要;
}
表.马歇尔标志{
左边距:100%!重要;
}
表.页脚{
字体大小:7px!重要;
}
}

你叫什么名字? 为了反映马歇尔汽车控股有限公司于今年5月收购里奇韦,自11月1日起生效,我们将其更名为马歇尔。
别担心,这不全是改变。我们优秀的员工、标准和价值观将保持不变,确保您获得始终如一的高水平服务。
马歇尔汽车集团(Marshall Motor Group)迄今为止进行的最大规模扩张收购,我们现在是该集团的一部分,该集团经营103家特许经销业务,代表英格兰25个县的24个不同制造商品牌,拥有 年营业额超过21亿英镑,有3500名员工;但是你,顾客,仍然是我们的第一!
凭借马歇尔汽车集团(英国第七大汽车集团),我们比以往任何时候都更有能力超越预期,采用106年的马歇尔专业技术,提供客户关怀和无可挑剔的行业知识 在我们做的每件事的核心。
就像往常一样,我们在前方的道路上与你同在。欢迎来到我们激动人心的旅程的下一个目的地。作为品牌更名的一部分 重定向到我们新的奥迪销售、服务和配件在线主页! 马歇尔 奥迪在牛津和纽伯里的新名字。
HTML无效。您看到的额外标记是浏览器试图更正错误的结果

您还将看到一些额外的“添加”元素,它们的开始和结束标记是可选的(例如,每个表必须有一个
tbody
)。这是正常行为,不是问题

用于识别您的错误,包括以下内容:

  • 表行之间的换行符元素
  • 属性之间的分号
  • 引号位于错误位置的属性值

也可以使用CSS错误(例如使用不存在的属性)。

表格不是布局工具。如果您的表只有一行或一列,则说明您做错了。