HTML入门

作者:袖梨 2022-06-25

HTML是超文本标记语言(英语:HyperText Markup Language,简称:HTML)是一种用于创建网站页面的标准标记语言,是在web上使用最广泛的语言。从网站方面看,HTML是一种编程语言;从技术上来看,HTML是一种标记语言。我们可以使用HTML来建立自己的web站点,它运行在浏览器上,因此必须由浏览器来解析,以此开始,小编将带领大家一起进入HTML的世界,教你使用HTML创建站点,给你一个HTML的完整的理解。

学习的过程中大家可以找一种自己比较喜欢的编辑器一起操作。

先来简单的操作个小实例

	

	

	

	

	<a href="http://www.111com.net/" target="_blank">一聚教程网</a>(111com.net)

	

	

	

我的第一个标题

我的第一个段落。

简单解析:

DOCTRY html:表明是HTML文档

:HTML文档页面跟元素

:HTML文档页面元数据(meta数据)

:HTML文档页面标题 </p> <p> <body>:HTML文档可见页面内容 </p> <p> <h1>:文档中大标题,每个HTML只能有一个h1,h2、h3等可以有多个。 </p> <p> <p>:定义为文档一个段落 </p> <p> 大家可以使用在线编辑器编辑预览查看。 </p> <p> HTML准确来说它是一种标记语言,标记语言基友相应的标记标签,因此HTML有自己独特的一套标记标签,这样HTML就可以使用标记标签来描述网页。HTML文档包含了HTML标签以及文本内容,同时,大家也应该知道HTML文本也叫做web页面。 </p> <p> 下面我们进入: </p> <p> <a href="http://www.111com.net/wy/145410.htm" target="_blank"><strong><span style="font-size:14px;">HTML标签</span></strong></a> </p> </div> </div> </section> <section class="wrap-box"> <div class="g-tit"> <h2>相关文章</h2> </div> <ul class="s-list nobord notop"> <li> <a href="/art-425752.htm" class="s-card"> <div class="s-card-l"> <p class="tit">《鸣潮》2.1菲比声骸搭配建议</p> <div class="info"> <span class="person">游戏攻略</span> <span class="time">2025-02-18</span> </div> </div> <div class="s-card-pic"> <img src="/images/lazy.gif" data-src="/uploads/20250218/logo_67b3de7ed53471.png" alt="《鸣潮》2.1菲比声骸搭配建议" /> </div> </a> </li> <li> <a href="/art-425751.htm" class="s-card"> <div class="s-card-l"> <p class="tit">《少女前线2追放》绯强度介绍</p> <div class="info"> <span class="person">游戏攻略</span> <span class="time">2025-02-18</span> </div> </div> <div class="s-card-pic"> <img src="/images/lazy.gif" data-src="/uploads/20250218/logo_67b3de7c226101.jpg" alt="《少女前线2追放》绯强度介绍" /> </div> </a> </li> <li> <a href="/art-425750.htm" class="s-card"> <div class="s-card-l"> <p class="tit">《原神》5.4梦见月瑞希毕业面板一览</p> <div class="info"> <span class="person">游戏攻略</span> <span class="time">2025-02-18</span> </div> </div> <div class="s-card-pic"> <img src="/images/lazy.gif" data-src="/uploads/20250218/logo_67b3de7b479d81.png" alt="《原神》5.4梦见月瑞希毕业面板一览" /> </div> </a> </li> <li> <a href="/art-425749.htm" class="s-card"> <div class="s-card-l"> <p class="tit">《凌云记》零氪推图玩法攻略</p> <div class="info"> <span class="person">游戏攻略</span> <span class="time">2025-02-18</span> </div> </div> <div class="s-card-pic"> <img src="/images/lazy.gif" data-src="/uploads/20250218/logo_67b3de75de62e1.png" alt="《凌云记》零氪推图玩法攻略" /> </div> </a> </li> <li> <a href="/art-425748.htm" class="s-card"> <div class="s-card-l"> <p class="tit">《橡子屋》三明治烹饪方法</p> <div class="info"> <span class="person">游戏攻略</span> <span class="time">2025-02-18</span> </div> </div> <div class="s-card-pic"> <img src="/images/lazy.gif" data-src="/uploads/20250218/logo_67b3de740756f1.jpg" alt="《橡子屋》三明治烹饪方法" /> </div> </a> </li> <li> <a href="/art-425746.htm" class="s-card"> <div class="s-card-l"> <p class="tit">《苍雾世界》安安技能介绍</p> <div class="info"> <span class="person">游戏攻略</span> <span class="time">2025-02-18</span> </div> </div> <div class="s-card-pic"> <img src="/images/lazy.gif" data-src="/uploads/20250218/logo_67b3de70a46741.png" alt="《苍雾世界》安安技能介绍" /> </div> </a> </li> </ul> </section> <section class="wrap-box"> <div class="g-tit"> <h2>精彩推荐</h2> </div> <ul class="card-box"> <li class="card3"> <a href="/app/105190.htm" target="_self" class="figure"> <div class="figure-box"> <img src="/images/lazy.gif" data-src="https://img.111cn.net/uploads/20250218/logo_67b3dd8f156ce1.png" alt="太极熊猫2百度版 安卓版v1.7.1" /> </div> <p class="figure-head">太极熊猫2百度版 安卓版v1.7.1</p> <span class="figure-btn">下载</span> </a> </li> <li class="card3"> <a href="/app/105166.htm" target="_self" class="figure"> <div class="figure-box"> <img src="/images/lazy.gif" data-src="https://img.111cn.net/uploads/20250218/logo_67b3dceee9f9c1.png" alt="黎明觉醒应用宝版 安卓版v1.111.1" /> </div> <p class="figure-head">黎明觉醒应用宝版 安卓版v1.111.1</p> <span class="figure-btn">下载</span> </a> </li> <li class="card3"> <a href="/app/105148.htm" target="_self" class="figure"> <div class="figure-box"> <img src="/images/lazy.gif" data-src="https://img.111cn.net/uploads/20250217/logo_67b2900c464fe1.jpg" alt="暗影格斗3国际版 (Shadow Fight 3)最新版v1.40.3" /> </div> <p class="figure-head">暗影格斗3国际版 (Shadow Fight 3)最新版v1.40.3</p> <span class="figure-btn">下载</span> </a> </li> <li class="card3"> <a href="/app/105122.htm" target="_self" class="figure"> <div class="figure-box"> <img src="/images/lazy.gif" data-src="https://img.111cn.net/uploads/20250217/logo_67b28fab9b88d1.png" alt="王者战魂华为版 安卓版v3.6.1" /> </div> <p class="figure-head">王者战魂华为版 安卓版v3.6.1</p> <span class="figure-btn">下载</span> </a> </li> </ul> <ul class="card-box-b"> <li class="card10"> <a href="/app/105253.htm" target="_self" class="figure2"> <div class="figure-box"> <img src="/images/lazy.gif" data-src="https://img.111cn.net/uploads/20250218/logo_67b3de7f4507a1.png" alt="放置魔法学院免广告版 v2.9.5" /> </div> <div class="figure-cont"> <p class="figure-head">放置魔法学院免广告版 v2.9.5</p> <div class="figure-desc"> <span>模拟经营</span> <span>放置魔法学院免广告版 v2.9.5</span> </div> <div class="figure-desc"> <p>放置魔法学院内置Mod菜单是游戏的破解版本,在该版本中为玩家</p> </div> </div> <span class="figure-btn">下载</span> </a> </li> <li class="card10"> <a href="/app/105249.htm" target="_self" class="figure2"> <div class="figure-box"> <img src="/images/lazy.gif" data-src="https://img.111cn.net/uploads/20250218/logo_67b3de78ac7591.png" alt="万乘之国qq版本 安卓版v1.0.5" /> </div> <div class="figure-cont"> <p class="figure-head">万乘之国qq版本 安卓版v1.0.5</p> <div class="figure-desc"> <span>模拟经营</span> <span>万乘之国qq版本 安卓版v1.0.5</span> </div> <div class="figure-desc"> <p>万乘之国qq版本是一款极具魅力的策略游戏,玩家们可以通过不同</p> </div> </div> <span class="figure-btn">下载</span> </a> </li> <li class="card10"> <a href="/app/105239.htm" target="_self" class="figure2"> <div class="figure-box"> <img src="/images/lazy.gif" data-src="https://img.111cn.net/uploads/20250218/logo_67b3de5fdfc271.png" alt="动物餐厅国际服无限内购版 v12.9" /> </div> <div class="figure-cont"> <p class="figure-head">动物餐厅国际服无限内购版 v12.9</p> <div class="figure-desc"> <span>模拟经营</span> <span>动物餐厅国际服无限内购版 v12.9</span> </div> <div class="figure-desc"> <p>动物餐厅国际服免广告版是游戏的破解版本,在该版本中为玩家去除</p> </div> </div> <span class="figure-btn">下载</span> </a> </li> <li class="card10"> <a href="/app/105235.htm" target="_self" class="figure2"> <div class="figure-box"> <img src="/images/lazy.gif" data-src="https://img.111cn.net/uploads/20250218/logo_67b3de58d34651.jpg" alt="欧洲卡车司机 安卓版v3.2" /> </div> <div class="figure-cont"> <p class="figure-head">欧洲卡车司机 安卓版v3.2</p> <div class="figure-desc"> <span>模拟经营</span> <span>欧洲卡车司机 安卓版v3.2</span> </div> <div class="figure-desc"> <p>欧洲卡车司机是款模拟经营游戏,这款游戏的画面还是蛮逼真的,给</p> </div> </div> <span class="figure-btn">下载</span> </a> </li> <li class="card10"> <a href="/app/105230.htm" target="_self" class="figure2"> <div class="figure-box"> <img src="/images/lazy.gif" data-src="https://img.111cn.net/uploads/20250218/logo_67b3de478981f1.png" alt="疯狂大酒店 (Grand Hotel Mania)最新中文版v4.10.0.20" /> </div> <div class="figure-cont"> <p class="figure-head">疯狂大酒店 (Grand Hotel Mania)最新中文版v4.10.0.20</p> <div class="figure-desc"> <span>模拟经营</span> <span>疯狂大酒店 (Grand Hotel Mania)最新中文版v4.10.0.20</span> </div> <div class="figure-desc"> <p>疯狂大酒店(Grand Hotel Mania)是一款好玩的</p> </div> </div> <span class="figure-btn">下载</span> </a> </li> </ul> </section> <footer class="foot"> <a href="/" class="logo-icon"> <img src="/mobile/images/logo2.png" alt="一聚教程网"> </a> <p>Copyright © 2010-2022</p> <p>111cn.net All Rights Reserved</p> </footer> <script> var advData = {"img_fixed_pc_adv":"https:\/\/img.111cn.net\/uploads\/20240509\/663c2e9729f58.jpg","img_fixed_mob_adv":"https:\/\/img.111cn.net\/uploads\/20240509\/663c2e8793225.jpg","url_adv":"http:\/\/shop.hushen.cn\/shop\/c\/baojianpin.html","str_adv":"\u864e\u795e\u5546\u57ce\uff1a\u5173\u7231\u7537\u6027\uff0c\u66f4\u61c2\u7537\u4eba\u3002\u89e3\u51b3\u5927\u4f17\u7684\u7537\u8a00\u4e4b\u9690","img_popup_adv":"https:\/\/img.111cn.net\/uploads\/20240509\/663c2e748238d.png","pc_show_img":"2","pc_show_popup":"2","pc_show_video":"2","mob_show_img":"2","mob_show_popup":"2","mob_show_video":"2","close_adv":"https:\/\/img.111cn.net\/uploads\/20240508\/663b20650801e.png","video_adv":"\/pc\/images\/pc-adv.mp4"}; </script> <script src="/jspc/funcmob.js" type="text/javascript"></script> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-DSRRGRV1TL"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-DSRRGRV1TL'); </script> <div class="back-top" style="display: block;"> <span class="icon-box"> <svg class="icon" viewBox="0 0 1024 1024"> <path d="M213.333333 640h170.666667v256h256v-256h170.666667l-298.666667-341.333333zM170.666667 128h682.666666v85.333333H170.666667z" fill="#0374f3"></path> </svg> </span> </div> </div> <script src="/js/stat.js"></script> </body> </html>