《Head First HTML与CSS 》笔记-0x7

本文深入探讨了HTML和CSS的应用技巧,包括区块<section>与文章<article>的区别、视频元素<video>的使用、表格<table>的设计与样式定制、表单<form>的构建等,强调了实战经验的重要性。

目录

 

区块<section>和文章<article>的区别

<vedio>

<table>表格

列表定制样式 list-style-image

<form>表单

End


  • 区块&ltsection&gt和文章&ltarticle&gt的区别

         无明确区别,一般组织相关内容用<section>,独立内容用<article>,组织不相关内容可用<div>

  • &ltvedio&gt

<!--一种视频格式-->
<video controls autoplay 
        width="512" height="288" 
        src="video/tweetsip.mp4"
        poster="images/poster.png"
>
</video>
<!--多种视频格式-->
<video controls autoplay width="512" height="288">
	<source src="video/tweetsip.mp4">
	<source src="video/tweetsip.webm">
	<source src="video/tweetsip.ogv">
	<p>Sorry, your browser doesn't support the video element.</p>
</video>
  • &lttable&gt表格

<table>
	<caption>
		The cities I visited on my
		Segway'n USA travels
	</caption>
	<tr>
		<th>City</th>
		<th>Date</th>
		<th>Temperature</th>
		<th>Altitude</th>
		<th>Population</th>
		<th>Diner Rating</th>
	</tr>
	<tr class="cellcolor">
		<td>Walla Walla, WA</td>
		<td>June 15th</td>
		<td class="temp">75</td>
		<td>1,204 ft</td>
		<td class="pup">29,686</td>
		<td>4/5</td>
	</tr>
	<tr class="cellcolor">
		<td>Magic City, ID</td>
		<td>June 25th</td>
		<td class="temp">74</td>
		<td>5,312 ft</td>
		<td class="pup">50</td>
		<td>3/5</td>
	</tr>
</table>
table{
	margin-left:20px;
	margin-right:20px;
	border:thin solid black;
	caption-side:bottom;
	border-collapse:collapse;
}
th{
	background-color:#cc6600;
}
.cellcolor{
	background-color:#fcba7a;
}
.temp{
	text-align:center;
}
.pup{
	text-align:right;
}
td,th{
	border:thin dotted gray;
	padding:5px;
}
caption{
	font-style:italic;
	padding-top:8px;
}

  • 列表定制样式 list-style-image

li{
	list-style-image:url(images/backpack.gif);
	padding-top:5px;
	margin-left:20px;
}
  • &ltform&gt表单

<!doctype html>
<html>
  <head>
    <meta charset="utf-8">
    <title>The Starbuzz Bean Machine</title>
	<link rel="stylesheet" href="starbuzz.css">
	<link rel="stylesheet" href="styledform.css">
  </head>
  <body>
	<h1>The Starbuzz Bean Machine</h1>
	<h2>Fill out the form below and click "order now" to order</h2>
	<form action="http://satrbuzzcoffee.com/processorder.php"
		  method="POST">
		<div class="tableRow">
			<p>
				Choose your beans:
			</p>
			<p>
				<select name="beans">
					<option value="House Blend">House Blend</option>
					<option value="Bolivia">Bolivia</option>
					<option value="Guatemala">Guatemala</option>
					<option value="Kenya">Kenya</option>
				</select>
			</p>
		</div>
		<div class="tableRow">
			<p>Type:</p>
			<p>
				<input type="radio" name="beantype" value="whole">Whole bean<br>
				<input type="radio" name="beantype" value="ground" checked>Ground
			</p>
		</div>
		<div class="tableRow">
			<p>Number of bags:</p>
			<p>
				<input type="number" name="bags" min="1" max="10">
			</p>
		</div>
		<div class="tableRow">
			<p>Must arrive by date:</p>
			<p>
				<input type="date" name="date">
			</p>
		</div>
		<div class="tableRow">
			<p>Extras:</p>
			<p>
				<input type="checkbox" name="extras[]" value ="gifwrap">Gif wrap<br>
				<input type="checkbox" name="extras[]" value="catalog" checked>Include catalog with order
			</p>
		</div>
		<div class="tableRow">
			<p class="heading">Ship to:</p><br>
			<p></p>
		</div>
		<div class="tableRow">
			<p>Name:</p>
			<p><input type="text" name="name"></p>
		</div>
		<div class="tableRow">
			<p>Address:</p>
			<p><input type="text" name="address"></p>
		</div>
		<div class="tableRow">
			<p>City:</p>
			<p><input type="text" name="city"></p>
		</div>
		<div class="tableRow">
			<p>State:</p>
			<p><input type="text" name="state"></p>
		</div>
		<div class="tableRow">
			<p>Zip:</p>
			<p><input type="text" name="zip"></p>
		</div>
		<div class="tableRow">
			<p>Phone:</p>
			<p><input type="tel" name="phone"></p>
		</div>
		
		<div class="tableRow">
			<p>Customer Comments:</p>
			<p>
				<textarea name="comments"></textarea>
			</p>
		</div>
		<div class="tableRow">
			<p></p>
			<p><input type="submit" value="Order Now"></p>
		</div>
	</form>
  </body>
</html>

body {
	background: #efe5d0 url(images/background.gif) top left;
	margin: 20px;
}

form {
	display: table;
	padding: 10px;
	border: thin dotted #7e7e7e;
	background-color: #e1ceb8;
}

form textarea {
	width: 500px;
	height: 200px;
}

div.tableRow {
	display: table-row;
}

div.tableRow p {
	display: table-cell;
	vertical-align: top;
	padding: 3px;
}
div.tableRow p:first-child {
	text-align: right;
}
p.heading {
	font-weight: bold;
}

  • End

        对HTML和CSS算是有一个整体的把握了,感觉具体的属性技巧还需要在实战过程中不断去摸索熟悉,不能靠硬生生的记忆。

        距离考研还有19天,距离春招还有88天。

        加油!加油!加油!

内容概要:本文介绍了一个基于多传感器融合的定位系统设计方案,采用GPS、里程计和电子罗盘作为定位传感器,利用扩展卡尔曼滤波(EKF)算法对多源传感器数据进行融合处理,最终输出目标的滤波后位置信息,并提供了完整的Matlab代码实现。该方法有效提升了定位精度稳定性,尤其适用于存在单一传感器误差或信号丢失的复杂环境,如自动驾驶、移动采用GPS、里程计和电子罗盘作为定位传感器,EKF作为多传感器的融合算法,最终输出目标的滤波位置(Matlab代码实现)机器人导航等领域。文中详细阐述了各传感器的数据建模方式、状态转移观测方程构建,以及EKF算法的具体实现步骤,具有较强的工程实践价值。; 适合人群:具备一定Matlab编程基础,熟悉传感器原理和滤波算法的高校研究生、科研人员及从事自动驾驶、机器人导航等相关领域的工程技术人员。; 使用场景及目标:①学习和掌握多传感器融合的基本理论实现方法;②应用于移动机器人、无人车、无人机等系统的高精度定位导航开发;③作为EKF算法在实际工程中应用的教学案例或项目参考; 阅读建议:建议读者结合Matlab代码逐行理解算法实现过程,重点关注状态预测观测更新模块的设计逻辑,可尝试引入真实传感器数据或仿真噪声环境以验证算法鲁棒性,并进一步拓展至UKF、PF等更高级滤波算法的研究对比。
内容概要:文章围绕智能汽车新一代传感器的发展趋势,重点阐述了BEV(鸟瞰图视角)端到端感知融合架构如何成为智能驾驶感知系统的新范式。传统后融合前融合方案因信息丢失或算力需求过高难以满足高阶智驾需求,而基于Transformer的BEV融合方案通过统一坐标系下的多源传感器特征融合,在保证感知精度的同时兼顾算力可行性,显著提升复杂场景下的鲁棒性系统可靠性。此外,文章指出BEV模型落地面临大算力依赖高数据成本的挑战,提出“数据采集-模型训练-算法迭代-数据反哺”的高效数据闭环体系,通过自动化标注长尾数据反馈实现算法持续进化,降低对人工标注的依赖,提升数据利用效率。典型企业案例进一步验证了该路径的技术可行性经济价值。; 适合人群:从事汽车电子、智能驾驶感知算法研发的工程师,以及关注自动驾驶技术趋势的产品经理和技术管理者;具备一定自动驾驶基础知识,希望深入了解BEV架构数据闭环机制的专业人士。; 使用场景及目标:①理解BEV+Transformer为何成为当前感知融合的主流技术路线;②掌握数据闭环在BEV模型迭代中的关键作用及其工程实现逻辑;③为智能驾驶系统架构设计、传感器选型算法优化提供决策参考; 阅读建议:本文侧重技术趋势分析系统级思考,建议结合实际项目背景阅读,重点关注BEV融合逻辑数据闭环构建方法,并可延伸研究相关企业在舱泊一体等场景的应用实践。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值