html+css初识(第一节)

1、了解什么是HTML,什么是 CSS以及JavaScript及其他们之间的关系。
2、HTML是网页内容的载体,CSS样式是表现,相当于装饰,美化,JavaScript是用来实现网页上的特效。
3、认识各种标签,我们浏览的各种网页均是由HTML标签组成的,因此内容的显示,都要放在各类标签中。例:标题标签,段落标签。
4、标签也有语法,标签由英文尖括号 ‘<’ 和 ‘>’ 括起来,如就是一个标签。在HTML中标签一般都是成对出现的,结束标签比开始标签多一个 ' / ' 例:标签
5、标签之间可以嵌套,但一定要遵循一定的顺序,
,html标签不区分大小写,但一般建议小写。
6、HTML文件的基本结构:

hello html! - 锐客网 ...

①称为根标签,所有的网页标签都在中。
② 标签用于定义文档的头部,它是所有头部元素的容器。头部元素有、、 、<link>、 <meta>等标签。<br> ③ 在<body>和</body>标签之间的内容是网页的主要内容,如、、、<img>等网页内容标签,在这里的标签中的内容会在浏览器中显示出来。<br /> 7、代码注释 方便自己标注代码以及别人理解代码,语法格式在6中有运用。<br /> <strong>【html+css初识(第一节)】</strong>以上是关于HTML的 初步认识,了解HTML结构、语法等。<br /> </p> <div class="dede_pages"><ul></ul></div> <div class="pcd_ad"> <center><div class="_ahwullr0ac"></div> <script type="text/javascript"> (window.slotbydup = window.slotbydup || []).push({ id: "u6834461", container: "_ahwullr0ac", async: true }); </script> <script type="text/javascript" src="//cpro.baidustatic.com/cpro/ui/cm.js" async="async" defer="defer" > </script></center> </div> <div class="mbd_ad"> <div style=margin-top:10px;margin-bottom:10px;> <div class="_i7aftr79jl"></div> <script type="text/javascript"> (window.slotbydup = window.slotbydup || []).push({ id: "u5950612", container: "_i7aftr79jl", async: true }); </script> <!-- ½űֻһ --> <script type="text/javascript" src="//cpro.baidustatic.com/cpro/ui/cm.js" async="async" defer="defer" > </script> </div> </div> <h3>推荐阅读</h3> <ul class="post-loop post-loop-default cols-0"> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/2917842.html" title="电子烟的好处"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="电子烟的好处" src="/images/defaultpic.gif"> </a> </div> <div class="item-content"> <h4 class="item-title"> <a href="/c/2917842.html"> <b>电子烟的好处 </b></a></h4> <div class="item-meta"> <div class="item-meta-right"> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/2791239.html" title="做什么行业会利润高又赚钱?"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="做什么行业会利润高又赚钱?" src="/images/defaultpic.gif"> </a> </div> <div class="item-content"> <h4 class="item-title"> <a href="/c/2791239.html"> <b>做什么行业会利润高又赚钱? </b></a></h4> <div class="item-meta"> <div class="item-meta-right"> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/2390775.html" title="乳胶内衣怎么清洗晾晒"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="乳胶内衣怎么清洗晾晒" src="http://img.readke.com/230602/1320412947-0-lp.jpg"> </a> </div> <div class="item-content"> <h4 class="item-title"> <a href="/c/2390775.html"> <b>乳胶内衣怎么清洗晾晒 </b></a></h4> <div class="item-meta"> <div class="item-meta-right"> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/1684646.html" title="梦见买枕巾是什么意思 梦见枕巾是怎么回事"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="梦见买枕巾是什么意思 梦见枕巾是怎么回事" src="http://img.readke.com/230421/0015012W1-0-lp.jpg"> </a> </div> <div class="item-content"> <h4 class="item-title"> <a href="/c/1684646.html"> <b>梦见买枕巾是什么意思 梦见枕巾是怎么回事 </b></a></h4> <div class="item-meta"> <div class="item-meta-right"> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/3383345.html" title="涉嫌非法种植毒品原植物法定刑罚内容是多少"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="涉嫌非法种植毒品原植物法定刑罚内容是多少" src="http://img.readke.com/231107/2321406062-0-lp.jpg"> </a> </div> <div class="item-content"> <h4 class="item-title"> <a href="/c/3383345.html"> <b>涉嫌非法种植毒品原植物法定刑罚内容是多少 </b></a></h4> <div class="item-meta"> <div class="item-meta-right"> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/2913612.html" title="自己读书感悟的名言"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="自己读书感悟的名言" src="http://img.readke.com/230802/2020256115-0-lp.jpg"> </a> </div> <div class="item-content"> <h4 class="item-title"> <a href="/c/2913612.html"> <b>自己读书感悟的名言 </b></a></h4> <div class="item-meta"> <div class="item-meta-right"> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/527604.html" title="投稿|何时起数码玩家已不再期待Android新版本?"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="投稿|何时起数码玩家已不再期待Android新版本?" src="http://img.readke.com/220416/0ZA03A1-0-lp.png"> </a> </div> <div class="item-content"> <h4 class="item-title"> <a href="/c/527604.html"> <b>投稿|何时起数码玩家已不再期待Android新版本? </b></a></h4> <div class="item-meta"> <div class="item-meta-right"> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/2256992.html" title="支付宝基金过年期间休市吗"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="支付宝基金过年期间休市吗" src="http://img.readke.com/230526/1601303530-0-lp.jpg"> </a> </div> <div class="item-content"> <h4 class="item-title"> <a href="/c/2256992.html"> <b>支付宝基金过年期间休市吗 </b></a></h4> <div class="item-meta"> <div class="item-meta-right"> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/1920278.html" title="犯七是什么意思,有什么讲究 犯七是什么意思"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="犯七是什么意思,有什么讲究 犯七是什么意思" src="http://img.readke.com/230504/0010332031-0-lp.jpg"> </a> </div> <div class="item-content"> <h4 class="item-title"> <a href="/c/1920278.html"> <b>犯七是什么意思,有什么讲究 犯七是什么意思 </b></a></h4> <div class="item-meta"> <div class="item-meta-right"> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/2753018.html" title="如何选购新鲜白萝卜"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="如何选购新鲜白萝卜" src="/images/defaultpic.gif"> </a> </div> <div class="item-content"> <h4 class="item-title"> <a href="/c/2753018.html"> <b>如何选购新鲜白萝卜 </b></a></h4> <div class="item-meta"> <div class="item-meta-right"> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/0H12262021.html" title="米兔|小米新品儿童手表发售,米兔儿童电话手表5C入手体验"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="米兔|小米新品儿童手表发售,米兔儿童电话手表5C入手体验" src="https://p0.ssl.img.360kuai.com/t0119bec350076f4717.jpg"> </a> </div> <div class="item-content"> <h4 class="item-title"> <a href="/c/0H12262021.html"> <b>米兔|小米新品儿童手表发售,米兔儿童电话手表5C入手体验 </b></a></h4> <div class="item-meta"> <div class="item-meta-right"> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/2778408.html" title="秦书记 青岛高速公路 青岛高速公路最新消息今天"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="秦书记 青岛高速公路 青岛高速公路最新消息今天" src="/images/defaultpic.gif"> </a> </div> <div class="item-content"> <h4 class="item-title"> <a href="/c/2778408.html"> <b>秦书记 青岛高速公路 青岛高速公路最新消息今天 </b></a></h4> <div class="item-meta"> <div class="item-meta-right"> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/3272996.html" title="法院对串通投标罪规定定罪量刑标准是怎样"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="法院对串通投标罪规定定罪量刑标准是怎样" src="http://img.readke.com/231025/2243245435-0-lp.jpg"> </a> </div> <div class="item-content"> <h4 class="item-title"> <a href="/c/3272996.html"> <b>法院对串通投标罪规定定罪量刑标准是怎样 </b></a></h4> <div class="item-meta"> <div class="item-meta-right"> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/3283224.html" title="嵌怎么读 嵌字是什么意思"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="嵌怎么读 嵌字是什么意思" src="http://img.readke.com/231027/1325535642-0-lp.jpg"> </a> </div> <div class="item-content"> <h4 class="item-title"> <a href="/c/3283224.html"> <b>嵌怎么读 嵌字是什么意思 </b></a></h4> <div class="item-meta"> <div class="item-meta-right"> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/3017298.html" title="苹果11网络特别差是什么原因"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="苹果11网络特别差是什么原因" src="http://img.readke.com/230817/05313422N-0-lp.jpg"> </a> </div> <div class="item-content"> <h4 class="item-title"> <a href="/c/3017298.html"> <b>苹果11网络特别差是什么原因 </b></a></h4> <div class="item-meta"> <div class="item-meta-right"> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/2220122.html" title="贵阳市少年儿童图书馆春节活动一览"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="贵阳市少年儿童图书馆春节活动一览" src="http://img.readke.com/230524/2131301a5-0-lp.jpg"> </a> </div> <div class="item-content"> <h4 class="item-title"> <a href="/c/2220122.html"> <b>贵阳市少年儿童图书馆春节活动一览 </b></a></h4> <div class="item-meta"> <div class="item-meta-right"> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/3925612.html" title="solidworks2012热分析"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="solidworks2012热分析" src="/images/defaultpic.gif"> </a> </div> <div class="item-content"> <h4 class="item-title"> <a href="/c/3925612.html"> <b>solidworks2012热分析 </b></a></h4> <div class="item-meta"> <div class="item-meta-right"> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/3154101.html" title="2023年南四湖禁渔/禁采时间 南四湖鱼馆怎么样"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="2023年南四湖禁渔/禁采时间 南四湖鱼馆怎么样" src="http://img.readke.com/230914/092R12631-0-lp.jpg"> </a> </div> <div class="item-content"> <h4 class="item-title"> <a href="/c/3154101.html"> <b>2023年南四湖禁渔/禁采时间 南四湖鱼馆怎么样 </b></a></h4> <div class="item-meta"> <div class="item-meta-right"> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/2988645.html" title="奥迪车质量怎么样? 奥迪车质量怎么样"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="奥迪车质量怎么样? 奥迪车质量怎么样" src="http://img.readke.com/230813/0Q10Jc8-0-lp.jpg"> </a> </div> <div class="item-content"> <h4 class="item-title"> <a href="/c/2988645.html"> <b>奥迪车质量怎么样? 奥迪车质量怎么样 </b></a></h4> <div class="item-meta"> <div class="item-meta-right"> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/3022144.html" title="2021送同事元宵节祝福语"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="2021送同事元宵节祝福语" src="http://img.readke.com/230817/2210304047-0-lp.jpg"> </a> </div> <div class="item-content"> <h4 class="item-title"> <a href="/c/3022144.html"> <b>2021送同事元宵节祝福语 </b></a></h4> <div class="item-meta"> <div class="item-meta-right"> </div> </div> </div> </li> </ul> <p><br /><ul class="post-loop post-loop-list cols-4"><li><a href="/c/021T5L452022.html" title="第6.2章(设置属性)" target="_blank">第6.2章(设置属性) </a></li> <li><a href="/c/021T5L352022.html" title="2018-02-06第三天|2018-02-06第三天 不能再了,反思到位就差改变" target="_blank">2018-02-06第三天|2018-02-06第三天 不能再了,反思到位就差改变 </a></li> <li><a href="/c/021T5L2R022.html" title="第三节|第三节 快乐和幸福(12)" target="_blank">第三节|第三节 快乐和幸福(12) </a></li> <li><a href="/c/021T5L252022.html" title="EffectiveObjective-C2.0|EffectiveObjective-C2.0 笔记 - 第二部分" target="_blank">EffectiveObjective-C2.0|EffectiveObjective-C2.0 笔记 - 第二部分 </a></li> <li><a href="/c/021T5L232022.html" title="android第三方框架(五)ButterKnife" target="_blank">android第三方框架(五)ButterKnife </a></li> <li><a href="/c/021T5L142022.html" title="开学第一天(下)" target="_blank">开学第一天(下) </a></li> <li><a href="/c/021T5L112022.html" title="野营记-第五章|野营记-第五章 讨伐梦魇兽" target="_blank">野营记-第五章|野营记-第五章 讨伐梦魇兽 </a></li> <li><a href="/c/021T5L032022.html" title="2018年11月19日|2018年11月19日 星期一 亲子日记第144篇" target="_blank">2018年11月19日|2018年11月19日 星期一 亲子日记第144篇 </a></li> <li><a href="/c/021T5K932022.html" title="第326天" target="_blank">第326天 </a></li> <li><a href="/c/021T5KP2022.html" title="跌跌撞撞奔向你|跌跌撞撞奔向你 第四章(你补英语,我补物理)" target="_blank">跌跌撞撞奔向你|跌跌撞撞奔向你 第四章(你补英语,我补物理) </a></li> </ul></p> <div class=entry-copyright> <p></p> </div> </div> <div class="entry-footer"> <div class="prev-next sb br mb clearfix"> <p class="post-prev fl ellipsis">上一篇:<a href='/c/1210353P22021.html'>2019-07-20虚拟货币合约平台火热招商</a> </p> <p class="post-next fr ellipsis">下一篇:<a href='/c/1210353P42021.html'>三火是焱|三火是焱 | 酒店体验做好这些就够了!浴室篇</a> </p> </div> </div> </div> </article> </main> <aside class="sidebar"> <div class="widget widget_post_thumb"> <h3 class="widget-title"><span>更多...</span></h3> <ul> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/02154521552022.html" title="vue.js组件开发"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="vue.js组件开发" src="/images/defaultpic.gif"> </a></div> <div class="item-content"> <p class="item-title"><a href="/c/02154521552022.html" title="vue.js组件开发">vue.js组件开发</a></p> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/09101X50R021.html" title="总有一天,你身边会有很多人结婚了有孩子了..."> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="总有一天,你身边会有很多人结婚了有孩子了..." src="/images/defaultpic.gif"> </a></div> <div class="item-content"> <p class="item-title"><a href="/c/09101X50R021.html" title="总有一天,你身边会有很多人结婚了有孩子了...">总有一天,你身边会有很多人结婚了有孩子了...</a></p> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/092323IB2021.html" title="linux环境下的各种后台执行"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="linux环境下的各种后台执行" src="/images/defaultpic.gif"> </a></div> <div class="item-content"> <p class="item-title"><a href="/c/092323IB2021.html" title="linux环境下的各种后台执行">linux环境下的各种后台执行</a></p> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/0Z313Q632021.html" title="牙套日记|牙套日记 | 戴牙套两年,真的挺后悔的!"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="牙套日记|牙套日记 | 戴牙套两年,真的挺后悔的!" src="/images/defaultpic.gif"> </a></div> <div class="item-content"> <p class="item-title"><a href="/c/0Z313Q632021.html" title="牙套日记|牙套日记 | 戴牙套两年,真的挺后悔的!">牙套日记|牙套日记 | 戴牙套两年,真的挺后悔的!</a></p> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/09111921162021.html" title="使用git进行版本管理(不断更新中)"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="使用git进行版本管理(不断更新中)" src="/images/defaultpic.gif"> </a></div> <div class="item-content"> <p class="item-title"><a href="/c/09111921162021.html" title="使用git进行版本管理(不断更新中)">使用git进行版本管理(不断更新中)</a></p> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/0Z91O12H021.html" title="弹出视图的动画工具类"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="弹出视图的动画工具类" src="/images/defaultpic.gif"> </a></div> <div class="item-content"> <p class="item-title"><a href="/c/0Z91O12H021.html" title="弹出视图的动画工具类">弹出视图的动画工具类</a></p> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/092925H3R021.html" title="我最爱的少年.俊勉"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="我最爱的少年.俊勉" src="/images/defaultpic.gif"> </a></div> <div class="item-content"> <p class="item-title"><a href="/c/092925H3R021.html" title="我最爱的少年.俊勉">我最爱的少年.俊勉</a></p> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/012T30D32022.html" title="selenium增加失败截屏"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="selenium增加失败截屏" src="/images/defaultpic.gif"> </a></div> <div class="item-content"> <p class="item-title"><a href="/c/012T30D32022.html" title="selenium增加失败截屏">selenium增加失败截屏</a></p> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/0919225b52021.html" title="谁都不容易,只是不出声。"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="谁都不容易,只是不出声。" src="/images/defaultpic.gif"> </a></div> <div class="item-content"> <p class="item-title"><a href="/c/0919225b52021.html" title="谁都不容易,只是不出声。">谁都不容易,只是不出声。</a></p> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="/c/092R545I2021.html" title="iTop4412|iTop4412 uboot-2019.2移植之内存控制器(七)"> <img width="480" height="300" class="attachment-default size-default wp-post-image j-lazy" alt="iTop4412|iTop4412 uboot-2019.2移植之内存控制器(七)" src="/images/defaultpic.gif"> </a></div> <div class="item-content"> <p class="item-title"><a href="/c/092R545I2021.html" title="iTop4412|iTop4412 uboot-2019.2移植之内存控制器(七)">iTop4412|iTop4412 uboot-2019.2移植之内存控制器(七)</a></p> </div> </li> </ul> </div> </aside> </div> </div> <footer class="footer"> <div class="container"> <div class="clearfix"> <div class="footer-col footer-col-logo"> <!--<img src="/skin/images/logo-footer.png">--></div> <div class="footer-col footer-col-copy"> <ul class="footer-nav hidden-xs"> <li class="menu-item menu-item-706"><a href="/baike/">生活百科</a></li> <li class="menu-item menu-item-706"><a href="/it/">it技术</a></li> </ul> <div class="copyright"> <p>Copyright © 2017-2022 锐客网 <a href="http://beian.miit.gov.cn/" target="_blank" rel="nofollow">京ICP备11041112号-41</a> </p> </div> </div> <div class="footer-col footer-col-sns"> <div class="footer-sns"> </div> </div> </div> </div> </footer> <div class="action action-style-0 action-color-0 action-pos-1" style="bottom:15%;"> <div class="action-item gotop j-top"> <i class="web-icon wi action-item-icon"><svg aria-hidden="true"> <use xlink:href="#wi-arrow-up-2"></use> </svg></i></div> </div> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?79e4e485d34c6fc717489eaa10b314e3"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> </div> <script>var _web_js={};</script> <script src="/skin/js/index.js"></script> </body> </html>