html标签

html 复制代码
<!DOCTYPE html>
<head>
    <meta charset="UTF-8">
    <title>我的网页</title>
</head>
<body>
    <header>
        <h1>欢迎来到我的网站</h1>
    </header>
    <main>
        <p>这是一个介绍段落,描述了网站的主要内容和目的。</p>
        <p style="color: red;">这是另一个段落,包含一些额外的信息。</p>
		<p style="color: blueviolet;">颜色测试blueviolet</p>
		<div><img src="https://tse2-mm.cn.bing.net/th/id/OIP-C.m2aptW7AWaWGUXifwziRNQDPEt?w=120&h=180&c=7&r=0&o=5&pid=1.7/300" width="258" height="139"/></div>
		<div><img src="https://via.placeholder.com/300" width="258" height="139" /></div>
        <a href="https://example.com" id="example-link">点击这里访问更多内容</a>
		<video controls width="400" height="300">
		    <source src="1e35f58a5dd3a771737255a658b7f593.mp4" type="video/mp4" >
		</video>
		
		<!--有序列表-->
		<ol>
		  <li>Coffee</li>
		  <li>Tea</li>
		  <li>Milk</li>
		</ol>
		
		<!--有序列表, 从 50 开始编号-->
		<ol start="50">
		  <li>Coffee</li>
		  <li>Tea</li>
		  <li>Milk</li>
		</ol>
		
		<h4>无序列表:</h4>
		<ul>
		  <li>Coffee</li>
		  <li>Tea</li>
		  <li>Milk</li>
		  
		  <p>
		  每个表格从一个 table 标签开始。 
		  每个表格行从 tr 标签开始。
		  每个表格的数据从 td 标签开始。
		  </p>
		  
		  <h4>一列:</h4>
		  <table border="1">
		  <tr>
		    <td>100</td>
		  </tr>
		  </table>
		  
		  <h4>一行三列:</h4>
		  <table border="1">
		  <tr>
		    <td>100</td>
		    <td>200</td>
		    <td>300</td>
		  </tr>
		  
		  
		  
		  </table>
		  <!--这是一个注释,注释在浏览器中不会显示-->
		  <h4>两行三列:</h4>
		  <table border="1">
		  <tr>
		    <td>100</td>
		    <td>200</td>
		    <td>300</td>
		  </tr>
		  <tr>
		    <td>400</td>
		    <td>500</td>
		    <td>600</td>
		  </tr>
		  </table>
		  <div>1</div>
		  <div>1</div>
		  <div>1</div>
		  <div>1</div>
		  <div>1</div>
    </main>
    <footer>
        &copy; 2024 我的网站
    </footer>
</body>
</html>
相关推荐
程序员大阳18 小时前
HTML+CSS+JS对话式实战(3)-活动管理页实现查询、新增、删除API后端接口
javascript·css·html·实战·删除·查询·新增
htzyl2064 天前
前端阶梯——第四十三章、实战二:待办清单To-Do
前端·javascript·html
程序员大阳4 天前
HTML+CSS+JS对话式实战(1)-开篇:认识我们要做的社团活动发布平台
javascript·css·html·实战·系统·平台·社团活动发布
一支蜉蝣4 天前
Day26 XD安全学习笔记--PHP 应用&模版引用&Smarty渲染&MVC 模型&数据联动&RCE 安全
笔记·网络安全·html·php
用户298698530144 天前
Python 将 Markdown 批量转为 HTML:单文件与目录遍历两种实现
python·html·markdown
钱栈up4 天前
热榜上手|HyperFrames:写HTML出MP4
前端·html
幸运小猿4 天前
模拟慢上传-处理超时重试image 丢失线上问题
前端·javascript·html
轻松西西莱尔5 天前
谷歌+斯坦福+CMU 等五家 203 页综述,我做了个HTML把主动式AI的边界跑给你看
前端·html·agent
MaAidan5 天前
用 Agent 排查线上问题:SLS 日志分析 + DB/Redis 数据验证,一条链路搞清楚
前端·bootstrap·html
砚凝霜5 天前
保姆级 | CTF Lemon:禁用右键/F12 怎么破?查看源码 + HTML 注释拿 flag
前端·html