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>
相关推荐
软件技术NINI8 小时前
html css js网页制作成品——化妆品html+css+js (7页)附源码
javascript·css·html
小白640213 小时前
前端梳理体系从常问问题去完善-框架篇(react生态)
前端·css·html·reactjs
又是忙碌的一天1 天前
前端学习day01
前端·学习·html
不会算法的小灰1 天前
HTML简单入门—— 基础标签与路径解析
前端·算法·html
cooldream20091 天前
深度解析中秋节HTML5动画的实现
前端·html·html5
我登哥MVP1 天前
HTML-CSS-JS-入门学习笔记
javascript·css·笔记·学习·html
水冗水孚1 天前
React中使用map+area标签实现img图片特定区域标记功能(可用Photoshop精准拾取对应点位)
react.js·html·photoshop
前端 贾公子2 天前
《Vuejs设计与实现》第 18 章(同构渲染)(下)
前端·javascript·html
Never_Satisfied2 天前
在JavaScript / HTML中,词内断行
开发语言·javascript·html
whltaoin2 天前
中秋赏月互动页面:用前端技术演绎传统节日之美
前端·javascript·html·css3·中秋主题前端