一个简单的标准 HTML 设计参考

我的网页

我的网页

欢迎来到我的网页

这是一个简单的 HTML5 网页设计。

我们的服务

  • 服务项目 1
  • 服务项目 2
  • 服务项目 3

© 2023 我的网页


这个 HTML 参考代码包括以下标准 HTML 特性:

  1. :HTML5 的文档类型声明,指定文档使用 HTML5 标准。
  2. :HTML 文档的根元素。
  3. :包含文档的元数据,如字符集、视口和标题等。
  4. :用于指定文档的元数据,如字符集和视口等。
  5. :定义文档的标题,将显示在浏览器标签页上。</span></span></li><li style='margin: 0px 6px 0px;'><span style='font-size: 17px;'><span style='color: #374151; --tt-darkmode-color: #909DB3;' class='data-color--tt-darkmode-909db3'><header>:定义文档的头部,包括网站的标题和导航栏。</span></span></li><li style='margin: 0px 6px 0px;'><span style='font-size: 17px;'><span style='color: #374151; --tt-darkmode-color: #909DB3;' class='data-color--tt-darkmode-909db3'><nav>:定义导航栏。</span></span></li><li style='margin: 0px 6px 0px;'><span style='font-size: 17px;'><span style='color: #374151; --tt-darkmode-color: #909DB3;' class='data-color--tt-darkmode-909db3'><ul> 和 <li>:定义无序列表和列表项。</span></span></li><li style='margin: 0px 6px 0px;'><span style='font-size: 17px;'><span style='color: #374151; --tt-darkmode-color: #909DB3;' class='data-color--tt-darkmode-909db3'><main>:定义文档的主要内容区域。</span></span></li><li style='margin: 0px 6px 0px;'><span style='font-size: 17px;'><span style='color: #374151; --tt-darkmode-color: #909DB3;' class='data-color--tt-darkmode-909db3'><section>:定义文档的区域。</span></span></li><li style='margin: 0px 6px 0px;'><span style='font-size: 17px;'><span style='color: #374151; --tt-darkmode-color: #909DB3;' class='data-color--tt-darkmode-909db3'><h1> 到 <h6>:定义标题级别,h1 为最高级别。</span></span></li><li style='margin: 0px 6px 0px;'><span style='font-size: 17px;'><span style='color: #374151; --tt-darkmode-color: #909DB3;' class='data-color--tt-darkmode-909db3'><p>:定义段落。</span></span></li><li style='margin: 0px 6px 0px;'><span style='font-size: 17px;'><span style='color: #374151; --tt-darkmode-color: #909DB3;' class='data-color--tt-darkmode-909db3'><img>:定义图像。</span></span></li><li style='margin: 0px 6px 0px;'><span style='font-size: 17px;'><span style='color: rgb(55, 65, 81); --tt-darkmode-color: #909DB3; text-shadow: rgba(0, 0, 0, 0) 0px 0px 0px;' class='data-color--tt-darkmode-909db3'><footer>:定义文档的底部,包括版权和其他信息。</span></span></li></ol></div> </article> </div> </div> </div> </div> </div> </main> <footer class="footer"> <div class="container"> </div> </footer> <script src="https://www.yolihui.com/zb_users/theme/light/lib/sticky-sidebar.min.js"></script> <script src="https://www.yolihui.com/zb_users/theme/light/script/main.js?v=1.0.6" type="module"></script> </body> </html><!--93.33 ms , 7 queries , 2452kb memory , 0 error-->