<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="author" content="weiyupeng">
<meta name="time" content="2023/6/18 11:40">
<meta http-equiv="refresh" content="100">
<title>头部</title>
<link rel="stylesheet" type="text/css" href="../css/demo01.css"/>
<style type="text/css">
body {
background-color: wheat;
}
p {
color: black;
}
</style>
</head>
<body>
<h1>一级标题</h1>
<h2>二级标题</h2>
<h3>三级标题</h3>
<h4>四级标题</h4>
<h5>五级标题</h5>
<h6>六级标题</h6>
<p>段落1</p>
<p>段落2</p>
<a href="https://www.baidu.com">链接1</a>
<br/>
<br>
<p class="pp11" id="pp111" style="background-color:#ffff00; font-size: 30px" title="title123123">p321</p>
<hr/>
<p> 段 落 2 </p>
<p>这是个<br/>折行<br/>段落</p>
<p>
<b>加粗字体</b>
<em>着重文字</em>
<i>斜体字</i>
<small>小号字</small>
普通字<sub>下标</sub>
普通字<sup>上标</sup>
<ins>下划线</ins>
<del>删除字</del>
</p>
<p>
<code>print("代码区域");</code>
</p>
<kbd>键盘输入</kbd>
<p>
<samp>代码样本</samp><br/>
<var>变量</var>
</p>
<pre>预格式文本 a
b c d e
</pre>
<p>
<abbr title="缩写">SX</abbr>
</p>
<address>地址:北京市海淀区</address>
<pre>
该段落文字从左到右显示
<bdo dir="rtl">该段落文字从右到左显示</bdo>
</pre>
<blockquote cite="www.baidu.com">
长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用长引用
</blockquote>
<p>
普通文字<q>短引用</q>普通文字<br/>
普通文字<cite>引用、引证</cite>普通文字<br/>
<dfn>定义项目</dfn><br/>
</p>
<a href="https://www.baidu.com/">百度链接</a>
<a href="https://www.baidu.com/" target="_self">百度链接</a>
<a href="https://www.baidu.com/" target="_blank">百度链接</a>
<a href="https://www.baidu.com/" target="_parent">百度链接</a>
<a href="https://www.baidu.com/">
图片链接<img border="2" src="../image/logo.png" alt="图片链接" width="64" height="32">
</a><br/>
<a href="mailto:13261985829@163.com?Subject=vue" target="_top">
发送邮件(邮件主题为vue)
</a><br/>
<a href="mailto:收件人@1.com?cc=抄送@1.com&bcc=秘密抄送@1.com&subject=主题&body=正文" >
发送邮件!
</a>
<br/><br/>
<a id="tip1">提示1提示1提示1提示1提示1提示1提示1</a>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<a href="#tip1">点击跳转到提示1</a><br/>
<a href="http://localhost:63342/vue-study/static/html/demo01.html#tip1">
点击跳转到另一个网页的提示1(此处都在一个demo里演示)
</a>
<p style="color:#ff00c8;margin-left:200px;background-color:chartreuse">段落</p>
<h2 style="color:#ff00c8;background-color:chartreuse">标题2</h2>
<h3 style="font-family: 'Baskerville Old Face';color: red;font-size: 30px">标题3</h3>
<h1 style="text-align: center">居中标题1</h1>
<p>
<style type="text/css">
body {background-color: darkgrey}
p {color: chocolate}
</style>
普通字 <b>加粗字体</b>
<em>着重文字</em>
<i>斜体字</i>
</p>
<img id="img1" src="../image/logo.png" decoding="async" width="400" height="100" alt="图片的替代描述文本"/>
<img src="wrongPath/logo.png" decoding="sync" width="200" height="200" alt="图片的替代描述文本"/>
<br/><br/>
<img src="../image/logo.png" width="400" height="200" usemap="#logo" alt="vue-logo">
<map name="logo">
<area shape="rect" coords="0,0,50,50" alt="baidu" href="https://www.baidu.com/">
<area shape="circle" coords="200,150,25" alt="this" href="demo01.html">
<area shape="poly" coords="200,50,400,50,300,0" alt="this" href="demo01.html">
</map>
<table border="50" bgcolor="#228b22" cellpadding="20">
<colgroup>
<col span="2" style="background-color: yellow"/>
</colgroup>
<caption>表头</caption>
<thead>
<tr>
<th>列标题1</th>
<th>列标题2</th>
<th>列标题3</th>
</tr>
</thead>
<tbody>
<tr>
<td>行1,列1</td>
<td>行1,列2</td>
<td>行1,列3</td>
</tr>
<tr></tr><tr></tr><tr></tr><tr></tr><tr></tr>
<tr>
<td>行2,列1</td>
<td>行2,列2</td>
<td>行2,列3</td>
<td>行2,列4</td>
</tr>
<tr>
<td>行3,列1</td>
<td>行3,列2</td>
</tr>
<tr>
<td>行4,列1</td>
<td colspan="2" align="center">行4,列23</td>
</tr>
</tbody>
<tfoot>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
</tfoot>
</table>
<ul>
<li>星期一</li>
<li>星期二</li>
</ul>
<ol>
<li>星期一</li>
<li>星期二</li>
</ol>
<dl>
<dt>星期一</dt>
<dd>- work</dd>
<dd>- study</dd>
<dd>- sleep</dd>
<dt>星期二</dt>
<dd>- work</dd>
</dl>
<br/><hr/><br/>
<div style="background-color: forestgreen">
</div>
<div style="background-color: coral">
<h1>标题</h1>
<p>paragraph1</p>
<div style="background-color: yellow">
<h1>标题</h1>
<p>paragraph2</p>
</div>
<div style="background-color: #42b983">
<h1>标题</h1>
<p>paragraph3</p>
</div>
<p>paragraph4</p>
</div>
<p>普通文字<span style="color:blue">span修饰的蓝色文字</span>普通文字</p>
<div id="container" style="width:500px">
<div id="header" style="background-color:#FFA500;">
<h1 style="margin-bottom:0;text-align: center">title</h1></div>
<div id="menu" style="background-color:#FFD700;height:200px;width:100px;float:left;">
<h1>menu</h1>
HTML<br>
CSS<br>
JavaScript
</div>
<div id="content" style="background-color:#EEEEEE;height:200px;width:400px;float:left;">
内容在这里内容在这里内容在这里内容在这里内容在这里内容在这里内容在这里内容在这里内容在这里内容在这里内容在这里内容在这里内容在这里
</div>
<div id="footer" style="background-color:#FFA500;clear:both;text-align:center;">
footer
</div>
</div>
<br/>
<table width="500" border="0">
<tr>
<td colspan="2" style="background-color:#FFA500; text-align: center">
<h1>title</h1>
</td>
</tr>
<tr>
<td style="background-color:#FFD700;width:100px;">
<h1>menu</h1>
HTML<br>
CSS<br>
JavaScript
</td>
<td style="background-color:#eeeeee;height:200px;width:400px;">
内容在这里
</td>
</tr>
<tr>
<td colspan="2" style="background-color:#FFA500;text-align:center;">
footer
</td>
</tr>
</table>
<form name="submit" action="demo02.html" method="get">
<pre>用户名</pre><input type="text" name="user"/><br/>
<pre>密 码</pre><input type="password" name="pwd"/><br/>
<input type="radio" name="choose" value="a">A
<input type="radio" name="choose" value="b">B<br>
<input type="checkbox" name="choose" value="work">work<br>
<input type="checkbox" name="choose" value="work" checked>sleep<br>
<input type="checkbox" name="choose" value="work">study<br>
<select name="week">
<option value="1">monday</option>
<option value="2">tuesday</option>
<option value="3" selected>friday</option>
</select><br><br>
<textarea rows="10" cols="30">
请输入
</textarea><br>
<select>
<optgroup label="Swedish Cars">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
</optgroup>
<optgroup label="German Cars">
<option value="mercedes" selected>Mercedes</option>
<option value="audi">Audi</option>
</optgroup>
</select><br>
<input type="button" value="Hello world!"><br>
<input list="alphabet" name="alphabet">
<datalist id="alphabet">
<option value="aaaa">
<option value="aaab">
<option value="bbcc">
<option value="abcc">
<option value="bacc">
</datalist><br>
<input type="submit" value="submit">
</form><br>
<form action="MAILTO:someone@example.com" method="post" enctype="text/plain">
<legend style="text-align: center">带边框的form</legend>
<fieldset>
Name:<br>
<input type="text" name="name"><br>
E-mail:<br>
<input type="text" name="mail"><br>
Comment:<br>
<input type="text" name="comment" value="内容" size="50"><br><br>
<input type="submit" value="发送">
<input type="reset" value="重置">
</fieldset>
</form>
<form oninput="x.value=parseInt(a.value)+parseInt(b.value)">
500<input type="range" id="a" value="600" min="500" max="1000">1000
+<input type="number" id="b" value="100">
=<output name="x" for="a b">700</output>
</form><br>
<iframe loading="lazy" src="demo02.html" width="200" height="200"></iframe><br>
<iframe src="demo02.html" frameborder="0"></iframe><br>
<iframe name="iframe_a"></iframe>
<p><a href="https://www.bilibili.com" target="iframe_a" rel="noopener" width="800" height="400">bilibili</a></p>
<script>
document.write("Hello world\n")
function printHello() {
document.getElementById("hello").innerHTML="Hello";
}
function print123() {
document.getElementById("hello").innerHTML="123";
}
</script>
<noscript>不支持script脚本哦</noscript><br>
<p id="hello">123</p>
<button type="button" onclick="printHello()">点击123变成Hello</button>
<button type="button" onclick="print123()">点击Hello变成123</button>
<p><>≥≤</p>
©
®
™
× ÷
</body>
</html>
【推荐】还在用 ECharts 开发大屏?试试这款永久免费的开源 BI 工具!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 互联网不景气了那就玩玩嵌入式吧,用纯.NET开发并制作一个智能桌面机器人(四):结合BotSharp
· Vite CVE-2025-30208 安全漏洞
· 《HelloGitHub》第 108 期
· MQ 如何保证数据一致性?
· 一个基于 .NET 开源免费的异地组网和内网穿透工具
2019-07-08 Keras(一)Sequential与Model模型、Keras基本结构功能
2019-07-08 ValueError: Error when checking input: expected input_1 to have 2 dimensions, but got array with shape (100, 100, 100, 3)